Support Joomla!

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2008 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class JLoader

Description

Located in /loader.php (line 21)

Class JLoader
Method Summary
Method void import ( $filePath, [string $base = null], [string $key = 'libraries.'], string $name)
Method boolean load (string $class)
Method array|boolean &register ([ $class = null], [string $file = null], string $classname)
Methods
import (line 32)

Loads a class from specified directories.

  • since: 1.5
void import ( $filePath, [string $base = null], [string $key = 'libraries.'], string $name)
  • string $name: The class name to look for ( dot notation ).
  • string $base: Search this directory for the class.
  • string $key: String used as a prefix to denote the full path of the file ( dot notation ).
  • $filePath
load (line 130)

Load the file for a class

  • return: True on success
  • since: 1.5
  • access: public
boolean load (string $class)
  • string $class: The class that will be loaded
register (line 97)

Add a class to autoload

  • return: Array of classes
  • since: 1.5
array|boolean &register ([ $class = null], [string $file = null], string $classname)
  • string $classname: The class name
  • string $file: Full path to the file that holds the class
  • $class

Documentation generated on Sat, 14 Nov 2009 11:15:34 +0000 by phpDocumentor 1.3.1