Zend_Loader::loadFile
Loads a PHP file. This is a wrapper for PHP's include() function.
$filename must be the complete filename, including any extension such as ".php". Note that a security check is performed that does not permit extended characters in the filename. This method is intended for loading Zend Framework files. If $dirs is a string or an array, it will search the directories in the order supplied, and attempt to load the first matching file. If the file was not found in the $dirs, or if no $dirs were specified, it will attempt to load it from PHP's include_path. If $once is TRUE, it will use include_once() instead of include().
Signature
public function loadFile(string
$filename,
[string|array
$dirs = NULL,
[boolean
$once = false]] )
Parameters
$filename
— string$dirs
— object- - OPTIONAL either a path or array of paths
to search. $once
— boolean
Returns
- boolean