本文整理汇总了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());
}