Actions

API17

Difference between revisions of "JRegistry::loadFile"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JRegistry->loadFile ($file, $format= 'JSON', $options=array())
+
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

Replacement filing cabinet.png
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.

Joomla 11.1 JRegistry::loadFile

Description

Load the contents of a file into the registry.

Description:JRegistry::loadFile [Edit Descripton]

Since

Joomla 11.1

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)

Referenced by

See also

[Edit See Also]

SeeAlso:JRegistry::loadFile

Examples

<CodeExamplesForm />