Loading Please wait...

label Class Reference
[HTML helper.]

The Class for label Tag. More...

Inheritance diagram for label:

Inheritance graph
[legend]
Collaboration diagram for label:

Collaboration graph
[legend]

Public Member Functions

 open ($name=null, $class=null, $attr=null)
 Opens the label Tag the function names and the argument names are self explanetory.
 close ()
 Closes an Opened <label> tag.

Detailed Description

The Class for label Tag.

Definition at line 254 of file dict.php.


Member Function Documentation

label::open ( name = null,
class = null,
attr = null 
)

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

Parameters:
$name string
$class string
$attr array
Returns:
string

Definition at line 263 of file dict.php.

References merge_attr().

00263                                                     {
00264     $ret = '<label ';
00265     if(!is_null($name))$attr['name'] = $name;
00266     if(!is_null($class))$attr['class'] = $class;
00267     $ret .= merge_attr($attr)." >";
00268     return $ret;
00269   }

Here is the call graph for this function:

label::close (  ) 

Closes an Opened <label> tag.

Returns:
string

Reimplemented from HtmlTag.

Definition at line 275 of file dict.php.

00275                   {
00276     return "</label>";
00277   }


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

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