Algum meio de evoluir este script? ou assim já está bom?

Código PHP:
<?php

if (class_exists('Form') == FALSE) {

    class 
Form {

        public function 
openForm($method NULL$action NULL) {
            
$form "<form ";
            
$form .= (isset($method)) ? "method=\"{$method}\"" "";
            
$form .= (isset($action)) ? "action=\"{$action}\"" "";
            
$form .= ">";

            return 
$form;
        }

        public function 
inputCreate($type NULL$name NULL$ext null) {
            
$i "<input ";
            
$i .= (isset($type)) ? "type=\"{$type}\"" "";
            
$i .= (isset($name)) ? "name=\"{$name}\"" "";
            
$i .= (isset($ext)) ? "{$ext}"";
            
$i .= "/>";

            return 
$i;
        }

        public function 
selectOpen($name NULL$ext NULL) {
            
$s "<select ";
            
$s .= (isset($name)) ? "name=\"{$name}\"" "";
            
$s .= (isset($ext)) ? "{$ext}"";
            
$s .= ">";

            return 
$s;
        }

        public function 
option($val NULL$ext NULL) {
            
$o "<option ";
            
$o .= (isset($ext)) ? "{$ext}"";
            
$o .= ">";
            
            return 
$o "{$val}</option>";
        }

        public function 
selectClose() {
            return 
"</select>";
        }
        
        public function 
textOpen($name NULL$ext NULL) {
            
$t "<textarea ";
            
$t .= (isset($name)) ? "name=\"{$name}\"" "";
            
$t .= (isset($ext)) ? "{$ext}"";
            
$t .= ">";
            
            return 
$t;
        }
        
        public function 
textClose() {
            return 
"</textarea>";
        }
        
        public function 
btnForm($title$type NULL$name null$ext NULL) {
            
$b "<button ";
            
$b .= (isset($type)) ? "type=\"{$type}\"" "";
            
$b .= (isset($name)) ? "name=\"{$name}\"" "";
            
$b .= (isset($ext)) ? "{$ext}"";
            
$b .= ">";
            
            return 
$b "{$title}</button>";
        }

        public function 
closeForm() {
            return 
"</form>";
        }

    }

}