\Nano4\PluginsViews

Summary

Methods
Properties
Constants
__construct()
__construct_files()
is()
find_file()
find_class()
addDir()
class_id()
load()
$dirs
$ext
$class_naming
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$dirs

$dirs : 

Type

$ext

$ext : 

Type

$class_naming

$class_naming : 

Type

Methods

__construct()

__construct(  $opts = array()) 

Parameters

$opts

__construct_files()

__construct_files(  $opts = array()) 

Parameters

$opts

is()

is(string  $filename) 

Does the given file exist?

Parameters

string $filename

The class name to look for.

find_file()

find_file(  $filename) 

Find the file associated with a class.

Similar to is() but returns the first file that exists, or Null if no possible matches were found.

Parameters

$filename

find_class()

find_class(  $class) 

Get a class name for a file.

This performs a require_once on the file as well.

Parameters

$class

addDir()

addDir(string  $dir,   $top = False) 

Add a directory to search through.

Parameters

string $dir

The name of the directory to add.

$top

class_id()

class_id(  $object) 

Get a class id from an object instance.

This is not generally recommended for use anymore, and is not guaranteed to exist in other Loader classes.

Parameters

$object

load()

load(  $class,   $data = Null) 

Parameters

$class
$data