Exemple #1
0
 /**
  * Set an attribite; except when the $value/$name is a special type
  *
  * @param string $name
  * @param mixed $value
  */
 public function __set($name, $value)
 {
     if ($this->_notSpecialType($value, $name)) {
         if (is_array($value)) {
             $this->_attribs[$name] = \MUtil_Html::createAttribute($name, $value);
         } else {
             $this->_attribs[$name] = $value;
         }
     }
 }