\TestDataObject
Test DataObject
Synopsis
class TestDataObject
extends DataObject
implements
TestOnly,Searchable
{
- // members
- private static array $db = ;
- // methods
- public string Link()
- public static array getSearchFilter()
- public static array getSearchFilterAny()
- public array getTitleFields()
- public array getContentFields()
Hierarchy
Members
private
- $db
Methods
public
- Link() — Link to this DO
- getContentFields() — Fields that compose the Content eg. array('Teaser', 'Content');
- getSearchFilter() — Filter array eg. array('Disabled' => 0);
- getSearchFilterAny() — FilterAny array (optional) eg. array('Disabled' => 0, 'Override' => 1);
- getTitleFields() — Fields that compose the Title eg. array('Title', 'Subtitle');