JRegistry::loadFile
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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.
Template:Description:JRegistry::loadFile [Edit Descripton]
Since[edit]
Synopsis[edit]
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[edit]
boolean True on success
Defined in[edit]
libraries/joomla/registry/registry.php
Referenced by[edit]
See also[edit]
Template:SeeAlso:JRegistry::loadFile
Examples[edit]
<CodeExamplesForm />