summaryrefslogtreecommitdiff
path: root/source/globals.rst
diff options
context:
space:
mode:
Diffstat (limited to 'source/globals.rst')
-rw-r--r--source/globals.rst101
1 files changed, 94 insertions, 7 deletions
diff --git a/source/globals.rst b/source/globals.rst
index 49f4d8c..cf82d63 100644
--- a/source/globals.rst
+++ b/source/globals.rst
@@ -12,9 +12,27 @@ Global Variables
:php:global:`$_REQUEST`
=======================
+.. php:global:: $_REQUEST['action']
+
+.. php:global:: $_REQUEST['cert']
+
+.. php:global:: $_REQUEST['domid']
+
+.. php:global:: $_REQUEST['id']
.. php:global:: $_REQUEST["lang"]
+.. php:global:: $_REQUEST['memid']
+
+.. php:global:: $_REQUEST['oldid']
+
+.. php:global:: $_REQUEST['orgid']`
+
+.. php:global:: $_REQUEST['process']
+
+.. php:global:: $_REQUEST['showdetails']
+
+.. php:global:: $_REQUEST['ticketno']
.. index:: $_SERVER
@@ -23,6 +41,8 @@ Global Variables
.. php:global:: $_SERVER['HTTP_ACCEPT_LANGUAGE']
+.. php:global:: $_SERVER['PHP_SELF']
+
.. index:: $_SESSION
@@ -42,6 +62,14 @@ This global variable defines the status of the database connection
:php:global:`$_SESSION['_config']`
----------------------------------
+.. php:global:: $_SESSION['_config']['errmsg']
+
+.. php:global:: $_SESSION['_config']['filepath']
+
+.. php:global:: $_SESSION['_config']['header']
+
+.. php:global:: $_SESSION['_config']['language']
+
.. php:global:: $_SESSION['_config']['normalhostname']
This global variable defines the main CAcert-website
@@ -49,6 +77,8 @@ This global variable defines the main CAcert-website
* "www.cacert.org" for production
* "test.cacert.org" for testing
+.. php:global:: $_SESSION['_config']['recode']
+
.. php:global:: $_SESSION['_config']['securehostname']
This global variable defines the secure CAcert-website
@@ -56,19 +86,76 @@ This global variable defines the secure CAcert-website
* "secure.cacert.org" for production
* " cacert.org" for testing
-.. php:global:: $_SESSION['_config']['tverify']
+ .. php:global:: $_SESSION['_config']['tverify']
+
+ This global variable defines TVERIFY
+
+ * "tverify.cacert.org" for production
+ * " " for testing
-This global variable defines TVERIFY
-* "tverify.cacert.org" for production
-* " " for testing
.. todo:: checkout what TVERIFY means, check names for test-system
-.. php:global:: $_SESSION['_config']['language']
+.. index:: $_SESSION['profile']
+
+----------------------------------
+:php:global:`$_SESSION['profile']`
+----------------------------------
+
+.. php:global:: $_SESSION['profile']['adadmin']
+
+.. php:global:: $_SESSION['profile']['admin']
+
+.. php:global:: $_SESSION['profile']['assurer']
+
+.. php:global:: $_SESSION['profile']['dob']
+
+.. php:global:: $_SESSION['profile']['email']
+
+.. php:global:: $_SESSION['profile']['fname']
+
+.. php:global:: $_SESSION['profile']['id']
+
+.. php:global:: $_SESSION['profile']['lname']
+
+.. php:global:: $_SESSION['profile']['locadmin']
+
+.. php:global:: $_SESSION['profile']['mname']
+
+.. php:global:: $_SESSION['profile']['orgadmin']
+
+.. php:global:: $_SESSION['profile']['points']
+
+.. php:global:: $_SESSION['profile']['suffix']
+
+.. index:: globalConstants
+
+================
+Global Constants
+================
+
+.. php:const:: NULL_DATETIME
+
+ This constant has the value '0000-00-00 00:00:00'
+
+.. php:const:: THAWTE_REVOCATION_DATETIME
+
+ This constant has the value '2010-11-16 00:00:00'.
+
+
+
+
+==========
+Exceptions
+==========
+
+.. php:exception:: E_USER_NOTICE
+
+.. php:exception:: E_USER_WARNING
+
+.. php:exception:: E_USER_ERROR
-.. php:global:: $_SESSION['_config']['recode']
-.. php:global:: $_SESSION['_config']['filepath']