Fix a possible race condition in the PaintWeb DML code.
[moodle/mihaisucan.git] / search / searchtypes.php
blob308c89d558ca6debfccadb04260dca9fcefe2cf3
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 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
13 * Searcheable types
14 * to disable a type, just comment the two declaration lines for that type
18 //document types that can be searched
19 //define('SEARCH_TYPE_NONE', 'none');
20 define('SEARCH_TYPE_WIKI', 'wiki');
21 define('SEARCH_TYPE_FORUM', 'forum');
22 define('SEARCH_TYPE_GLOSSARY', 'glossary');
23 define('SEARCH_TYPE_RESOURCE', 'resource');
24 define('SEARCH_TYPE_DATA', 'data');
25 define('SEARCH_TYPE_CHAT', 'chat');
26 define('SEARCH_TYPE_LESSON', 'lesson');
27 define('SEARCH_TYPE_ASSIGNMENT', 'assignment');
28 define('SEARCH_TYPE_LABEL', 'label');
30 define('SEARCH_EXTRAS', 'user');
31 define('SEARCH_TYPE_USER', 'user');
32 define('PATH_FOR_SEARCH_TYPE_USER', 'user');