Class jContext

Description

Module context manager

Its goal is to manage a stack of module context

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


	
			
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 25)
  • access: protected
Methods
static clear (line 54)

clear the context

static void clear ()
static get (line 47)

get the module name of the current context

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

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

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

set the context to the given module

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

Documentation generated on Thu, 22 Mar 2012 22:14:15 +0100 by phpDocumentor 1.4.3