PHP Class TwbBundle\View\Helper\TwbBundleDropDown

Inheritance: extends Zend\Form\View\Helper\AbstractHelper
Afficher le fichier Open project: neilime/zf2-twb-bundle

Méthodes publiques

Méthode Description
__invoke ( array $aDropdownOptions = null ) : TwbBundleDropDown | string
render ( array $aDropdownOptions ) : string Render dropdown markup
renderListItems ( array $aDropdownOptions ) : string Render dropdown list items markup
renderToggle ( array $aDropdownOptions ) : string Render dropdown toggle markup

Méthodes protégées

Méthode Description
renderItem ( array $aItemOptions ) : string Render dropdown list item markup

Method Details

__invoke() public méthode

public __invoke ( array $aDropdownOptions = null ) : TwbBundleDropDown | string
$aDropdownOptions array
Résultat TwbBundleDropDown | string

render() public méthode

Render dropdown markup
public render ( array $aDropdownOptions ) : string
$aDropdownOptions array
Résultat string

renderItem() protected méthode

Render dropdown list item markup
protected renderItem ( array $aItemOptions ) : string
$aItemOptions array
Résultat string

renderListItems() public méthode

Render dropdown list items markup
public renderListItems ( array $aDropdownOptions ) : string
$aDropdownOptions array
Résultat string

renderToggle() public méthode

Render dropdown toggle markup
public renderToggle ( array $aDropdownOptions ) : string
$aDropdownOptions array
Résultat string