* *
* -------------------------------------------------------------------- *
* File : filter-functions.php *
* *
* -------------------------------------------------------------------- *
* File : filter-functions.php *
* -------------------------------------------------------------------- *
* Kurzbeschreibung : Funktionen fuer Filter-System *
* -------------------------------------------------------------------- *
* -------------------------------------------------------------------- *
* Kurzbeschreibung : Funktionen fuer Filter-System *
* -------------------------------------------------------------------- *
* Needs to be in all Files and every File needs "svn propset *
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Needs to be in all Files and every File needs "svn propset *
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
// Mark this filter as loaded (from database)
$GLOBALS['cache_array']['filter']['loaded'][$filterName][$filterFunction] = true;
// Mark this filter as loaded (from database)
$GLOBALS['cache_array']['filter']['loaded'][$filterName][$filterFunction] = true;
// Init filters
registerFilter('init', 'LOAD_CONFIGURATION');
registerFilter('init', 'INIT_EXTENSIONS');
// Init filters
registerFilter('init', 'LOAD_CONFIGURATION');
registerFilter('init', 'INIT_EXTENSIONS');
registerFilter('init', 'INIT_RANDOM_NUMBER');
registerFilter('init', 'CHECK_SVN_REVISION');
registerFilter('init', 'RUN_DAILY_RESET');
registerFilter('init', 'INIT_RANDOM_NUMBER');
registerFilter('init', 'CHECK_SVN_REVISION');
registerFilter('init', 'RUN_DAILY_RESET');
// Register shutdown filters
registerFilter('shutdown', 'FLUSH_FILTERS');
registerFilter('shutdown', 'FLUSH_STATS');
// Register shutdown filters
registerFilter('shutdown', 'FLUSH_FILTERS');
registerFilter('shutdown', 'FLUSH_STATS');
// Simply add it to the array
//* DEBUG: */ print __FUNCTION__.': filterName='.$filterName.',filterFunction='.$filterFunction.'<br />';
$GLOBALS['cache_array']['filter']['chains'][$filterName][$filterFunction] = 'A';
// Simply add it to the array
//* DEBUG: */ print __FUNCTION__.': filterName='.$filterName.',filterFunction='.$filterFunction.'<br />';
$GLOBALS['cache_array']['filter']['chains'][$filterName][$filterFunction] = 'A';