JHTML
Description
Utility class for all HTML drawing classes
Located in /joomla/html/html.php (line 23)
JHTML (Subpackage HTML)
Method Summary
void
keepAlive
()
void
_implode_assoc
([ $inner_glue = "="], [ $outer_glue = "\n"], [ $array = null], [ $keepOuterKey = false])
Methods
Date (line 124)
Returns formated date according to current local and adds time offset
formated
Date
(string $date, [string $format = DATE_FORMAT_LC], [ $offset = NULL])
- string $date: date in an US English date format
- string $format: format optional format for strftime
- $offset
emailCloaking (line 162)
simple Javascript Cloaking
email cloacking by default replaces an email with a mailto link with email cloacked
void
emailCloaking
( $mail, [ $mailto = 1], [ $text = ''], [ $email = 1])
- $mailto
- $text
idBox (line 148)
string
idBox
(int $rowNum, int $recId, [boolean $checkedOut = false], [string $name = 'cid'])
- int $rowNum: The row index
- int $recId: The record id
- boolean $checkedOut
- string $name: The name of the form element
Iframe (line 102)
Write a <iframe></iframe> element
void
Iframe
(string $url, string $name, [array $attribs = null], integer $ssl)
- string $url: The relative URL to use for the src attribute
- string $name: The target attribute to use
- array $attribs: An associative array of attributes to add
- integer $ssl: Set the SSL functionality
Image (line 56)
Write a <img></amg> element
void
Image
(string $url, string $alt, [array $attribs = null])
- string $url: The relative URL to use for the src attribute
- string $alt: The target attribute to use
- array $attribs: An associative array of attributes to add
keepAlive (line 226)
Keep session alive, for example, while editing or creating an article.
void
keepAlive
()
Link (line 36)
Write a <a></a> element
void
Link
(string $url, string $text, [array $attribs = null], integer $ssl)
- string $url: The relative URL to use for the href attribute
- string $text: The target attribute to use
- array $attribs: An associative array of attributes to add
- integer $ssl: Set the SSL functionality
Script (line 79)
Write a <script></script> element
void
Script
(string $url, [string $attribs = null], array 2)
- array 2: An associative array of attributes to add
- string $url: The relative URL to use for the src attribute
- string $attribs: The target attribute to use
_implode_assoc (line 255)
void
_implode_assoc
([ $inner_glue = "="], [ $outer_glue = "\n"], [ $array = null], [ $keepOuterKey = false])
- $inner_glue
- $outer_glue
- $array
- $keepOuterKey
Documentation generated on Mon, 05 Mar 2007 21:06:35 +0000 by phpDocumentor 1.3.1