PHP Class AdamWathan\Form\Elements\Element

Mostrar archivo Open project: adamwathan/form

Protected Properties

Property Type Description
$attributes

Public Methods

Method Description
__call ( $method, $params )
__toString ( )
addClass ( $class )
attribute ( $attribute, $value )
clear ( $attribute )
data ( $attribute, $value = null )
getAttribute ( $attribute )
id ( $id )
removeClass ( $class )
render ( )

Protected Methods

Method Description
removeAttribute ( $attribute )
renderAttributes ( )
setAttribute ( $attribute, $value = null )
setId ( $id )
splitKeysAndValues ( $array )

Method Details

__call() public method

public __call ( $method, $params )

__toString() public method

public __toString ( )

addClass() public method

public addClass ( $class )

attribute() public method

public attribute ( $attribute, $value )

clear() public method

public clear ( $attribute )

data() public method

public data ( $attribute, $value = null )

getAttribute() public method

public getAttribute ( $attribute )

id() public method

public id ( $id )

removeAttribute() protected method

protected removeAttribute ( $attribute )

removeClass() public method

public removeClass ( $class )

render() abstract public method

abstract public render ( )

renderAttributes() protected method

protected renderAttributes ( )

setAttribute() protected method

protected setAttribute ( $attribute, $value = null )

setId() protected method

protected setId ( $id )

splitKeysAndValues() protected method

protected splitKeysAndValues ( $array )

Property Details

$attributes protected_oe property

protected $attributes