Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class JHTML

Description

Utility class for all HTML drawing classes

  • since: 1.5

Located in /joomla/html/html.php (line 23)

Class JHTML   (Subpackage HTML)
Method Summary
Method formated Date (string $date, [string $format = DATE_FORMAT_LC], [ $offset = NULL])
Method void emailCloaking ( $mail, [ $mailto = 1], [ $text = ''], [ $email = 1])
Method string idBox (int $rowNum, int $recId, [boolean $checkedOut = false], [string $name = 'cid'])
Method void Iframe (string $url, string $name, [array $attribs = null], [integer $ssl = 0])
Method void Image (string $url, string $alt, [array $attribs = null])
Method void keepAlive ()
Method void Link (string $url, string $text, [array $attribs = null], [integer $ssl = 0])
Method void Script (string $url, [string $attribs = null], array 2)
Method void _encoding_converter ( $text)
Method 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

  • return: date
  • since: 1.5
  • see: strftime
  • access: public
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])
  • $mail
  • $mailto
  • $text
  • $email
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

  • since: 1.5
  • access: public
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

  • since: 1.5
  • access: public
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

  • since: 1.5
  • access: public
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

  • since: 1.5
  • access: public
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
_encoding_converter (line 243)
void _encoding_converter ( $text)
  • $text
_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