Source::arbitModuleSourceDefintion
Class arbitModuleSourceDefintion
Arbit Source module definition Arbit Source module definition
arbitBaseStruct
|
--arbitModuleDefintion
|
--arbitModuleSourceDefintion
Author(s):
|
Version:
|
$Revision: 1692 $ |
|
License:
|
GPL |
Member Variables
|
protected array |
$caches
= array( 'source_vcs' => array( 'path' => 'source/model/', 'ttl' => arbitCache::INFINITE, ),)
Array with caches registered on initialization
Each cache must have a unique name, normally prefixed with the module identifier. time to live for the cache.
Array with caches registered on initialization
Each cache must have a unique name, normally prefixed with the module identifier. The definition array should at least contain a path and a time to live for the cache.
'name' => array(
'path' => 'dir/',
),
...
|
|
protected array |
$commands
= array( 'source.update' => 'arbitModuleSourceUpdateCommand', 'source.prime-cache' => 'arbitModuleSourcePrimeCacheCommand', 'source.clean-metadata-cache' => 'arbitModuleSourceCleanMetadataCacheCommand', )
List of command definitions of the module
Array containing command names and their assiciated classes in the module definition.
List of command definitions of the module
Array containing command names and their assiciated classes in the module definition.
array(
'mymodule.mycommand' => 'myModuleMyCommand',
...
)
|
|
protected array |
$couchDbDocuments
= array( 'source_annotation' => 'arbitBackendCouchDbSourceAnnotationDocument', )
CouchDB documents to be registered at the document manager.
CouchDB documents to be registered at the document manager. |
|
protected array |
$couchDbViews
= array( 'source_annotations' => 'arbitBackendCouchDbSourceAnnotationView', )
CouchDB documents to be registered at the document manager.
CouchDB documents to be registered at the document manager. |
|
protected array |
$facades
= array( 'couchdb' => array( 'source_annotation' => 'arbitCouchDbSourceAnnotationFacade', ),)
Array with facades registered on initialization
Array with facedes for all known database backends linked with their respective implementation.
Array with facades registered on initialization
Array with facedes for all known database backends linked with their respective implementation.
'couchdb' => array(
'name' => 'class',
),
|
|
protected array |
$properties
= array( 'autoload' => null, 'permissions' => array( 'source_manage' => 'User is allowed perform source management task, like chckout, update & cache priming.', 'source_view_source' => 'User is allowed to view the source code in the web interface.', ),'slots'=>array('sourceAnnotate'=>'arbitModuleSourceController::annotateSource',),'signals'=>array('sourceAnnotate'=>'Annotate a source file [, line [, position]] with additional information.','sourceInitialized'=>'The source checkout has been initialized.','sourceUpdated'=>'The source checkout has been updated.',),'templateDirectory'=>'templates/','controller'=>'arbitModuleSourceController','path'=>__DIR__,)
Array containing the module structures properties.
Array containing the module structures properties.
Take a look at the property descriptions in the class level documentation for a more detailed description for each of the properties.
Do not add any properties to this array, which are not defined in this base class, because those might be used later on by the core. |
|
protected array |
$viewModels
= array( 'arbitViewXHtmlHandler' => array( 'arbitSourceCheckoutViewModel' => 'arbitModuleSourceXHtmlHandler::showCheckoutModel', 'arbitSourceDirectoryViewModel' => 'arbitModuleSourceXHtmlHandler::showDirectoryModel', 'arbitSourceFileViewModel' => 'arbitModuleSourceXHtmlHandler::showFileModel', 'arbitSourceHistoryModel' => 'arbitModuleSourceXHtmlHandler::showHistoryModel', 'arbitSourceDiffViewModel' => 'arbitModuleSourceXHtmlHandler::showDiffModel', 'arbitSourceAnnotationsViewModel' => 'arbitModuleSourceXHtmlHandler::showAnnotationsModel', ),'arbitViewTextHandler'=>array('arbitSourceCheckoutViewModel'=>'arbitModuleSourceTextHandler::showCheckoutModel',),)
List of view models used by the module
List of used view handlers associated with a list of view models used by the module, each associated with a callback to the concrete handler implementation to visit the view model.
List of view models used by the module
List of used view handlers associated with a list of view models used by the module, each associated with a callback to the concrete handler implementation to visit the view model.
'arbitViewXHtmlHandler' => array(
'myViewModel' => 'myXHtmlHandler::showMyModel',
...
),
...
|
Inherited Methods
|