function TestForm() { $table = new TableListField("Table", "TableListFieldTest_Obj", array("A" => "Col A", "B" => "Col B", "C" => "Col C", "D" => "Col D", "E" => "Col E")); $table->disableSorting(); // A TableListField must be inside a form for its links to be generated return new Form($this, "TestForm", new FieldSet($table), new FieldSet()); }