Ejemplo n.º 1
0
 /**
  * Retrieve Pure Role List
  * 
  * @return string
  * 
  * @access protected
  */
 protected function retrievePureRoleList()
 {
     $model = new aam_View_Role();
     return $model->retrievePureList();
 }
Ejemplo n.º 2
0
 /**
  * Retrieve Pure Role List
  *
  * @return string
  *
  * @access public
  */
 public function plainRoleList()
 {
     if (aam_View_Collection::hasSubject(aam_Control_Subject_Role::UID)) {
         $role = new aam_View_Role();
         $response = $role->retrievePureList();
     } else {
         $response = self::DEFAULT_AJAX_RESPONSE;
     }
     return $response;
 }