本文整理匯總了PHP中ListPage::RunnerPage方法的典型用法代碼示例。如果您正苦於以下問題:PHP ListPage::RunnerPage方法的具體用法?PHP ListPage::RunnerPage怎麽用?PHP ListPage::RunnerPage使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ListPage
的用法示例。
在下文中一共展示了ListPage::RunnerPage方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: RightsPage
/**
* Contructor
*
* @param array $params
* @return RightsPage
*/
function RightsPage(&$params)
{
$this->cbxNames = array('add' => array('mask' => 'A', 'rightName' => 'add'), 'edt' => array('mask' => 'E', 'rightName' => 'edit'), 'del' => array('mask' => 'D', 'rightName' => 'delete'), 'lst' => array('mask' => 'S', 'rightName' => 'list'), 'exp' => array('mask' => 'P', 'rightName' => 'export'), 'imp' => array('mask' => 'I', 'rightName' => 'import'), 'adm' => array('mask' => 'M'));
// copy properties to object
//RunnerApply($this, $params);
parent::RunnerPage($params);
//fill session variables
$this->setSessionVariables();
// Set language params, if have more than one language
$this->setLangParams();
// get permissions
$this->permis[$this->tName] = $this->getPermissions();
$this->is508 = isEnableSection508();
$this->DPOrderTables($this->nonAdminTablesArr);
$this->fillGroupsArr();
}
示例2: RightsPage
/**
* Contructor
*
* @param array $params
* @return RightsPage
*/
function RightsPage(&$params)
{
// copy properties to object
parent::RunnerPage($params);
$this->permissionNames["A"] = true;
$this->permissionNames["D"] = true;
$this->permissionNames["E"] = true;
$this->permissionNames["S"] = true;
$this->permissionNames["P"] = true;
$this->permissionNames["I"] = true;
$this->permissionNames["M"] = true;
$this->cbxNames = array('add' => array('mask' => 'A', 'rightName' => 'add'), 'edt' => array('mask' => 'E', 'rightName' => 'edit'), 'del' => array('mask' => 'D', 'rightName' => 'delete'), 'lst' => array('mask' => 'S', 'rightName' => 'list'), 'exp' => array('mask' => 'P', 'rightName' => 'export'), 'imp' => array('mask' => 'I', 'rightName' => 'import'), 'adm' => array('mask' => 'M'));
// Set language params, if have more than one language
$this->setLangParams();
$this->sortTables();
$this->fillGroupsArr();
}