Beispiel #1
0
 /**
  * Function to get all the profiles associated with the current role
  * @return <Array> Settings_Profiles_Record_Model instances
  */
 public function getProfiles()
 {
     if (!$this->profiles) {
         $this->profiles = Settings_Profiles_Record_Model::getAllByRole($this->getId());
     }
     return $this->profiles;
 }