"name of this parameter in the form", * 'type' => "one of 'text', 'checkbox', 'select'", * 'options' => array() //only neccesary if type is 'select' - a key-value array with the key key as the value of the select and the value as the label of the option * 'placeholder' => "only possible for type 'text' but not mandatory" * ) * This method can also return an empty array or null if no search parameters are needed or no search is provided at all. * * @return null|array(array(), ...) */ public function getSearchParameters(); /** * Returns a virtual folder that 'contains' all the files as a search-result. Only return null * if search is not implemented. * * @param string $text a string * @param array $parameters : an associative array of additional search parameters as defined in getSearchParameters() * @return FolderType|null */ public function search($text, $parameters = []); }