Solar_View_Helper_Form::__call()
public
string
Solar_View_Helper_Form::__call
( string $type
, array $args
)
Magic __call() for addElement() using element helpers.
Parameters
(string)
$type
: The form element type (text, radio, etc).(array)
$args
: Arguments passed to the method call; only the first argument is used, the $info array.
Returns
(string) The form element helper output.
Description
Magic __call() for addElement() using element helpers.
Allows $this->elementName() internally, and $this->form()->elementType() externally.