$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() )

Description

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

Note

Not documented yet.

freeze - freeze's an element. - just copies the value to the override. (Previous) fromArrayPrefixed - takes a multi dimensional array, and builds the 'xxx[sss][xx]' => value (Next)
Last updated: Tue, 30 Sep 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.