- Symphony 2.7.1
-
› assets
14 -
› boot
15 -
› core
24 -
› cryptography
4 -
› data-sources
6 -
› email-gateways
3 -
› events
3 -
› global
61 -
› interface
9 -
› toolkit
60 - Delegates101
- Deprecated28
Versions
- 2.7.9
- 2.7.8
- 2.7.7
- 2.7.6
- 2.7.5
- 2.7.3
- 2.7.2
- 2.7.10
- 2.7.1
- 2.7.0
- 2.6.9
- 2.6.8
- 2.6.7
- 2.6.6
- 2.6.5
- 2.6.4
- 2.6.3
- 2.6.2
- 2.6.11
- 2.6.10
- 2.6.1
- 2.6.0
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2
Options
Constants
string ACTIVITY_LOG
The filesystem path to the main
file which is contained within
the manifest/logs
folder. This is the default Symphony log file.
string APPLICATION_URL
Returns the folder name for Symphony as an application
string ASSETS
The filesystem path to the assets
folder which is contained within
the symphony
folder.
string ASSETS_URL
Returns the folder name for Symphony as an application
string BOOT
The filesystem path to the boot
folder which is contained within
the symphony/lib
folder.
string CACHE
The filesystem path to the cache
folder which is contained within
the manifest
folder.
string CDATA_BEGIN
Defines a constant for the opening tag of a CDATA section in xml
string CDATA_END
Defines a constant for the closing tag of a CDATA section in xml
string CONFIG
The filesystem path to the config.php
file which is contained within
the manifest
folder. This holds all the Symphony configuration settings
for this install.
string CONTENT
The filesystem path to the content
folder which is contained within
the symphony
folder.
string CORE
The filesystem path to the core
folder which is contained within
the symphony/lib
folder.
string DATASOURCES
The filesystem path to the data-sources
folder which is contained within
the workspace
folder.
string DIRROOT
The root url directory. This constant will be empty if Symphony is installed at the root level
mixed DOCROOT
string DOMAIN
The current domain name.
string EMAILGATEWAYS
The filesystem path to the email-gateways
folder which is contained within
the symphony/lib/toolkit
folder.
string EVENTS
The filesystem path to the events
folder which is contained within
the workspace
folder.
string EXTENSIONS
The filesystem path to the extensions
folder
integer EXTENSION_DISABLED
Status when an extension is disabled
integer EXTENSION_ENABLED
Status when an extension is installed and enabled
integer EXTENSION_NOT_COMPATIBLE
Status when the extension is not compatible with the current version of Symphony
integer EXTENSION_NOT_INSTALLED
Status when an extension is in the file system, but has not been installed.
integer EXTENSION_REQUIRES_UPDATE
Status when an extension version in the file system is different to the version stored in the database for the extension
string FACE
The filesystem path to the interface
folder which is contained within
the symphony/lib
folder.
string|boolean HTTPS
Returns the environmental variable if HTTPS is in use.
mixed HTTP_HOST
string HTTP_PROTO
Returns the protocol used to this request. If SECURE it will be https: If not, http:
string HTTP_USER_AGENT
Returns the User Agent string of the browser that is viewing the current page
string LANG
The filesystem path to the lang
folder which is contained within
the symphony/lib
folder. By default, the Symphony install comes with
an english language translation.
string LIBRARY
The filesystem path to the lib
folder which is contained within
the symphony
folder.
string LOGS
The filesystem path to the logs
folder which is contained within
the manifest
folder. The default Symphony Log file is saved at this
path.
string MANIFEST
The filesystem path to the manifest
folder
string PAGES
The filesystem path to the pages
folder which is contained within
the workspace
folder.
integer PROFILE_LAP
Defines a constant for when a snapshot should be between two points, usually when a start time has been given
integer PROFILE_RUNNING_TOTAL
Defines a constant for when the Profiler should be a complete snapshot of the page load, from the very start, to the very end.
string REMOTE_ADDR
Returns the IP address of the machine that is viewing the current page.
integer RESOURCE_TYPE_DS
The integer value for datasource-type resources.
integer RESOURCE_TYPE_EVENT
The integer value for event-type resources.
float STARTTIME
Used as a default seed, this returns the time in seconds that Symphony started to load. Most profiling runs use this as a benchmark.
string SYMPHONY
The filesystem path to the symphony
folder
str SYMPHONY_LAUNCHER
Overload the default Symphony launcher logic.
string SYMPHONY_URL
Returns the URL + /symphony. This should be used whenever the a developer wants to link to the Symphony root
string TEMPLATE
The filesystem path to the template
folder which is contained within
the symphony
folder.
string TEXTFORMATTERS
The filesystem path to the text-formatters
folder which is contained within
the workspace
folder.
string TMP
The filesystem path to the tmp
folder which is contained within
the system's temp directory (sysgettemp_dir()), or the upload_tmp_dir
or falling back to use manifest/tmp
.
string TOOLKIT
The filesystem path to the toolkit
folder which is contained within
the symphony/lib
folder.
integer TWO_WEEKS
Returns the number of seconds that represent two weeks.
string URL
The base URL of this Symphony install, minus the symphony path.
string UTILITIES
The filesystem path to the utilities
folder which is contained within
the workspace
folder.
string WORKSPACE
The filesystem path to the workspace
folder
mixed _GET
mixed _REQUEST
integer __ENTRY_FIELD_ERROR__
The constant for an Entry if there is an error is raised by any of it's Fields.
integer __ENTRY_OK__
The constant for when an Entry is ok, that is, no errors have been raised by any of it's Fields.
string|boolean __SECURE__
If HTTPS is on, __SECURE__
will be set to true, otherwise false. Use union of
the HTTPS
environmental variable and the X-Forwarded-Proto header to allow
downstream proxies to inform the webserver of secured downstream connections
mixed adminPath
mixed adminRegExp
mixed bInsideInstaller
mixed dir
string http_host
Returns the current host, ie. google.com