PHP Class Habari\FormControlDropbutton

Inheritance: extends FormContainer
Show file Open project: habari/system

Public Properties

Property Type Description
$outpre

Public Methods

Method Description
_extend ( )
do_success ( $form ) : boolean | string This control only executes its on_success callbacks when it was clicked
get ( Theme $theme )
get_visualizer ( ) Returns the HTML id of the element that the control exposes as a target, for example, for labels
pre_out ( ) : string Return the HTML/script required for this control. Do it only once.

Method Details

_extend() public method

public _extend ( )

do_success() public method

This control only executes its on_success callbacks when it was clicked
public do_success ( $form ) : boolean | string
return boolean | string A string to replace the rendering of the form with, or false

get() public method

public get ( Theme $theme )
$theme Theme

get_visualizer() public method

Returns the HTML id of the element that the control exposes as a target, for example, for labels
public get_visualizer ( )

pre_out() public method

Return the HTML/script required for this control. Do it only once.
public pre_out ( ) : string
return string The HTML/javascript required for this control.

Property Details

$outpre static public property

static public $outpre