XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
loader.php File Reference

Go to the source code of this file.

Functions

 cu_render_output ($output)
 
 rmc_autoloader ($class)
 

Variables

 $db =& $dbF->getDatabaseConnection()
 
 $dbF = new XoopsDatabaseFactory()
 
 $file = XOOPS_CACHE_PATH.'/plgs.cnf'
 
 $GLOBALS ['rmc_config'] = RMFunctions::get()->configs()
 
 $GLOBALS ['rmEvents'] = RMEvents::get()
 
 $GLOBALS ['rmTpl'] = RMTemplate::get()
 
 $GLOBALS ['rmCodes'] = RMCustomCode::get()
 
 $GLOBALS ['installed_plugins'] = array()
 
 $plugins = array()
 
global $rmc_config
 
global $rmCodes
 
global $rmEvents
 
global $rmTpl
 
const ABSPATH XOOPS_ROOT_PATH
 
const ABSURL XOOPS_URL
 
if(file_exists($file)) if(empty($plugins)||!is_array($plugins)) else
 
 if ($rmc_config['updates']&&$xoopsOption['pagetype']=='admin')
 
const RMCLANG $rmEvents->run_event('rmcommon.set.language', $rmc_config['lang'])
 
const RMCPATH XOOPS_ROOT_PATH.'/modules/rmcommon'
 
const RMCURL XOOPS_URL.'/modules/rmcommon'
 
const RMCVERSION '2.1.8.8 RC'
 
const RMMSG_ERROR 4
 
const RMMSG_INFO 0
 
const RMMSG_OTHER 5
 
const RMMSG_SAVED 3
 
const RMMSG_SUCCESS 2
 
const RMMSG_WARN 1
 

Function Documentation

cu_render_output (   $output)

Modify the page output to include some new features

Parameters
mixed$output
Returns
string

Definition at line 82 of file loader.php.

References $content, $fscripts, $fstyles, $heads, $metas, $page, $ret, $rmEvents, $rtn, $scripts, $str, $styles, RMEvents\get(), and RMTemplate\get().

Here is the call graph for this function:

rmc_autoloader (   $class)

This file contains the autoloader function files from RMCommon Utilities

Definition at line 30 of file loader.php.

References $class, $path, $xoopsModule, elseif(), and RMCPATH.

Here is the call graph for this function:

Variable Documentation

$db =& $dbF->getDatabaseConnection()

Definition at line 153 of file loader.php.

$dbF = new XoopsDatabaseFactory()

Definition at line 152 of file loader.php.

$GLOBALS['rmEvents'] = RMEvents::get()

Definition at line 158 of file loader.php.

$GLOBALS['rmTpl'] = RMTemplate::get()

Definition at line 159 of file loader.php.

$GLOBALS['rmCodes'] = RMCustomCode::get()

Definition at line 160 of file loader.php.

$GLOBALS['installed_plugins'] = array()

Definition at line 169 of file loader.php.

global $rmc_config

Definition at line 156 of file loader.php.

global $rmCodes

Definition at line 162 of file loader.php.

Referenced by TextCleaner\to_display().

global $rmEvents

Definition at line 162 of file loader.php.

const ABSPATH XOOPS_ROOT_PATH

Definition at line 14 of file loader.php.

Referenced by configure_rm_plugin(), and RMUtilities\make_url().

const ABSURL XOOPS_URL

Definition at line 13 of file loader.php.

Referenced by RMUtilities\make_url().

if (file_exists($file)) if (empty($plugins)||!is_array($plugins)) else
Initial value:
{
foreach($plugins as $p){
$GLOBALS['installed_plugins'][$p] = true;
$rmEvents->load_extra_preloads(RMCPATH.'/plugins/'.$p, ucfirst($p).'Plugin');
}
}
$rmEvents->load_extra_preloads(RMCPATH.'/themes/'.$rmc_config['theme'], ucfirst($rmc_config['theme']))

Definition at line 185 of file loader.php.

if($rmc_config['updates']&&$xoopsOption['pagetype']=='admin')

Definition at line 218 of file loader.php.

const RMCLANG $rmEvents->run_event('rmcommon.set.language', $rmc_config['lang'])

Definition at line 164 of file loader.php.

Referenced by get_locale().

const RMCPATH XOOPS_ROOT_PATH.'/modules/rmcommon'

Definition at line 11 of file loader.php.

const RMCURL XOOPS_URL.'/modules/rmcommon'

Definition at line 12 of file loader.php.

const RMCVERSION '2.1.8.8 RC'

Definition at line 15 of file loader.php.

const RMMSG_ERROR 4

Definition at line 22 of file loader.php.

Referenced by get_file_now().

const RMMSG_INFO 0

Definition at line 18 of file loader.php.

const RMMSG_OTHER 5

Definition at line 23 of file loader.php.

const RMMSG_SAVED 3

Definition at line 21 of file loader.php.

const RMMSG_SUCCESS 2

Definition at line 20 of file loader.php.

const RMMSG_WARN 1

Definition at line 19 of file loader.php.

Referenced by RMHtaccess\checkHealth().