public function make($model, $method, $element)
    {
        $this->tableInfo = $this->getTableInfo($model);

        $type = 'generic';
        if (preg_match('/^ul|li|ol$/i', $element))
        {
            $element = 'li';
            $type = 'list';
        }

        $output = $this->render($type, $method, $model, $element);
        $this->printOutput($output);
    }
public function make($model, $method, $element)
    {
        $this->tableInfo = $this->getTableInfo($model);

        $type = 'generic';
        if (preg_match('/^ul|li|ol$/i', $element))
        {
            $element = 'li';
            $type = 'list';
        }

        $output = $this->render($type, $method, $model, $element);
        $this->printOutput($output);
    }
public function make ( $ model , $ method , $ element ) { $ this -> tableInfo = $ this -> getTableInfo ( $ model ) ; $ type = 'generic' ; if ( preg_match ( '/^ul|li|ol$/i' , $ element ) ) { $ element = 'li' ; $ type = 'list' ; } $ output = $ this -> render ( $ type , $ method , $ model , $ element ) ; $ this -> printOutput ( $ output ) ; }
Create the form
@param  string $model
@param  string $method
@param  string $element
@return void
Create the form