\Horde_Autoloader_ClassPathMapper_Prefix

Provides a classmapper that implements generic pattern for different mapping types within the application directory.

Summary

Methods
Properties
Constants
__construct()
mapToPath()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_includePath
$_pattern
N/A

Properties

$_includePath

$_includePath : string

Include path.

Type

string

$_pattern

$_pattern : string

PCRE pattern to match in class.

Type

string

Methods

__construct()

__construct(string  $pattern, string  $includePath) 

Constructor

Parameters

string $pattern

PCRE pattern.

string $includePath

Include path.

mapToPath()

mapToPath(string  $className) : mixed

Search for a mapping from class to file path.

Parameters

string $className

Classname to load.

Returns

mixed —

Pathname to class, or false if not found.