本文整理匯總了PHP中nodeFrm類的典型用法代碼示例。如果您正苦於以下問題:PHP nodeFrm類的具體用法?PHP nodeFrm怎麽用?PHP nodeFrm使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了nodeFrm類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: show
/**
* 獲取相冊分類
*/
public function show()
{
require_once ROOT_PATH . 'frm/node_frm.php';
$node = new nodeFrm();
$node->setXmlNode('nodes', 'node');
$node->setNodeTable('category');
$node->setNodeID(intval($this->input['fid']));
$node->addExcludeNodeId($this->input['_exclude']);
$data = $this->filter_data();
$condition = $this->api->get_conditions($data);
$node->getNodeChilds($condition, false);
$node->output();
}
示例2: show
/**
* 獲取相冊分類
*/
public function show()
{
if ($this->user['group_type'] > MAX_ADMIN_TYPE) {
//權限驗證
$this->verify_content_prms(array('_action' => 'show'));
}
require_once ROOT_PATH . 'frm/node_frm.php';
$node = new nodeFrm();
$node->setXmlNode('nodes', 'node');
$node->setNodeTable('category');
$node->setNodeID(intval($this->input['fid']));
$node->addExcludeNodeId($this->input['_exclude']);
$data = $this->filter_data();
$condition = $this->api->get_conditions($data);
$node->getNodeChilds($condition);
$node->output();
}
示例3: __destruct
public function __destruct()
{
parent::__destruct();
}
示例4: count
public function count()
{
parent::count($this->get_condition());
}