本文整理汇总了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':