XOOPS  2.6.0
Xmf\Template\Buttonbox Class Reference
Inheritance diagram for Xmf\Template\Buttonbox:
Inheritance graph

Public Member Functions

 addItem ($title, $link, $icon, $extra= '')
 
 setDelimiter ($delimiter)
 
 setImagePath ($path)
 
 setPosition ($position)
 
- Public Member Functions inherited from Xmf\Template\AbstractTemplate
 __construct ()
 
 display ()
 
 fetch ()
 

Protected Member Functions

 init ()
 
 render ()
 
- Protected Member Functions inherited from Xmf\Template\AbstractTemplate
 disableLogger ()
 
 init ()
 
 render ()
 
 setTemplate ($template= '')
 

Private Attributes

 $_delimiter = " "
 
 $_items = array()
 
 $_path = ''
 
 $_position = "right"
 

Additional Inherited Members

- Protected Attributes inherited from Xmf\Template\AbstractTemplate
 $tpl
 

Detailed Description

Definition at line 27 of file Buttonbox.php.

Member Function Documentation

Xmf\Template\Buttonbox::addItem (   $title,
  $link,
  $icon,
  $extra = '' 
)

addItem to button box

Parameters
string$titletitle string for button
string$linklink for button
string$iconicon for button
string$extraextra
Returns
void

Definition at line 105 of file Buttonbox.php.

References $link.

Xmf\Template\Buttonbox::init ( )
protected

init

Returns
void

Definition at line 54 of file Buttonbox.php.

Xmf\Template\Buttonbox::render ( )
protected

render the buttonbox

Returns
void

Definition at line 119 of file Buttonbox.php.

References Xmf\Template\Buttonbox\$_delimiter, Xmf\Template\Buttonbox\$_path, and $path.

Xmf\Template\Buttonbox::setDelimiter (   $delimiter)

setDelimiter

Parameters
string$delimiterdelimiter put between buttons
Returns
void

Definition at line 90 of file Buttonbox.php.

Xmf\Template\Buttonbox::setImagePath (   $path)

set path - path to image files. Do not set if icons are specified with absoulte URLs

Parameters
string$positionleft, right, center
Returns
void

Definition at line 78 of file Buttonbox.php.

References $path.

Xmf\Template\Buttonbox::setPosition (   $position)

set position - alignment position

Parameters
string$positionleft, right, center
Returns
void

Definition at line 65 of file Buttonbox.php.

Member Data Documentation

Xmf\Template\Buttonbox::$_delimiter = " "
private

Definition at line 37 of file Buttonbox.php.

Referenced by Xmf\Template\Buttonbox\render().

Xmf\Template\Buttonbox::$_items = array()
private

Definition at line 32 of file Buttonbox.php.

Xmf\Template\Buttonbox::$_path = ''
private

Definition at line 47 of file Buttonbox.php.

Referenced by Xmf\Template\Buttonbox\render().

Xmf\Template\Buttonbox::$_position = "right"
private

Definition at line 42 of file Buttonbox.php.


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