Merge branch 'w15_MDL-27007_m20_userupload' of git://github.com/skodak/moodle into...
[moodle.git] / search / searchtypes.php
blob029126269e6545bd4272e12894e1084f21240f59
1 <?php
3 /**
4 * Global Search Engine for Moodle
6 * @package search
7 * @category core
8 * @subpackage search_engine
9 * @author Michael Champanis (mchampan) [cynnical@gmail.com], Valery Fremaux [valery.fremaux@club-internet.fr] > 1.8
10 * @date 2008/03/31
11 * @version prepared for 2.0
12 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
14 * Searcheable types
15 * to disable a type, just comment the two declaration lines for that type
19 //document types that can be searched
20 //define('SEARCH_TYPE_NONE', 'none');
21 define('SEARCH_TYPE_WIKI', 'wiki');
22 define('SEARCH_TYPE_FORUM', 'forum');
23 define('SEARCH_TYPE_GLOSSARY', 'glossary');
24 define('SEARCH_TYPE_RESOURCE', 'resource');
25 define('SEARCH_TYPE_DATA', 'data');
26 define('SEARCH_TYPE_CHAT', 'chat');
27 define('SEARCH_TYPE_LESSON', 'lesson');
28 define('SEARCH_TYPE_ASSIGNMENT', 'assignment');
29 define('SEARCH_TYPE_LABEL', 'label');
31 define('SEARCH_EXTRAS', 'user');
32 define('SEARCH_TYPE_USER', 'user');
33 define('PATH_FOR_SEARCH_TYPE_USER', 'user');
34 define('TYPE_FOR_SEARCH_TYPE_USER', 'core');