/** * Get the URL path associated with this role's operations. * @return String the path */ function getPath() { switch ($this->getId()) { case ROLE_ID_SUBMITTER: return ROLE_PATH_SUBMITTER; default: return parent::getPath(); } }
/** * Get the URL path associated with the specified role's operations. * @return string */ function getPath() { switch ($this->getId()) { case ROLE_ID_DIRECTOR: return ROLE_PATH_DIRECTOR; case ROLE_ID_TRACK_DIRECTOR: return ROLE_PATH_TRACK_DIRECTOR; default: return parent::getPath(); } }
/** * Get the URL path associated with the specified role's operations. * @return string */ function getPath() { switch ($this->getId()) { case ROLE_ID_EDITOR: return 'editor'; case ROLE_ID_GUEST_EDITOR: return 'guestEditor'; case ROLE_ID_SECTION_EDITOR: return 'sectionEditor'; case ROLE_ID_SUBSCRIPTION_MANAGER: return 'subscriptionManager'; default: return parent::getPath(); } }