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. |
Definition at line 192 of file dict.php.
font::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.
$face | string | |
$size | string | |
$color | string | |
$class | string | |
$attr | array |
Definition at line 203 of file dict.php.
References merge_attr().
00203 { 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 }
font::close | ( | ) |