Set the record type and default sort

This commit is contained in:
james 2010-06-10 18:45:38 +00:00
parent 0938342569
commit 78e311322c

View File

@ -46,6 +46,8 @@ $editor = new TableEditor("locations",
); );
$editor->setPrimaryKey("id"); $editor->setPrimaryKey("id");
$editor->setRecordType("Location");
$editor->setDefaultSortField("name");
$editor->execute(); $editor->execute();