Class jContext

Description

Module context manager

Its goal is to manage a stack of module context

Located in /core/jContext.class.php (line 22)


	
			
Variable Summary
static mixed $context
Method Summary
static void clear ()
static string get ()
static string pop ()
static void push (string $module)
Variables
static mixed $context = array() (line 24)
  • access: protected
Methods
static clear (line 53)

clear the context

static void clear ()
static get (line 46)

get the module name of the current context

  • return: name of the current module
static string get ()
static pop (line 38)

cancel the current context and set the context to the previous module

  • return: the obsolet module name
static string pop ()
static push (line 30)

set the context to the given module

static void push (string $module)
  • string $module: the module name

Documentation generated on Mon, 26 Oct 2015 21:52:11 +0100 by phpDocumentor 1.4.3