Class jClasses

Description

This object is responsible to include and instancy some classes stored in the classes directory of modules.

Located in /utils/jClasses.class.php (line 18)


	
			
Variable Summary
static mixed $_instances
Method Summary
static object an create (string $selector)
static void createInstance ( $selector)
static object an getService (string $selector)
static void inc (string $selector)
static void incIface (string $selector)
Variables
static mixed $_instances = array() (line 20)
  • access: protected
Methods
static create (line 29)

include the given class and return an instance

  • return: instance of the classe
  • access: public
static object an create (string $selector)
  • string $selector: the jelix selector correponding to the class
static createInstance (line 40)

alias of create method

static void createInstance ( $selector)
  • $selector
static getService (line 50)

include the given class and return always the same instance

  • return: instance of the classe
  • access: public
static object an getService (string $selector)
  • string $selector: the jelix selector correponding to the class
static inc (line 66)

only include a class

  • access: public
static void inc (string $selector)
  • string $selector: the jelix selector correponding to the class
static incIface (line 76)

include an interface

  • since: 1.0b2
  • access: public
static void incIface (string $selector)
  • string $selector: the jelix selector correponding to the interface

Documentation generated on Wed, 07 Sep 2011 13:46:44 +0200 by phpDocumentor 1.4.3