I finally solved it..
// Module.php
public function init(Manager $moduleManager) {
$sharedEvents = $moduleManager-events()-getSharedManager();
$sharedEvents-attach('bootstrap', 'bootstrap', array($this,
'initializeView'), 100);
Careful, I would not just blindly overwrite them. Leave the ones that are
currently set, or make that logic configurable :)
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 18 May 2012 15:37, cmple [via Zend Framework Community]
ml-node+s634137n4644518...@n4.nabble.com
Did you read about the autoloader?
http://framework.zend.com/manual/en/zend.loader.autoloader.html
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 17 May 2012 07:37, Sbeeram [via Zend Framework Community]
ml-node+s634137n4642578...@n4.nabble.com wrote:
Hi,
I am
Hi,
How to include common files in Zend framework which are used in existing PHP
project.
Thanks,
Sbeeram
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/How-to-include-common-files-in-Zend-framework-which-are-used-in-existing-PHP-project-tp4642579.html
Marco Pivetta wrote
Careful, I would not just blindly overwrite them. Leave the ones that are
currently set, or make that logic configurable :)
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 18 May 2012 15:37, cmple [via Zend Framework Community]
I simply mean that you should check as following (pseudocode):
$viewModel = $controller-getEvent()-getViewModel();
if (!$viewModel-getVariable('controller')) {
$viewModel-setVariable('controller', $route-getParam('controller'));
}
Marco Pivetta
http://twitter.com/Ocramius
im getting this error :
Fatal error: Uncaught exception
'Zend\Stdlib\Exception\InvalidCallbackException' with message 'Invalid
callback provided; not callable' in
D:\xampp\htdocs\ttacounting\vendor\ZendFramework\library\Zend\Stdlib\CallbackHandler.php
on line *82
sina miandashti wrote
im getting this error :
Fatal error: Uncaught exception
'Zend\Stdlib\Exception\InvalidCallbackException' with message 'Invalid
callback provided; not callable' in
D:\xampp\htdocs\ttacounting\vendor\ZendFramework\library\Zend\Stdlib\CallbackHandler.php
on line *82
no
On Fri, May 18, 2012 at 11:36 PM, cmple roman.vidya...@gmail.com wrote:
sina miandashti wrote
im getting this error :
Fatal error: Uncaught exception
'Zend\Stdlib\Exception\InvalidCallbackException' with message 'Invalid
callback provided; not callable' in