-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You mean you want to access the current module in you bootstrap? The
module is only known after the dispatcher was started and the routing
finished. You may want to do you logic in a controller plugin:

$front->getRequest()->getModuleName();

takeshin wrote on 03.12.2009 16:00:
> How to get current module name in application resource?
> 
> It is stored in Dispatchers $_curModule member variable,
> but it is protected.
> 
> Request object is null.
> 
> Do I have to dispatch first? How?
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksYXuAACgkQ0HfT5Ws789DvLgCffiTW9a59kfyfqjQV9PAefrPK
VBUAoIAp9RmfPVQGiCdR4wu8+DFn1zG3
=s64v
-----END PGP SIGNATURE-----

Reply via email to