Пример #1
0
 public function fromArray($array)
 {
     $array = parent::fromArray($array);
     foreach ($array as $key => $value) {
         $this->setProperty($key, $value);
     }
     return $array;
 }
Пример #2
0
 /**
  * /* (non-PHPdoc)
  * @see BaseHtml::addProperties()
  */
 public function fromArray($array)
 {
     return parent::fromArray($array);
 }