include/utils/autoloader.php

Show: inherited
Table of Contents

\SugarAutoLoader

Package:

Properties

Propertypublic  $map= 'array( 'XTemplate'=>'XTemplate/xtpl.php', 'ListView'=>'include/ListView/ListView.php', 'Sugar_Smarty'=>'include/Sugar_Smarty.php', 'Javascript'=>'include/javascript/javascript.php', 'SugarSearchEngineFullIndexer'=>'include/SugarSearchEngine/SugarSearchEngineFullIndexer.php', 'SugarSearchEngineSyncIndexer'=>'include/SugarSearchEngine/SugarSearchEngineSyncIndexer.php', )'
static
Default valuearray( 'XTemplate'=>'XTemplate/xtpl.php', 'ListView'=>'include/ListView/ListView.php', 'Sugar_Smarty'=>'include/Sugar_Smarty.php', 'Javascript'=>'include/javascript/javascript.php', 'SugarSearchEngineFullIndexer'=>'include/SugarSearchEngine/SugarSearchEngineFullIndexer.php', 'SugarSearchEngineSyncIndexer'=>'include/SugarSearchEngine/SugarSearchEngineSyncIndexer.php', )Details
Type
n/a
Propertypublic  $moduleMap= 'array()'
static
Default valuearray()Details
Type
n/a
Propertypublic  $noAutoLoad= 'array( 'Tracker'=>true, )'
static
Default valuearray( 'Tracker'=>true, )Details
Type
n/a

Methods

methodpublicautoload(  $class ) : void
static

Parameters
Name Type Description
$class
methodprotectedgetFilenameForSugarWidget( \$class $class ) : String
static

getFilenameForSugarWidget This method attempts to autoload classes starting with name "SugarWidget". It first checks for the file in custom/include/generic/SugarWidgets directory and if not found defaults to include/generic/SugarWidgets.

This method is used so that we can easily customize and extend these SugarWidget classes.

Parameters
Name Type Description
$class \$class

String name of the class to load

Returns
Type Description
String file of the SugarWidget class; false if none found
Details
Static
 
methodprotectedgetFilenameForViewClass(  $class ) : void
static

Parameters
Name Type Description
$class
methodpublicloadAll( ) : void
static

Documentation was generated by DocBlox 0.18.1.