本文整理匯總了PHP中category::backContentOf方法的典型用法代碼示例。如果您正苦於以下問題:PHP category::backContentOf方法的具體用法?PHP category::backContentOf怎麽用?PHP category::backContentOf使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類category
的用法示例。
在下文中一共展示了category::backContentOf方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: onEBoardSelected
function onEBoardSelected($info)
{
$this->cureBUID = $info['UID'];
$cat = new category("");
$content = $cat->backContentOf($this->cureBUID);
$ar = array();
foreach ($content as $c) {
$lable = $cat->backLable($c['bizUID']);
$ar[] = array("name" => $lable, "UID" => $c['bizUID']);
}
$this->tabbar->booklist($ar);
$this->_bookframe("frm");
}
示例2: reload
function reload()
{
$cat = new category("temp");
$content = $cat->backContentOf($this->curUID);
$this->posts = array();
$id = 0;
foreach ($content as $c) {
if ($c['bizname'] == 'epost') {
$this->posts[] = new fullepostviewer($this->_fullname . $id++);
end($this->posts)->bookUID($c['bizUID']);
}
}
}