Example #1
0
 /**
  * @param string        $name
  * @param CM_Model_User $user
  * @return bool
  */
 public static function getEnabledByName($name, CM_Model_User $user)
 {
     $splitfeatureList = new CM_Paging_Splitfeature_All();
     $splitfeature = $splitfeatureList->find($name);
     if (!$splitfeature) {
         return false;
     }
     return $splitfeature->getEnabled($user);
 }