Loading Please wait...

span Class Reference
[HTML helper.]

The Class for span Tag. More...

Inheritance diagram for span:

Inheritance graph
[legend]
Collaboration diagram for span:

Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

The Class for span Tag.

Definition at line 225 of file dict.php.


Member Function Documentation

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

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

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

Definition at line 234 of file dict.php.

References merge_attr().

00234                                                     {
00235     $ret = '<span ';
00236     if(!is_null($name))$attr['name'] = $name;
00237     if(!is_null($class))$attr['class'] = $class;
00238     $ret .= merge_attr($attr)." >";
00239     return $ret;
00240   }

Here is the call graph for this function:

span::close (  ) 

Closes an Opened tag.

Returns:
string

Reimplemented from HtmlTag.

Definition at line 246 of file dict.php.

00246                   {
00247     return "</span>";
00248   }


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

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