API17

JRegistry::loadFile

From Joomla! Documentation

Revision as of 17:02, 11 May 2013 by JoomlaWikiBot (talk | contribs) (→‎User contributed notes: moving preparation)

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]

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
  • Returns boolean True on success
  • Defined on line 219 of libraries/joomla/registry/registry.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JRegistry::loadFile [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />