PHP Class GcModule\Module

Inheritance: extends Gc\Mvc\Module
Mostrar archivo Open project: gotcms/gotcms

Protected Properties

Property Type Description
$directory string Module directory path
$namespace string Module namespace

Public Methods

Method Description
loadMenu ( Zend\EventManager\EventInterface $event ) : void Load menu if module has view with name "menu.phtml"
onBootstrap ( Zend\EventManager\EventInterface $event ) : void On boostrap event

Method Details

loadMenu() public method

Load menu if module has view with name "menu.phtml"
public loadMenu ( Zend\EventManager\EventInterface $event ) : void
$event Zend\EventManager\EventInterface Event
return void

onBootstrap() public method

On boostrap event
public onBootstrap ( Zend\EventManager\EventInterface $event ) : void
$event Zend\EventManager\EventInterface Event
return void

Property Details

$directory protected_oe property

Module directory path
protected string $directory
return string

$namespace protected_oe property

Module namespace
protected string $namespace
return string