public Phalcon\Forms\ElementInterface setDefault (mixed $value) Sets a default value in case the form does not use an entity or there is no value available for the element in _POST
public prepareAttributes ([array $attributes], [mixed $useChecked]) Returns an array of prepared attributes for Phalcon\Tag helpers according to the element parameters
public getValue () Returns the element value
public hasMessages () Checks whether there are messages attached to the element
public getUserOptions () Returns the options for the element
public getValidators () Returns the validators registered for the element
public label ([array $attributes]) Generate the HTML to label the element
public getMessages () Returns the messages that belongs to the element The element needs to be attached to a form
public getName () Returns the element name
public mixed getUserOption (string $option, [mixed $defaultValue]) Returns the value of an option if present
Page 252 of 382