示例#1
0
文件: grant.php 项目: gudwin/extasy
 public function getAdminFormValue()
 {
     $control = new CACLGrant();
     $control->name = $this->szFieldName;
     $control->entity = $this->getEntity();
     $control->customHtml = $this->customHtml;
     return $control->generate();
 }
示例#2
0
 protected function getGrantControl()
 {
     $control = new \CACLGrant();
     $control->name = 'permissions';
     $control->entity = '';
     return $control->generate();
 }