Exemplo n.º 1
0
 /**
  * Set jQuery UI CSS Framework.
  * Path is {root}/css/ui/{interface}
  * This is a simple wrapper to {@link MParams::setInterface($value)}.
  * @param string $value
  */
 public static function setInterface($value)
 {
     if ((is_string($value) || is_int($value)) && array_key_exists($value, MParams::getAvailableInterfaces()) && MPath::interfaceExists($value)) {
         MParams::setInterface($value);
     } else {
         Yii::log(W3::t('system', 'Incorrect parameter in method call: {method}.', array('{method}' => __METHOD__ . '(' . var_export($value, true) . ')')), 'notice', 'w3');
     }
 }