Welcome    Usage    Browse    Find CID    Search     Log in

cM API Documentation

cm-s.php File Reference

Go to the source code of this file.

Variables

 $form6 = '#form6'
 $cm_root = getenv("CM_ROOT")
 $cm_tmp = getenv("CM_TMP")
 $cm_default_cfg = getenv("CM_DEFAULT_CFG")
 $f = file_get_contents($cm_default_cfg)
 $cfg = json_decode($f,true)
 $get = cm_web_to_array($_GET, "")
 $post = cm_web_to_array($_POST, "")
 $session = $_SESSION
 $cookie = $_COOKIE
 $i = array()
 $i ['cm_run_module_uoa'] = 'web'
 $i ['cm_action'] = 'preprocess'
 $i ['cm_console'] = 'json'
 $i ['cm_web_session'] = $session
 $i ['cm_web_cookies'] = $cookie
 $i ['cm_web_get'] = $get
 $i ['cm_web_post'] = $post
 $i ['cm_web'] = 'yes'
 $cdc = ''
if(array_key_exists("cm_detach_console",
$post)) if(array_key_exists("cm_detach_console",
$get)) 
$rr = trim(cm_access($i, false))
 $r = json_decode($rr,true)

Variable Documentation

$cdc = ''

Definition at line 163 of file cm-s.php.

$cfg = json_decode($f,true)

Definition at line 42 of file cm-s.php.

$cm_default_cfg = getenv("CM_DEFAULT_CFG")

Definition at line 39 of file cm-s.php.

$cm_root = getenv("CM_ROOT")

Definition at line 33 of file cm-s.php.

Referenced by cm_access().

$cm_tmp = getenv("CM_TMP")

Definition at line 36 of file cm-s.php.

$cookie = $_COOKIE

Definition at line 50 of file cm-s.php.

$f = file_get_contents($cm_default_cfg)

Definition at line 41 of file cm-s.php.

Referenced by cm_access().

$form6 = '#form6'

Definition at line 28 of file cm-s.php.

$get = cm_web_to_array($_GET, "")

Definition at line 47 of file cm-s.php.

$i['cm_web'] = 'yes'

Definition at line 150 of file cm-s.php.

$i['cm_web_post'] = $post

Definition at line 149 of file cm-s.php.

$i['cm_web_get'] = $get

Definition at line 148 of file cm-s.php.

$i['cm_web_cookies'] = $cookie

Definition at line 147 of file cm-s.php.

$i['cm_web_session'] = $session

Definition at line 146 of file cm-s.php.

$i['cm_console'] = 'json'

Definition at line 145 of file cm-s.php.

$i['cm_action'] = 'preprocess'

Definition at line 144 of file cm-s.php.

$i['cm_run_module_uoa'] = 'web'

Definition at line 143 of file cm-s.php.

$i = array()

Definition at line 142 of file cm-s.php.

$post = cm_web_to_array($_POST, "")

Definition at line 48 of file cm-s.php.

$r = json_decode($rr,true)

Definition at line 168 of file cm-s.php.

Referenced by check_cm_json(), and cm_web_to_array().

if (array_key_exists("cm_detach_console", $post)) if (array_key_exists("cm_detach_console", $get)) $rr = trim(cm_access($i, false))

Definition at line 167 of file cm-s.php.

$session = $_SESSION

Definition at line 49 of file cm-s.php.


Generated on Wed May 28 02:49:02 2014 for Collective Mind Framework by DoxyGen 1.6.1
Concept, design and coordination: Grigori Fursin (C) 1993-2013