/** * Get role id * * @return int */ public function getRoleId() { return $this->role ? $this->role->getId() : 0; }
/** * Get role rules * * @return array */ public function getRoleRules() { return $this->role ? $this->role->getRules() : array(); }
public function getRules() { $this->__load(); return parent::getRules(); }