public function isForBothZones()
    {
        if (!method_exists($this, 'getZone')) {
            throw new ENabuCoreException(ENabuCoreException::ERROR_FEATURE_NOT_IMPLEMENTED);
        }

        return $this->getZone() === CNabuSite::ZONE_BOTH;
    }
public function isForBothZones()
    {
        if (!method_exists($this, 'getZone')) {
            throw new ENabuCoreException(ENabuCoreException::ERROR_FEATURE_NOT_IMPLEMENTED);
        }

        return $this->getZone() === CNabuSite::ZONE_BOTH;
    }
public function isForBothZones ( ) { if ( ! method_exists ( $ this , 'getZone' ) ) { throw new ENabuCoreException ( ENabuCoreException :: ERROR_FEATURE_NOT_IMPLEMENTED ) ; } return $ this -> getZone ( ) === CNabuSite :: ZONE_BOTH ; }
Check if the Role is applied to both zones.
@return bool Return true if the Role applies to both zones.
Check if the Role is applied to both zones .