Public Member Functions | Static Public Attributes

FormControlDropbutton Class Reference

Inheritance diagram for FormControlDropbutton:
Collaboration diagram for FormControlDropbutton:

List of all members.

Public Member Functions

 _extend ()
 pre_out ()
 do_success ($form)
 get_visualizer ()

Static Public Attributes

static $outpre = false

Detailed Description

A submit control based on FormControl for output via FormUI

Definition at line 8 of file formcontroldropbutton.php.


Member Function Documentation

FormControlDropbutton::_extend (  ) 

This function is called after __construct(). It does nothing, but its descendants might do something.

Reimplemented from FormControl.

Definition at line 12 of file formcontroldropbutton.php.

FormControlDropbutton::do_success ( form  ) 

This control only executes its on_success callbacks when it was clicked

Returns:
bool|string A string to replace the rendering of the form with, or false

Reimplemented from FormControl.

Definition at line 62 of file formcontroldropbutton.php.

FormControlDropbutton::get_visualizer (  ) 

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

Reimplemented from FormControl.

Definition at line 112 of file formcontroldropbutton.php.

FormControlDropbutton::pre_out (  ) 

Return the HTML/script required for this control. Do it only once.

Returns:
string The HTML/javascript required for this control.

Reimplemented from FormControl.

Definition at line 21 of file formcontroldropbutton.php.


The documentation for this class was generated from the following file: