Hi,
I replaced my old bootstrap.php and Initializer.php by the new Bootstrap.php
(class extends Zend_Application_Bootstrap_Bootstrap).
In my Initializer I had the functions routeStartup and routeShutdown where I
called some functions.
In my new implementation I created a controller plugin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is this possible?
No, use a controller plugin for that.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
This is what I'm doing till now.
How can I disable bootstrapping the view, to initialize it in the plugin?
Till Now the Botstrap class initializes the view and I'm overwriting it in
my Plugin...
DASPRiD wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is this possible?
No, use a
Hi,
Can someone plz tell me whether there is any provision in ZF where I can
put my common DB related functionalities, something like how action helpers
is to controllers?
All suggestions are welcome.
Thanks,
Vibhor
I would suggest either to use a DAO pattern to encapsulate all your database
calls in a well known area, or to read in your queries from some kind of
configuration file (a named query) approach. This will help from having
SQL queries spread like an infestation of ants.
Is there anything specific
-- Tom Graham tom.gra...@jadu.co.uk wrote
(on Tuesday, 28 July 2009, 09:19 PM +0100):
I noticed Zend have registered various planet domain names for Zend
Framework.
Domain name: PLANETZF.COM
Registrant:
Zend Technologies Ltd
12 Abba Hillel St.
Ramat-Gan, Israel 52506
Does anyone from
Typically, DB related calls are a subset of the responsibilities of your
model since the domain model is typically closely related to your data
model. If you have some domain specific queries that you need to run,
it might make sense to make a model specifically for them, and pass the
object
On Wed, Jul 29, 2009 at 2:36 PM, Matthew Weier
O'Phinneymatt...@zend.com wrote:
-- Tom Graham tom.gra...@jadu.co.uk wrote
(on Tuesday, 28 July 2009, 09:19 PM +0100):
I noticed Zend have registered various planet domain names for Zend
Framework.
This has been an interesting chicken and the
Hi, I have a question, How indicate to Zend_form the encoding? I want to
use encoding ISO because my app is in this charset, but the Zend_form is
utf-8 currently
Greetings and thanks
I have this code:
Controller:
$form = new Zend_Form();
$form-setName()
Zend_Form uses the view from the action controller's view renderer by
default.
Forgot to send to list :)
--
If you're using the new Zend_Application, you can add this line to your
application.ini:
resources.view.encoding = ISO-8859-1
Or, you can manually set the view early in your application:
Using version 1.8.4 of the framework, I am getting a PHP warning on a
login page I wrote. It is only a warning, so it could be suppressed,
and it happens prior to a redirect so the user never sees an error
message in any event, but I would like to eliminate the warning rather
than ignore it:
Hi
When defining form elements as required or not, the output is something like
this:
label for=header class=requiredHeader/label
label for=header class=optionalHeader/label
Is it possible to remove the required or optional and set them with another
values ?
Cheers
holo
Hi all,
I'm up against something that has me stumped (not too hard to do ;)
In html it is possible to name form elements with array names. For
example, if I wanted a collection of an arbitrary number of elements
such as favorite colors I could create elements like:
input
I would also like to know this. Is it possible?
admirau wrote:
Is there a possibility to have multiple menus constructed via
application.ini?
Now I do:
resources.view[] =
resources.navigation.pages.indexFoo.label = Foo
resources.navigation.pages.indexFoo.controller = index
Do you need multiple text inputs that post as an array? You could create a
multiText form element that extends Zend_Form_Element_Multi. Take a look
at Zend_Form_Element_MultiRadio to see how it works.
Yesterday I had to create a series of checkboxes that were built to look
like a navigation tree
tobis wrote:
I would also like to know this. Is it possible
You may have one navigation in app.ini,
and render only part when needed,
using something like this:
$myMenuContainer = $nav-getOneByLabel('myLabel');
$this-navigation()-menu()-renderMenu($myMenuContainer);
(*not tested)
Hi,
I and Bosco are working on Zend_Service_Ebay proposal
this is ready for your review
please visit
http://framework.zend.com/wiki/pages/viewpage.action?pageId=13107308
enjoy!!
thanks,
--
Renan de Lima Barbosa
gtalk/msn: renandel...@gmail.com
skype: renandelima
+55 61 8166-7755
Hi,
I am unsure if and how I can get an instance to a registered resource,
if the context is not within an action controller.
Inside an controller you can do something like :
$bootstrap = $this-getInvokeArg('bootstrap');
if ($bootstrap $bootstrap-hasResource('log'))
$this-logger =
I believe the front controller has a reference to the bootstrap in its
params:
$bootstrap = Zend_Controller_Front::getInstance()-getParam('bootstrap');
--
Hector
On Wed, Jul 29, 2009 at 1:28 PM, B. Kamer p...@bushbaby.nl wrote:
Hi,
I am unsure if and how I can get an instance to a
Yes, you are correct, this works...
thank you!
On 29 jul 2009, at 22:32, Hector Virgen wrote:
I believe the front controller has a reference to the bootstrap in
its params:
$bootstrap = Zend_Controller_Front::getInstance()-
getParam('bootstrap');
Hi,
in http://framework.zend.com/wiki/display/ZFDEV/Subversion+Standards there
is a link to http://sandbox.zend.com/download/ which seems to be down (in
the Anonymous Checkout paragraph).
--
Regards,
Thomas
Hi,
I needed a solution for a drop down alphanumeric paginator for names with
select options like:
Abigail - Caleb
Eliza - Gavin
Isabella - Matthew
My quick solution is probably very far from the best solution, but here it
is:
(thanks for any comments, improvements or anything :) )
$select =
Hi, Thanks Ralph. Much appreciated.
I ended up string the form in the registry, which seemed to work pretty
well.
Thanks again, Will
Ralph Schindler-2 wrote:
_forward will return back to the Action Controller, but will actually
create a new instance of the action controller to utilize.
Thanks for the speedy reply Matthew.
I have submitted the issue tracker ticket:
See: http://framework.zend.com/issues/browse/ZF-7416
-
(P.S The level of dedication you have put into this project is inspiring).
-
Matthew Weier O'Phinney-3 wrote:
-- ronnystalker
24 matches
Mail list logo