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