Public Member Functions | |
__construct ($caption, $iconPath, $textPos=self::TEXT_SIDE) | |
Creates a new icon button. |
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
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 |