/** * Class Constructor * @param $name Form Name */ public function __construct($name = 'my_form') { parent::__construct($name); // creates a table $this->table = new TTable(); $this->has_action = FALSE; // add the table to the form parent::add($this->table); }