$factory->setErrors()

$factory->setErrors() – setErrors - sets the suffix of an element to a value..

Synopsis

require_once 'Flexy/Factory.php';

array HTML_Template_Flexy_Factory::setErrors ( array $ret , array $set , string $format = '<span class="error">%s</span>' )

Description

HTML_Element_Factory::setErrors($elements,array('name','not long enough'));

Parameter

  • $prefix

  • $ar

  • $ret

Return value

return Array of HTML_Template_Flexy_Element's

Throws

throws no exceptions thrown

Note

This function can not be called statically.

fromArrayPrefixed - takes a multi dimensional array, and builds the 'xxx[sss][xx]' => value (Previous) setRequired - sets the prefix of an element to a value.. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.