Class miLoader

Description

Loads other classes upon construction

  • copyright: Copyright (c) 2006 Mirchev Ideas Ltd. All rights reserved.

Located in /util/Loader.php (line 13)


	
			
Variable Summary
static mixed $_classMap
static mixed $_includePath
Method Summary
static void addClass (string $className, string $classFile)
static bool load (string $className)
Variables
static mixed $_classMap = array(
'miDBUtilImpl' => 'database/DBUtilImpl.php',
'miStaticDBUtil' => 'database/StaticDBUtil.php',

'miAction' => 'control/Actions.php',
'miActionWithWebForm' => 'control/Actions.php',
'miViewAction' => 'control/Actions.php',
'miCreateAction' => 'control/Actions.php',
'miExecCreateAction' => 'control/Actions.php',
'miEditAction' => 'control/Actions.php',
'miExecEditAction' => 'control/Actions.php',
'miExecDeleteAction' => 'control/Actions.php',
'miListAction' => 'control/Actions.php',
'miAppFactory' => 'control/AppFactory.php',
'miControllerCommand' => 'control/ControllerCommand.php',
'miViewPlugin' => 'control/ViewPlugin.php',
'miCsvExportAction' => 'control/CsvExport.php',
'miDispatcher' => 'control/Dispatcher.php',
'miDefaultDispatcher' => 'control/Dispatcher.php',
'miSubmitFieldsPlugin' => 'control/SubmitFieldsPlugin.php',
'miPage' => 'control/Page.php',

'miDomainObject' => 'model/DomainObject.php',
'miDefaultDomainObject' => 'model/DomainObject.php',
'miViewMapperController' => 'model/ViewMapper.php',
'miViewMapperControllerDefault' => 'model/ViewMapper.php',
'miViewMapper' => 'model/ViewMapper.php',
'miViewMapperDefault' => 'model/ViewMapper.php',

'miPropertiesRecord' => 'model/PropertiesRecord.php',
'miSqlComplexPKRecord' => 'model/SqlComplexPKRecord.php',
'miSqlFilter' => 'model/SqlFilters.php',
'miSqlFilterOneValue' => 'model/SqlFilters.php',
'miSqlFilterSubstring' => 'model/SqlFilters.php',
'miSqlFilterStarts' => 'model/SqlFilters.php',
'miSqlFilterEnds' => 'model/SqlFilters.php',
'miSqlFilterSimple' => 'model/SqlFilters.php',
'miSqlFilterEqual' => 'model/SqlFilters.php',
'miSqlFilterNotEqual' => 'model/SqlFilters.php',
'miSqlFilterBiggerThan' => 'model/SqlFilters.php',
'miSqlFilterBiggerOrEqual' => 'model/SqlFilters.php',
'miSqlFilterSmallerThan' => 'model/SqlFilters.php',
'miSqlFilterSmallerOrEqual' => 'model/SqlFilters.php',
'miSqlFilterRegExp' => 'model/SqlFilters.php',
'miSqlFilterIn' => 'model/SqlFilters.php',
'miSqlFilterNotIn' => 'model/SqlFilters.php',
'miSqlFilterCustom' => 'model/SqlFilters.php',
'miSqlRecord' => 'model/SqlRecord.php',
'miSqlRecordset' => 'model/SqlRecordset.php',

'miBreadcrumb' => 'util/Breadcrumb.php',
'miException' => 'util/Exceptions.php',
'miDBException' => 'util/Exceptions.php',
'miConfigurationException' => 'util/Exceptions.php',
'miTemplateParserSectionInfo' => 'util/TemplateParser.php',
'miTemplateParser' => 'util/TemplateParser.php',
'miSettings' => 'util/Settings.php',
'miState' => 'util/State.php',
'miUtil' => 'util/Util.php',

'miUIUtil' => 'view/UIUtil.php',
'miValidator' => 'view/Validators.php',
'miValidatorEmail' => 'view/Validators.php',
'miValidatorDate' => 'view/Validators.php',
'miValidatorInt' => 'view/Validators.php',
'miValidatorDecimal' => 'view/Validators.php',
'miValidatorIcq' => 'view/Validators.php',
'miValidatorHttp' => 'view/Validators.php',
'miValidatorGsm' => 'view/Validators.php',
'miValidatorIp' => 'view/Validators.php',
'miValidatorUnique' => 'view/Validators.php',
'miTable' => 'view/Table.php',
'miTableFeature' => 'view/TableFeature.php',
'miTableFilters' => 'view/TableFilters.php',
'miTablePager' => 'view/TablePager.php',
'miDefaultTablePager' => 'view/TablePager.php',
'miSimpleTablePager' => 'view/TablePager.php',
'miTableCustomParams' => 'view/TableCustomParams.php',
'miTableSorter' => 'view/TableSorter.php',
'miMessage' => 'view/Message.php',
'miWebForm' => 'view/WebForm.php',
'miWebFormErrorsHandler' => 'view/WebFormErrorsHandler.php',
'miWebFormMessageErrorsHandler' => 'view/WebFormErrorsHandler.php',
'miWidget' => 'view/Widget.php',
'miBaseWidget' => 'view/BaseWidgets.php',
'miBaseTextWidget' => 'view/BaseWidgets.php',
'miBaseCheckboxWidget' => 'view/BaseWidgets.php',
'miBaseRadioWidget' => 'view/BaseWidgets.php',
'miBaseSelectWidget' => 'view/BaseWidgets.php',
'miTextWidget' => 'view/StandardWidgets.php',
'miCheckboxWidget' => 'view/StandardWidgets.php',
'miRadioWidget' => 'view/StandardWidgets.php',
'miSelectWidget' => 'view/StandardWidgets.php',
'miView' => 'view/View.php',
'miDefaultView' => 'view/View.php',
)
(line 21)

Map from class names to files

  • access: protected
static mixed $_includePath = null (line 14)
  • access: protected
Methods
static method addClass (line 144)

Adds a new class to the loader

  • access: public
static void addClass (string $className, string $classFile)
  • string $className
  • string $classFile
static method load (line 125)

Loads a class

  • return: true on success
  • access: public
static bool load (string $className)
  • string $className: the class to load

Documentation generated on Thu, 08 May 2008 16:57:28 +0300 by phpDocumentor 1.4.1