Loading Please wait...

font Class Reference
[HTML helper.]

The Class for font Tag. More...

Inheritance diagram for font:

Inheritance graph
[legend]
Collaboration diagram for font:

Collaboration graph
[legend]

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 ( face = null,
size = null,
color = null,
class = null,
attr = null 
)

Opens the font Tag the function names and the argument names are self explanetory.

Parameters:
$face string
$size string
$color string
$class string
$attr array
Returns:
string

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   }

Here is the call graph for this function:

font::close (  ) 

Closes an Opened <font> tag.

Returns:
string

Reimplemented from HtmlTag.

Definition at line 217 of file dict.php.

00217                   {
00218     return "</font>";
00219   }


The documentation for this class was generated from the following file:

Generated on Mon Oct 27 23:53:03 2008 for zigmoyd.kdevelop by doxygen 1.5.6