TKIconButton Class Reference
[Components]

Button with icon. More...

Inheritance diagram for TKIconButton:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct ($caption, $iconPath, $textPos=self::TEXT_SIDE)
 Creates a new icon button.


Detailed Description

Button with icon.

Properties:
  • icon_path string: URL for icon image
  • icon_class array: CSS class(es) for icon part of button
  • text_pos int: one of TKIconButton::TEXT_NONE, TKIconButton::TEXT_SIDE or TKIconButton::TEXT_UNDER


Constructor & Destructor Documentation

TKIconButton::__construct ( caption,
iconPath,
textPos = self::TEXT_SIDE 
)

Creates a new icon button.

Parameters:
$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


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

Generated on Wed Nov 24 02:04:21 2010 for Common by  doxygen 1.5.6