Esempio n. 1
0
 /**
  * Gera um botão
  **/
 function button($caption, $attributes = array())
 {
     $str = "";
     $str = "<button " . _attributes($attributes) . ">" . $caption . "</button>\n";
     return $str;
 }
Esempio n. 2
0
 function hr($attributes = '')
 {
     return "<hr" . _attributes($attributes) . "/>\n";
 }