public class Symphony.Context

symphony.js

The Context object contains general information about the system, the backend, the current user. It includes an add and a get function. This is a private object and can only be accessed via add and get.

Methods

public static
symphony.js
static Context()

The Context object contains general information about the system, the backend, the current user. It includes an add and a get function. This is a private object and can only be accessed via add and get.

public static
static add(String $group, String|Object $values)

Add data to the Context object

Parameters
  • $group StringName of the data group

  • $values String|ObjectObject or string to be stored

public static
static get(String $group)

Get data from the Context object

Parameters
  • $group StringName of the group to be returned

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details