Constructor |
Description |
constant |
This is a variable scope containing the values of a few special constants. The constants are true, false and null. |
http_cookie |
This variable scope contains the variables of the PHP $_COOKIE array. |
http_get |
This variable scope contains the variables of the PHP $_GET array. Usually the variables passed in the request URL. |
http_post
|
This variable scope contains the variables of the PHP $_POST array. Usually the variables passed in the request from an HTML form. |
http_request |
This variable scope contains all the variables originating from the PHP $_POST, $_GET and $_COOKIE arrays, that is all URL paravariables posted in forms and variables stored in cookies. |
php_env
|
This variable scope contains the variables of the PHP $_ENV array. For further information on the variables contained in the $_ENV array see the PHP manual on the subject.
|
php_server
|
This variable scope contains the variables of the PHP $_SERVER array. For further information on the variables contained in the $_SERVER array see the PHP manual on the subject.
|
session
|
This variable scope contains the current session instance with all its attributes.
|
setting
|
This variable scope contains all the currently active values of the site settings. Note that all the setting names contain dots so the HammerScript must be written like {$ setting["setting.name"]}
|
system |
System variables like the HammerKit, PHP and database versions, system time and so on. A complete list of the system variables can be found in a list below. |
var_global |
A variable scope for users' own global variables. This variable scope is empty by default.
|
var_private |
A variable scope for users' own private variables. The private variable scope is private to one component's run time instance. This means that a variable in the private scope exists only in the component's run time instance where it was set. The variable is not visible and cannot be accesses from outside that component's run time instance. This variable scope is empty by default unless variables have been passed to the component when the component was included. |
var_session |
A variable scope for users' own session wide variables. This variable scope is empty by default. The variables with their values in this scope will exist only as long as the session is valid. |