本文整理匯總了PHP中Authority::getAuthorityList方法的典型用法代碼示例。如果您正苦於以下問題:PHP Authority::getAuthorityList方法的具體用法?PHP Authority::getAuthorityList怎麽用?PHP Authority::getAuthorityList使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Authority
的用法示例。
在下文中一共展示了Authority::getAuthorityList方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: SkillGroup
case 'skillgroup':
//machine list
$sg = new SkillGroup();
$sg->createSkillGroupList();
if (isset($_GET['class'])) {
$class = 'class="required"';
} else {
$class = '';
}
$sel = new selectlist('Skill_Group_ID', $sg->getSkillGroupList(), 'Select Skill Group', 'Skill_Group_ID', 'Group_Desc', $class, '', '1');
break;
case 'auth':
//machine list
$au = new Authority();
$au->createAuthorityList();
$sel = new selectlist('Authority_ID', $au->getAuthorityList(), 'Select Authority Group', 'Authority_ID', 'Authority', '', '', '1');
break;
case 'approval':
//machine list
$app = new Approval();
$app->setValue('skillgroup', $_GET['sgid']);
$app->createApprovarList();
$sel = new selectlist('Approver_ID', $app->getApprovarList(), 'Select Approver', 'Operator_ID', 'Operator_Name', '', '', '1');
break;
case 'idle':
//machine list
$act = new Activitylog();
$act->createReasonList();
$sel = new selectlist('Idle_ID', $act->getReasonList(), 'Select Idle Reason', 'Idle_ID', 'Idle_Reason', 'class="required"', '', '1');
break;
case 'nclog':