PHP Class AdamWathan\Form\Elements\Label

Inheritance: extends Element
Show file Open project: adamwathan/form Class Usage Examples

Protected Properties

Property Type Description
$element
$label
$labelBefore

Public Methods

Method Description
__construct ( $label )
after ( Element $element )
before ( Element $element )
forId ( $name )
getControl ( )
render ( )

Protected Methods

Method Description
renderElement ( )

Method Details

__construct() public method

public __construct ( $label )

after() public method

public after ( Element $element )
$element Element

before() public method

public before ( Element $element )
$element Element

forId() public method

public forId ( $name )

getControl() public method

public getControl ( )

render() public method

public render ( )

renderElement() protected method

protected renderElement ( )

Property Details

$element protected property

protected $element

$label protected property

protected $label

$labelBefore protected property

protected $labelBefore