src/Model/Site.php
public function hasFeature($feature){
		if(!$this->DevID) return false;

		$sites = Config::inst()->get('Multisites', 'site_features');
		
		if(!isset($sites[$this->DevID])) return false;

		$features = ArrayLib::valuekey($sites[$this->DevID]);

		if(!isset($features[$feature])) return false;

		return true;
	}
public function hasFeature($feature){
		if(!$this->DevID) return false;

		$sites = Config::inst()->get('Multisites', 'site_features');
		
		if(!isset($sites[$this->DevID])) return false;

		$features = ArrayLib::valuekey($sites[$this->DevID]);

		if(!isset($features[$feature])) return false;

		return true;
	}
public function hasFeature ( $ feature ) { if ( ! $ this -> DevID ) return false ; $ sites = Config :: inst ( ) -> get ( 'Multisites' , 'site_features' ) ; if ( ! isset ( $ sites [ $ this -> DevID ] ) ) return false ; $ features = ArrayLib :: valuekey ( $ sites [ $ this -> DevID ] ) ; if ( ! isset ( $ features [ $ feature ] ) ) return false ; return true ; }
Checks to see if this site has a feature as defined in Muiltisites.site_features config
@return Boolean
Checks to see if this site has a feature as defined in Muiltisites . site_features config