API17:JRegistry::loadFile
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JRegistry::loadFile
Description
Load the contents of a file into the registry.
Description:JRegistry::loadFile [Edit Descripton]
Since
Synopsis
public JRegistry::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 |
Returns
boolean True on success
Defined in
libraries/joomla/registry/registry.php (line 219)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
