Source of file Searchable.php
Size: 0,792 Bytes - Last Modified: 2021-12-23T11:00:27+00:00
/var/www/docs.ssmods.com/process/src/src/Searchable.php
1234567891011121314151617181920212223242526272829303132333435363738394041 | <?php namespace g4b0\SearchableDataObjects; /** * Searchable - interface to implement in order to be a searchable DO * * @author Gabriele Brosulo <gabriele.brosulo@zirak.it> * @creation-date 09-May-2014 */ interface Searchable { /** * Link to this DO * @return string */ public function Link(); /** * Filter array * eg. array('Disabled' => 0); * @return string */ public static function getSearchFilter(); /** * Fields that compose the Title * eg. array('Title', 'Subtitle'); * @return array */ public function getTitleFields(); /** * Fields that compose the Content * eg. array('Teaser', 'Content'); * @return array */ public function getContentFields(); } |