API17:JRegistry::loadFile
From Joomla! Documentation
JRegistry::loadFile
Description
Load the contents of a file into the registry.
public function loadFile (
$file
$format= 'JSON'
$options=array
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $file | string | Path to file to load | |
| $format | string | 'JSON' | Format of the file [optional: defaults to JSON] |
| $options | mixed | array() | Options used by the formatter |
See also
JRegistry::loadFile source code on BitBucket
Class JRegistry
Subpackage Registry- Other versions of JRegistry::loadFile
User contributed notes
Code Examples