Load a PNObjectArray extended class from the given module. The given class name is prefixed with 'PN' and underscores are removed to produce a proper class name.
Tags:
return:
The ClassName which was loaded from the file
Parameters:
module
$module
The module to load from
base_obj_type
$base_obj_type
The base object type for which to load the class
exitOnError
$exitOnError
whether or not exit upon error (optional) (default=true)
prefix
$prefix
Override parameter for the default PN prefix (default=PN)
Load a PNObject extended class from the given module. The given class name is prefixed with 'PN' and underscores are removed to produce a proper class name.
Tags:
return:
The ClassName which was loaded from the file
Parameters:
module
$module
The module to load from
base_obj_type
$base_obj_type
The base object type for which to load the class
array
$array
If true, load the array class instead of the single-object class.
exitOnError
$exitOnError
whether or not exit upon error (optional) (default=true)
prefix
$prefix
Override parameter for the default PN prefix (default=PN)
Load multiple files from the specified location in the pn file tree Note that in it's default invokation, this method exits after the first successful file load.
Tags:
return:
true
Parameters:
files
$files
Array of filenames to load
path
$path
The path prefix to use (optional) (default='null')
all
$all
whether or not to load all files or exit upon 1st successful load (optional) (default=false)
exitOnError
$exitOnError
whether or not exit upon error (optional) (default=true)
returnVar
$returnVar
The variable to return if $all==false (optional) (default=null)