1<?php
2
3namespace dokuwiki\plugin\struct\test\mock;
4
5use dokuwiki\plugin\struct\meta;
6
7class Search extends meta\Search
8{
9    public $schemas = array();
10    /** @var  meta\Column[] */
11    public $columns = array();
12
13    public $sortby = array();
14
15    public $filter = array();
16
17    /**
18     * Register a dummy function that always returns false
19     */
20    public function isNotPublisher()
21    {
22        $this->dbHelper = new helper_plugin_struct_db;
23        $this->sqlite->create_function('IS_PUBLISHER', [$this->dbHelper, 'IS_PUBLISHER'], -1);
24    }
25}
26