0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
7.0-0
/
standard
/
htdocs
/
lib
/
core
/
Search
/
ContentSource
/
[
Home
]
File: Interface.php
<?php // (c) Copyright 2002-2011 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: Interface.php 33242 2011-03-04 21:45:37Z lphuberdeau $ interface Search_ContentSource_Interface { /** * Provides a list of type-specific object IDs available in the database. * * @return Traversable */ function getDocuments(); /** * Provides teh basic data for the specified object ID. * * @return array */ function getDocument($objectId, Search_Type_Factory_Interface $typeFactory); /** * Returns an array containing the list of field names that can be provided * by the content source. */ function getProvidedFields(); /** * Returns an array containing the list of field names that must be included * in the global content. */ function getGlobalFields(); }