html_a (line 28)
build an href with content and attributes.
BRtag
html_a
(
string $url,
string $content, [
string $class =
NULL], [
string $target =
NULL], [
string $title =
NULL])
-
string
$url:
- the url to go to.
-
string
$content:
- the visible link text.
-
string
$class:
- the css class to use.
-
string
$target:
- the target browser window/frame for the url.
-
string
$title:
- the title attribute
html_abbr (line 59)
build an <ABBR> tag with content.
This is to build an abbreviation. normally its just <abbr title="foo bar">foo</abbr>
ABBRtag
html_abbr
(
string $title,
mixed $content)
-
string
$title:
- the title attribute
-
mixed
$content:
- the content for the tag
html_acronym (line 76)
build an <ACRONYM> tag with content.
This is to build an acronym. normally its just <acronym title="foo bar">foo</abbr>
ACRONYMtag
html_acronym
(
string $title,
mixed $content)
-
string
$title:
- the title attribute
-
mixed
$content:
- the content for the tag
html_address (line 87)
build an <ADDRESS> tag with content.
html_applet (line 101)
build an <APPLET> tag with content.
html_area (line 125)
build an <AREA> tag with content.
AREAtag
html_area
(
string $href,
string $coords, [
string $shape =
"rect"], [
string $alt =
""], [
string $target =
""])
-
string
$href:
- the href for the area
-
string
$coords:
- the coords value circle x,y,radius poly x1,y1,...xn,yn left,top,right,bottom
-
string
$shape:
- the shape DEFAULT: rect circle, rect, poly, default
-
string
$alt:
- the alt text
-
string
$target:
- the target _blank, _parent, _self, _top
html_b (line 149)
build a bold
html_base (line 165)
build a <base> tag.
This tag MUST go in the <head>
BASEtag
html_base
(
string $href, [
string $target =
""])
-
string
$href:
- the href
-
string
$target:
- the target _blank, _parent, _self, _top
html_bdo (line 186)
build a <bdo> tag.
dir attribute is required.
BDOtag
html_bdo
(
string $dir,
mixed 1)
-
mixed
1:
- any number of text content params.
-
string
$dir:
- the dir attribute ltr, rtl
html_big (line 206)
build a <big> tag with content.
html_blockquote (line 219)
build a <blockquote> tag with content.
html_body (line 232)
build a <body> tag with content.
html_br (line 248)
builds n # of
tags.
mixed
html_br
([int $num = 1])
-
int
$num:
- the number of br tags you want
html_button (line 273)
build a <button> tag with content.
BUTTONtag
html_button
([
string $type =
"button"],
mixed 1)
-
mixed
1:
- any number of items as content.
-
string
$type:
- the button type button, reset, submit DEFAULT : button
html_caption (line 289)
build a <caption> tag with content.
CAPTIONtag
html_caption
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_center (line 304)
build a <center> tag with some content.
DEPRICATED
CENTERtag
html_center
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_cite (line 318)
build a <cite> tag with some content.
CITEtag
html_cite
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_code (line 332)
build a
CODEtag
html_code
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_col (line 346)
build a <col> tag
CODEtag
html_col
([
mixed $width =
''], [
mixed $align =
''], [
mixed $span =
''])
-
mixed
$width:
- n number of arguments as content for the tag.
html_colgroup (line 373)
build a <colgroup> tag.
NOTE: The colgroup element is an empty element that contains attributes only. To create columns, you must specify td elements within a tr element.
COLGROUPEtag
html_colgroup
(array $attributes)
-
array
$attributes:
- tag attributes.
html_comment (line 384)
render an html comment string
string
html_comment
(string $string)
-
string
$string:
- the string to comment.
html_dd (line 395)
build a <dd> tag with some content.
DDtag
html_dd
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_del (line 409)
build a <del> tag with some content.
DELtag
html_del
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_dfn (line 424)
build a <dfn> tag with some content.
DFNtag
html_dfn
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_dl (line 443)
build a <dl> tag with some content.
DLtag
html_dl
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_dt (line 457)
build a <dt> tag with some content.
DTtag
html_dt
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_em (line 471)
build a <em> tag with some content.
EMtag
html_em
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_fieldset (line 487)
build a <fieldset> tag with some content.
FIELDSETtag
html_fieldset
([
mixed $legend =
""],
mixed 1)
-
mixed
1:
- n number of arguments as content for the tag.
-
mixed
$legend:
- The legend text, or the LEGENDtag for the fieldset.
html_h1 (line 520)
build an H1 tag object with content.
H1tag
html_h1
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_h2 (line 536)
build an H2 tag object with content.
H2tag
html_h2
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_h3 (line 553)
build an H3 tag object with content.
H3tag
html_h3
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_h4 (line 569)
build an H4 tag object with content.
H4tag
html_h4
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_h5 (line 585)
build an H5 tag object with content.
H5tag
html_h5
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_h6 (line 602)
build an H6 tag object with content.
H6tag
html_h6
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_head (line 618)
build an <head> tag object with content.
HEADtag
html_head
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_hr (line 630)
build an <hr> tag object.
html_html (line 642)
build an <html> tag object.
HTMLtag
html_html
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_i (line 658)
build a
Itag
html_i
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_iframe (line 672)
build a <irame> tag with some content.
Itag
html_iframe
(
src $src, [
mixed $width =
""], [
mixed $height =
""], [
mixed $scrolling =
""])
-
src
$src:
- the url for the iframe
html_img (line 701)
Build an <img> tag.
If width and or height are not provided we do not set them in the tag.
IMGtag
html_img
(
string $image, [
int $width =
''], [
int $height =
''],
int $border, [
string $alt =
""], [
string $usemap =
NULL], [
mixed $title =
NULL])
-
string
$image:
- $image - image src
-
int
$width:
- $width - width of the image.
-
int
$height:
- $heigth - height of the image
-
int
$border:
- $border - border flag.
-
string
$alt:
- $alt - alt tag for the image
-
string
$usemap:
- $usemap - the image map name
html_img_href (line 744)
build an hlink for an image.
this automatically turns off indenting and newlines, so it formats well
Atag
html_img_href
(
string $url,
string $image, [
int $width =
''], [
int $height =
''],
int $border, [
string $alt =
""], [
string $usemap =
NULL], [
string $target =
NULL], [
string $title =
NULL])
-
string
$url:
- $url - href for the <a>
-
string
$image:
- $image - src for the <img>
-
int
$width:
- $width - width of the image
-
int
$height:
- $height - height of the image
-
int
$border:
- $border - for the <img>
-
string
$alt:
- $alt - for the <img ALT="">
-
string
$usemap:
- $usemap - the image map name
-
string
$target:
- $target - the <a target="blah">
-
string
$title:
- $title - the title attribute
html_input (line 766)
This builds an <input> object NOTE: This wrapper automatically calls htmlspecialchars() on the value attribute's data.
INPUTtag
html_input
(
string $type,
string $name, [
string $value =
''], [
array $attributes =
array()])
-
string
$type:
- the type attribute
-
string
$name:
- the name attribute
-
string
$value:
- the value attribute
-
array
$attributes:
- any other name=>value attributes for the tag
html_ins (line 783)
build a <ins> tag with some content.
INStag
html_ins
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_kbd (line 797)
build a
KBDtag
html_kbd
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_label (line 814)
build a <label> tag with some content.
LABELtag
html_label
([
string $for =
""],
mixed 1)
-
mixed
1:
- n number of arguments as content for the tag.
-
string
$for:
- the id of the form element to tie this label to.
html_legend (line 835)
build a <legend> tag with some content.
LEGENDtag
html_legend
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_li (line 851)
build a <LI> tag with some content..
LItag
html_li
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_link (line 866)
build a <LINK> tag with some content..
LINKtag
html_link
(
string $href,
string $rel,
string $type)
-
string
$href:
- the href link
-
string
$rel:
- the rel attribute
-
string
$type:
- the type of content.
html_map (line 880)
build a <map> tag with some content.
MAPtag
html_map
(
string $name,
mixed 1)
-
mixed
1:
- n number of arguments as content for the tag.
-
string
$name:
- the name of the map.
html_meta (line 898)
build a <meta> tag..
METAtag
html_meta
(
string $content, [
string $http_equiv =
""], [
string $name =
""])
-
string
$content:
- the content value.
-
string
$http_equiv:
- the http-equiv value
-
string
$name:
- the name
html_noframes (line 920)
build a <noframes> tag with some content..
NOFRAMEStag
html_noframes
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_noscript (line 934)
build a <noscript> tag with some content..
NOSCRIPTtag
html_noscript
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_object (line 948)
build a <object> tag with some content..
OBJECTtag
html_object
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_ol (line 962)
build a
OLtag
html_ol
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_optgroup (line 976)
build a <OPTGROUP> tag with some content..
OPTGROUPtag
html_optgroup
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_option (line 991)
build a <OPTION> tag with some content..
OPTIONtag
html_option
(
string $value,
string $content)
-
string
$value:
- the value attribute
-
string
$content:
- the content for the tag.
html_p (line 1005)
build a <p> tag.
Ptag
html_p
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_param (line 1018)
build a <param> tag.
PARAMtag
html_param
(
string $name, [
mixed $value =
""])
-
string
$name:
- name of the tag
html_pre (line 1033)
build a
PREtag
html_pre
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_q (line 1047)
build a <q> tag with some content..
Qtag
html_q
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_samp (line 1061)
build a
SAMPtag
html_samp
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_script (line 1075)
build a <script> tag with some content..
SCRIPTtag
html_script
([
src $src =
""], [
string $type =
"text/javascript"])
-
src
$src:
- the src
-
string
$type:
- type of script
html_small (line 1096)
build a small <small> tag with content.
html_span (line 1113)
build a bold <span> tag with content.
SPANtag
html_span
([
string $class =
""],
mixed 1)
-
mixed
1:
- n number of arguments as content for the tag.
-
string
$class:
- the class for the span.
html_strong (line 1133)
build a <strong> tag with some content..
STRONGtag
html_strong
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_style (line 1151)
build a <style> tag with some content.
STYLEtag
html_style
([
string $type =
"text/css"],
mixed 1)
-
mixed
1:
- n number of arguments as content for the tag.
-
string
$type:
- the type text/css (DEFAULT), text/javasript
html_sub (line 1167)
build a <sub> tag with some content..
SUBtag
html_sub
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_sup (line 1181)
build a <sup> tag with some content..
SUPtag
html_sup
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_table (line 1205)
Build a TABLEtag object with some of the attributes set
TABLEtag
html_table
([
mixed $width =
"100%"], [
mixed $border =
"0"], [
mixed $cellspacing =
"0"], [
mixed $cellpadding =
"0"], [
string $align =
NULL])
-
mixed
$width:
- width attribute default: 100%
-
mixed
$border:
- border default: 0
-
mixed
$cellspacing:
- cellspacing default: 0
-
mixed
$cellpadding:
- cellpadding default: 0
-
string
$align:
- align the align attribute default: not set.
html_tbody (line 1227)
build a <tbody> tag with some content..
TBODYtag
html_tbody
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_td (line 1246)
build an td tag object with content.
TDtag
html_td
([
string $class =
""], [
string $align =
""],
mixed 2)
-
mixed
2:
- n number of arguments as content for the tag.
-
string
$class:
- the class to use
-
string
$align:
- the alignment left, right
html_tfoot (line 1270)
build a <tfoot> tag with content.
TFOOTtag
html_tfoot
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_th (line 1285)
build a <th>$header</th> tag.
THtag
html_th
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_thead (line 1299)
build a <thhead> tag.
THEADtag
html_thead
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_title (line 1315)
build a <title> tag with some content.
TITLEtag
html_title
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_tr (line 1330)
build a <tr> tag and contents
TRtag
html_tr
([
string $class =
""],
mixed 1)
-
mixed
1:
- n number of arguments as content for the tag.
-
string
$class:
- class
html_tt (line 1351)
build a <tt> tag and contents
TTtag
html_tt
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_u (line 1365)
build a <u> tag and contents
Utag
html_u
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_ul (line 1382)
build a
ULtag
html_ul
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_var (line 1396)
build a
VARtag
html_var
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
html_xmp (line 1412)
build a <xmp> tag with some content..
XMPtag
html_xmp
([
mixed 0 =
- n number of arguments as content for the tag.])
-
mixed
0:
- n number of arguments as content for the tag.
mailto (line 1432)
build a mailto url link .
CENTERtag
mailto
(
string $email, [
string $subject =
NULL], [
string $body =
NULL], [
string $cc =
NULL])
-
string
$email:
- the email address for the mailto
-
string
$subject:
- the subject for the email
-
string
$body:
- the body conent for the email
-
string
$cc:
= the cc email address.