metaHTML
[ class tree: metaHTML ] [ index: metaHTML ] [ all elements ]

Class: htmlButton

Source Location: /lib/html.inc

Class Overview

htmlElement
   |
   --htmlButton

Simple button.


Variables

Methods


Child classes:

htmlAccountPageButton
Prints a button for the account pages.

Inherited Constants

Inherited Variables

Inherited Methods

Class: htmlElement

htmlElement::generateHTML()
Prints the HTML code for this element.

Class Details

[line 383]
Simple button.



[ Top ]


Class Variables

$isImageButton =

[line 390]

image button or text button



Tags:

access:  protected

Type:   mixed


[ Top ]

$name =

[line 386]

button name



Tags:

access:  protected

Type:   mixed


[ Top ]

$value =

[line 388]

button text or image



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 399]

htmlButton __construct( String $name, String $value, [String $isImageButton = false])

Constructor.



Overridden in child classes as:

htmlAccountPageButton::__construct()
Constructor

Parameters:

String   $name   button name
String   $value   button text or image (16x16px, relative to graphics folder)
String   $isImageButton   image or text button (default text)

[ Top ]

method generateHTML [line 416]

array generateHTML( string $module, array $input, array $values, boolean $restricted, &$tabindex, string $scope, integer $tabindex)

Prints the HTML code for this element.



Tags:

return:  List of input field names and their type (name => type)


Overrides htmlElement::generateHTML() (Prints the HTML code for this element.)

Parameters:

string   $module   Name of account module
array   $input   List of meta-HTML elements
array   $values   List of values which override the defaults in $input (name => value)
boolean   $restricted   If true then no buttons will be displayed
integer   $tabindex   Start value of tabulator index for input fields
string   $scope   Account type
   &$tabindex  

[ Top ]


Documentation generated on Fri, 25 Jun 2010 18:49:08 +0200 by phpDocumentor 1.4.1