2 namespace wcf\system\page\handler
;
5 * Extends the menu page handler interface by providing additional methods to lookup
6 * pages identified by a unique object id.
8 * @author Alexander Ebert
9 * @copyright 2001-2017 WoltLab GmbH
10 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
11 * @package WoltLabSuite\Core\System\Page\Handler
14 interface ILookupPageHandler
extends IMenuPageHandler
{
16 * Returns the link for a page with an object id.
18 * @param integer $objectID page object id
19 * @return string page url
21 public function getLink($objectID);
24 * Returns true if provided object id exists and is valid.
26 * @param integer $objectID page object id
27 * @return boolean true if object id is valid
29 public function isValid($objectID);
32 * Performs a search for pages using a query string, returning an array containing
33 * an `objectID => title` relation.
35 * @param string $searchString search string
38 public function lookup($searchString);