

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. | |
Definition at line 225 of file dict.php.
| span::open | ( | $ | name = null, |
|
| $ | class = null, |
|||
| $ | attr = null | |||
| ) |
Opens the span Tag .the function names and the argument names are self explanetory.
| $name | string | |
| $class | string | |
| $attr | array |
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 }

| span::close | ( | ) |
1.5.6