g4b0\SearchableDataObjects\Searchable
Searchable - interface to implement in order to be a searchable DO
- Author: Gabriele Brosulo <gabriele.brosulo@zirak.it>
Synopsis
interface Searchable
{
- // methods
- public string Link()
- public static string getSearchFilter()
- public array getTitleFields()
- public array getContentFields()
Methods
public
- Link() — Link to this DO
- getContentFields() — Fields that compose the Content eg. array('Teaser', 'Content');
- getSearchFilter() — Filter array eg. array('Disabled' => 0);
- getTitleFields() — Fields that compose the Title eg. array('Title', 'Subtitle');