Formatting output Plese Wait...
HtmlTag Class Reference
[HTML helper.]
Parent class of all Html Tag Classes.
More...
|
Public Member Functions |
| open () |
| a HTML Tag Class must implement this operation if its a pair tag
|
| close () |
| a HTML Tag Class must implement this operation if its a pair tag
|
| br ($n=0) |
| alias of brk()
|
| nbsp ($n=0) |
| alias of spc()
|
| image ($src, $name=null, $attr=null) |
| alias of image()
|
Detailed Description
Parent class of all Html Tag Classes.
Definition at line 37 of file dict.php.
Member Function Documentation
a HTML Tag Class must implement this operation if its a pair tag
Definition at line 42 of file dict.php.
References perror().
Show Source00042 {
00043 perror('<code>zigmoyd.helper.html</code><br />either the HTML Tag Class you are using doesn\'t have a open() operation (e.g. a standalone Tag) or it hasn\'t implemented the HtmlTag Properly.');
00044 }
Top
a HTML Tag Class must implement this operation if its a pair tag
Reimplemented in font, span, label, form, bold, italics, and underline.
Definition at line 49 of file dict.php.
References perror().
Show Source00049 {
00050 perror('<code>zigmoyd.helper.html</code><br />either the HTML Tag Class you are using doesn\'t have a close() operation (e.g. a standalone Tag) or it hasn\'t implemented the HtmlTag Properly.');
00051 }
Top
HtmlTag::br( int $n = 0
)
alias of brk()
- Parameters:
-
- Returns:
- string
Definition at line 58 of file dict.php.
References brk().
Show Source00058 {
00059 return brk($n);
00060 }
Top
HtmlTag::nbsp( int $n = 0
)
alias of spc()
- Parameters:
-
- Returns:
- string
Definition at line 67 of file dict.php.
References spc().
Show Source00067 {
00068 return spc($n);
00069 }
Top
HtmlTag::image( int $src, string $name = null
, array $attr = null
)
alias of image()
- Parameters:
-
| $srcPath | string |
| $name | Optinal |
| $attr | Optinal |
- Returns:
- string
Definition at line 78 of file dict.php.
Show Source00078 {
00079 return image($src, $name, $attr);
00080 }
Top
The documentation for this class was generated from the following file: