Méthode |
Description |
|
__construct ( mixed $config = null, array $module = null, Router $router = null ) : Project |
Constructor |
|
attachEvent ( string $name, mixed $action, integer $priority ) : Project |
Attach an event. Default project event name hook-points are: |
|
config ( ) : Config |
Access the project config |
|
database ( string $dbname ) : Db |
Access a project database |
|
detachEvent ( string $name, mixed $action ) : Project |
Detach an event. Default project event name hook-points are: |
|
factory ( mixed $config = null, array $module = null, Router $router = null ) : Project |
Static method to instantiate the project object and return itself
to facilitate chaining methods together. |
|
getEventManager ( ) : Manager |
Get the event Manager |
|
getService ( string $name ) : mixed |
Get a service |
|
getServiceLocator ( ) : Locator |
Get the service Locator |
|
isLoaded ( string $name ) : boolean |
Determine whether a module is loaded |
|
loadConfig ( mixed $config ) : Project |
Load a project config |
|
loadModule ( array $module ) : Project |
Load a module config |
|
loadRouter ( Router $router ) : Project |
Load a router |
|
log ( string $message, integer $time = null, integer $priority = Pop\Log\Logger::INFO ) : void |
Log the project. |
|
logger ( ) : Logger |
Access the project logger |
|
module ( string $name ) : Config |
Access a project module config |
|
modules ( ) : array |
Access all project module configs |
|
router ( ) : Router |
Access the project router |
|
run ( ) : void |
Run the project. |
|
setService ( string $name, mixed $call, mixed $params = null ) : Project |
Set a service |
|