Formatting output Plese Wait...
The Class for
font Tag.
More...
|
Public Member Functions |
| open ($face=null, $size=null, $color=null, $class=null, $attr=null) |
| Opens the font Tag the function names and the argument names are self explanetory.
|
| close () |
| Closes an Opened <font> tag.
|
Detailed Description
The Class for
font Tag.
Definition at line 192 of file dict.php.
Member Function Documentation
font::open( string $face = null
, string $size = null
, string $color = null
, string $class = null
, array $attr = null
)
Opens the font Tag the function names and the argument names are self explanetory.
- Parameters:
-
| $face | |
| $size | |
| $color | |
| $class | |
| $attr | |
- Returns:
- string
Definition at line 203 of file dict.php.
References merge_attr().
Show Source00203 {
00204 $ret = '<font ';
00205 if(!is_null($face))$attr['face'] = $face;
00206 if(!is_null($size))$attr['size'] = $size;
00207 if(!is_null($color))$attr['color'] = $color;
00208 if(!is_null($class))$attr['class'] = $class;
00209 $ret .= merge_attr($attr)." >";
00210 return $ret;
00211 }
Top
Closes an Opened <font> tag.
- Returns:
- string
Reimplemented from HtmlTag.
Definition at line 217 of file dict.php.
Show Source00217 {
00218 return "</font>";
00219 }
Top
The documentation for this class was generated from the following file: