PHP Class Twitter_Bootstrap_Form, zend-form-decorators-bootstrap

Author: Christian Soronellas ([email protected])
Inheritance: extends Zend_Form
Show file Open project: emagister/zend-form-decorators-bootstrap Class Usage Examples

Protected Properties

Property Type Description
$_prefixesInitialized

Public Methods

Method Description
__construct ( null $options = null ) Override the base form constructor.
render ( Zend_View_Interface $view = null ) : string Render form
setDisposition ( string $disposition )

Protected Methods

Method Description
_addClassNames ( string $classNames ) Adds a class name
_getClassNames ( Zend_Form_Element $element = null ) : array Extract the class names from a Zend_Form_Element if given or from the base form
_initializePrefixes ( )
_removeClassNames ( string $classNames ) Removes a class name

Method Details

__construct() public method

Override the base form constructor.
public __construct ( null $options = null )
$options null

_addClassNames() protected method

Adds a class name
protected _addClassNames ( string $classNames )
$classNames string

_getClassNames() protected method

Extract the class names from a Zend_Form_Element if given or from the base form
protected _getClassNames ( Zend_Form_Element $element = null ) : array
$element Zend_Form_Element
return array

_initializePrefixes() protected method

protected _initializePrefixes ( )

_removeClassNames() protected method

Removes a class name
protected _removeClassNames ( string $classNames )
$classNames string

render() public method

Render form
public render ( Zend_View_Interface $view = null ) : string
$view Zend_View_Interface
return string

setDisposition() public method

public setDisposition ( string $disposition )
$disposition string

Property Details

$_prefixesInitialized protected property

protected $_prefixesInitialized