JRegistry::loadFile
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JRegistry::loadFile[edit]
Description[edit]
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[edit]
- JRegistry::loadFile source code on BitBucket
- Class JRegistry
- Subpackage Registry
- Other versions of JRegistry::loadFile
User contributed notes[edit]
Code Examples[edit]