예제 #1
0
 public function createAttribute($attributeName, array $args = array())
 {
     if ($function = $this->_attributeFunctionList->get($attributeName)) {
         return call_user_func($function, $args);
     } else {
         return new \MUtil_Html_ArrayAttribute($attributeName, $args);
     }
 }