getBehaviors() публичный Метод

public getBehaviors ( )
Пример #1
0
 /**
  *
  * Enter description here ...
  * @param DBRole $dbRole
  * @return Scalr_Role_Behavior
  */
 public static function getListForRole(DBRole $role)
 {
     $list = array();
     foreach ($role->getBehaviors() as $behavior) {
         $list[] = self::loadByName($behavior);
     }
     return $list;
 }