API17

JRegistry::loadFile

From Joomla! Documentation

Revision as of 21:06, 23 April 2011 by Doxiki2 (talk | contribs) (Layout updates)

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.

Joomla 11.1 JRegistry::loadFile[edit]

Description[edit]

Load the contents of a file into the registry.

Template:Description:JRegistry::loadFile [Edit Descripton]

Since[edit]

Joomla 11.1

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 (line 219)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JRegistry::loadFile

Examples[edit]

<CodeExamplesForm />