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

Class: htmlImage

Source Location: /lib/html.inc

Class Overview

htmlElement
   |
   --htmlImage

Prints the HTML code for an image.


Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: htmlElement

htmlElement::generateHTML()
Prints the HTML code for this element.
htmlElement::getAlignmentString()
Returns the HTML attributes for the alignment.
htmlElement::getColspanString()
Returns the HTML attribute for the colspan.
htmlElement::getRowspanString()
Returns the HTML attribute for the rowspan.

Class Details

[line 1351]
Prints the HTML code for an image.



[ Top ]


Class Methods


constructor __construct [line 1370]

htmlImage __construct( String $path, [int $width = null], [int $height = null], [String $alt = ' '])

Constructor.



Parameters:

String   $path   image location
int   $width   image width (optional, default original size)
int   $height   image height (optional, default original size)
String   $alt   alt text (optional)

[ Top ]

method generateHTML [line 1388]

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 Thu, 28 Oct 2010 21:00:17 +0200 by phpDocumentor 1.4.1