Public Member Functions | |
| __construct ($caption, $iconPath, $textPos=self::TEXT_SIDE) | |
| Creates a new icon button. | |
Static Public Member Functions | |
| static | createFromXML ($attrs, $contents, $node) |
Protected Member Functions | |
| renderComponent ($class, $style, $events, $id) | |
string: URL for icon image array: CSS class(es) for icon part of button int: one of TKIconButton::TEXT_NONE, TKIconButton::TEXT_SIDE or TKIconButton::TEXT_UNDER
Definition at line 13 of file TKIconButton.php5.
| TKIconButton::__construct | ( | $ | caption, | |
| $ | iconPath, | |||
| $ | textPos = self::TEXT_SIDE | |||
| ) |
Creates a new icon button.
| $caption | [string]: text to display on button | |
| $iconPath | [string]: URL to icon image | |
| $textPos | [int]: where text appears; one of TKIconButton::TEXT_NONE, TKIconButton::TEXT_SIDE or TKIconButton::TEXT_UNDER |
Definition at line 25 of file TKIconButton.php5.
References TKComponent::addProperty().
| static TKIconButton::createFromXML | ( | $ | attrs, | |
| $ | contents, | |||
| $ | node | |||
| ) | [static] |
For internal use only.
Reimplemented from TKAbstractButton.
Definition at line 66 of file TKIconButton.php5.
| TKIconButton::renderComponent | ( | $ | class, | |
| $ | style, | |||
| $ | events, | |||
| $ | id | |||
| ) | [protected] |
For internal use only.
Reimplemented from TKComponent.
Definition at line 37 of file TKIconButton.php5.
1.5.6