Elgg  Version master
Static Public Member Functions | List of all members
Elgg\Includer Class Reference

Allow executing scripts without $this context or local vars. More...

Static Public Member Functions

static includeFile ($file)
 Include a file with as little context as possible. More...
 
static requireFile ($file)
 Require a file with as little context as possible. More...
 
static requireFileOnce ($file)
 Require a file once with as little context as possible. More...
 

Detailed Description

Allow executing scripts without $this context or local vars.

Definition at line 10 of file Includer.php.

Member Function Documentation

static Elgg\Includer::includeFile (   $file)
static

Include a file with as little context as possible.

Parameters
string$fileFile to include
Returns
mixed

Definition at line 18 of file Includer.php.

static Elgg\Includer::requireFile (   $file)
static

Require a file with as little context as possible.

Parameters
string$fileFile to require
Returns
mixed

Definition at line 28 of file Includer.php.

static Elgg\Includer::requireFileOnce (   $file)
static

Require a file once with as little context as possible.

Parameters
string$fileFile to require
Returns
mixed

Definition at line 38 of file Includer.php.


The documentation for this class was generated from the following file: