Source of file Searchable.php
Size: 0,753 Bytes - Last Modified: 2021-12-24T06:43:04+00:00
/var/www/docs.ssmods.com/process/src/code/Searchable.php
123456789101112131415161718192021222324252627282930313233343536373839 | <?php /** * 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(); } |