parent
acc1ab1f46
commit
740ae3e59b
|
@ -23,11 +23,8 @@ has_many Example
|
||||||
/*** TestObject.php ***/
|
/*** TestObject.php ***/
|
||||||
class TestObject extends DataObject {
|
class TestObject extends DataObject {
|
||||||
public static $db=array(
|
public static $db=array(
|
||||||
'Title'=>'Text'
|
'Title'=>'Text',
|
||||||
);
|
'SortOrder'=>'Int'
|
||||||
|
|
||||||
public static $belongs_many_many=array(
|
|
||||||
'TestPages'=>'TestPage'
|
|
||||||
);
|
);
|
||||||
|
|
||||||
public static $default_sort='SortOrder';
|
public static $default_sort='SortOrder';
|
||||||
|
|
Loading…
Reference in New Issue