API17:JRegistry::loadFile
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public JRegistry::loadFile ($file, $format= 'JSON', $options=array()) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 40: | Line 40: | ||
boolean True on success | boolean True on success | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/registry/registry.php | + | libraries/joomla/registry/registry.php (line 219) |
| + | * see source code in [[jplatform:registry/registry.php#cl-219|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 21:06, 23 April 2011
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 />
