$factory->fromArray()
$factory->fromArray() – fromArray - builds a set of elements from a key=>value array (eg. DO->toArray()) the second parameter is an optional HTML_Element array to merge it into.
Synopsis
require_once 'Flexy/Factory.php';
array HTML_Template_Flexy_Factory::fromArray (
array $ar
, optional $ret = array()
)
Описание
This package is not documented yet.
Parameter
-
$ar
key(tag name) => value -
$ret
array key(tag name) => HTML_Element
Return value
return Array of HTML_Template_Flexy_Elements
Throws
throws no exceptions thrown
Замечание
Not documented yet.