Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class JLoader

Description

Located in /loader.php (line 21)

Class JLoader
Method Summary
Method object An &factory (string $class, [array $options = null])
Method void import ( $filePath, string $name, string|array $dirs)
Methods
factory (line 88)

A common object factory.

Assumes that the class constructor takes only one parameter, an associative array of construction options. Attempts to load the class automatically.

  • return: object instance.
  • access: public
object An &factory (string $class, [array $options = null])
  • string $class: The class name to instantiate.
  • array $options: An associative array of options (default null).
import (line 31)

Loads a class from specified directories.

  • since: 1.5
void import ( $filePath, string $name, string|array $dirs)
  • string $name: The class name to look for.
  • string|array $dirs: Search these directories for the class.
  • $filePath

Documentation generated on Mon, 05 Mar 2007 21:09:54 +0000 by phpDocumentor 1.3.1