Lorsque je fais un retour dans une fonction _init*()
dans mon bootstrap, que fait-il réellement? afin que je puisse dire un ne:Zend Framework Bootstrapping Questions
$x = $this->bootstrap('something');
Oh ou est-ce que je puisse faire $this->getResource('something')
. si je ne fais pas de retour, je ne peux pas obtenir la ressource plus tard?
Aussi, quand je fais un $x = $this->bootstrap('something');
je suppose que ce sera avant que bootstrap()
s'exécute automatiquement? Quand est-ce?
Lorsque je fais un $x = $application->getOption('something');
je reçois le tableau 'something' de la config? Ai-je besoin de faire un $application->getBootstrap()->bootstrap('something')
en premier?