Manual and Documentation

NOTE: This manual describes HammerKit version 3.5. To view documentation for the current release of HammerKit Studio, please go to http://manual.hammerkit.com/
search
Index / E. HammerScript / System variables

A. Introduction
B. Installation and Configuration
C. Using HammerKit tools
D. Object API
E. HammerScript
Introduction
Syntax
Constructors and variable scopes
System variables
Try it
F. Access Rights
System variables


The system variables were introduced in HammerKit version 3.5.7 and can be used through both logic and HammerScript. In HammerScript the variable scope name is system.

A list of all currently supported system variables

Variable name
Description
Since
database_name
The name of the database software in use. Currently almost all sites use mysql.
3.5.7
database_version
The version number of the database software.
3.5.7
execution_time
Execution time as float in seconds from the start of the page load to the place where the variable is fetched.
3.5.9
hammerkit_copyright
The copyright text of HammerKit.
3.5.7
hammerkit_version
The version number of HammerKit in use on a site.
3.5.7
hammerkit_version_typeThe type of the current HammerKit version. Usually RCX for a release candidate like RC3 for the third release candidate of a new major version.
3.5.7
microtime
The current unix timestamp as a float in seconds with microseconds as decimals.
3.5.7
php_extensions
A list as an array of all the extensions currently loaded into PHP.3.5.7
php_version
The version number of PHP currently in use on the server.
3.5.7
php_version_required
The required minimum PHP version for to run the current version of HammerKit.
3.5.7
time
The current unix timestamp as int in seconds.
3.5.7


� HammerKit Oy 2008 UPDATED: 14.08.2008 11:55