Stud.IP  4.2 Revision
StudipFileloader Class Reference
Collaboration diagram for StudipFileloader:
Collaboration graph

Static Public Member Functions

static load ($_filename, &$_container, $_injected=array(), $_allow_overwrite=false)
 

Detailed Description

Member Function Documentation

◆ load()

static load (   $_filename,
$_container,
  $_injected = array(),
  $_allow_overwrite = false 
)
static

Loads a PHP sourcefile and transfers all therein defined variables into a specified container. Optionally you may inject more bindings into the scope, if the sourcefile requires them.

Parameters
string$_filenamewhich file to load
array$_containerwhere to put the new variables into
array$_injectedoptional bindings, to inject into the scope before loading
bool$_allow_overwriteallow overwriting of injected
Here is the caller graph for this function:

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