You can try with extending Zend_Controller_Plugin_Abstract
http://framework.zend.com/manual/en/zend.controller.plugins.html
Regards,
Saša Stamenković
On Tue, Dec 22, 2009 at 7:23 AM, Taha Bayrak tahabay...@gmail.com wrote:
Hi ,
I have a quick question:
What is the best practice for
Hi.
I have several fields of int type which I have in my form. I want to get
integer when I get values from form after submission. So, I attached int
filter like:
-addElement(
'text',
'name',
array(
What's the deal with haters hatin' on our old friend the base class? Maybe
you can implement base class functions like getAction using a dispatch level
plugin, but how is that better than a simple abstract class to base your
controllers around? My actual controllers are 80% method free, it's all
Great!
PS:
On this page http://framework.zend.com/download/latest in readme text link
on http://framework.zend.com/changelog/1.10.0alpha1 is failed.
Great!
PS:
On this page http://framework.zend.com/download/latest in readme text link
on http://framework.zend.com/changelog/1.10.0alpha1 is failed.
I have several options to solve this issue:
1) My own library has a My_Controller_Action, extending
Zend_Controller_Action. This controller provides basic functionality used
through the whole application (extending the __call to access action helpers
directly, for example).
2) Inside e.g. a
The original question was fogotten in our discussion.
Does anyone have a suggestion for building URL in that situation?
Thanks for the replies Jake and Guillaume, they have made me
think as I am currently adding somthing of the same to an app Im
Implementing, I was thinking of having a one
Here is a schematic view of the form I have:
(*) choice 1
[X] option 1
[_] option 2
[_] option 3
( ) choice 2
When choice 1 is checked, at least one of the three options should be
checked.
I wanted to write a specific validator for the options but...
as the options multi-checkbox
I get a fatal error when I try that:
Fatal error: Can't use method return value in write context in
/Users/hvirgen/Web/projects/virgentech/application/controllers/IndexController.php
on line 49
I swapped it for this test, which is similar to yours:
if (!$this-getValue()) {
return true;
}
Any one know hoy to refresh one imagen in a forun with decorate?
i alredy make a validate mail and username with jquery in some inputs.
i have a image captcha and i like to put a button/imagen with onclick action
refresh the captcha imagen..
pliz help me!!
Best Regards, Pablo
--
AgeValed
Hi all, I'm studying AjaxContent helper to stop my previous practice to just
echo things from controller for json responses..
Now, I have one question:
I have a object like this:
$res-rows = 1;
$res-columns = 2;
Now, I pass that object to view:
$this-view-res = $res;
And I get json response
foreach($res as $field = $value) {
$this-view-{$field} = $value;
}
On Tue, Dec 22, 2009 at 4:28 PM, Eugen_cro eugen.bo...@tvz.hr wrote:
Hi all, I'm studying AjaxContent helper to stop my previous practice to just
echo things from controller for json responses..
Now, I have one question:
Assuming it's Iterable, if not, use type casting first:
$res = (array) $res;
- jake
On Tue, Dec 22, 2009 at 4:46 PM, Jake McGraw jmcgr...@gmail.com wrote:
foreach($res as $field = $value) {
$this-view-{$field} = $value;
}
On Tue, Dec 22, 2009 at 4:28 PM, Eugen_cro eugen.bo...@tvz.hr
I know this has been discussed before, but was is the best way to handle
external modules?
I not asking for a place to find modules or for ZF to have a site
dedicated to modules, just want to know what the standard is for
installing a module into your existing system.
To me the library
hi Paul,
We have the same requirement at Studio 24: basically wanting to store
a re-usable module which has core, usually non-editable code which can
then be extended/customised for a client project.
I agree the normal ZF modules don't really cover this use case. At
present we place this
15 matches
Mail list logo