On May 23, 4:41 pm, Repsah [EMAIL PROTECTED] wrote:
Yes, I was thinking as well about using a component but I wanted to make
sure this was the wisest choice.
I'll need a whole lot of them ;)
Maybe useful http://www.noswad.me.uk/MiBlog/MiniControllers
hth,
AD
I'm using cake 1.1.4, dealing with a requestAction problem.
In one of my controllers I need to apply some logic which clearly belongs to
another controller, to do this, I used a requestAction.
The abuse of this feature quickly brings a significant drop in performances.
In my opinoin, moving the
Enviado el: MiƩrcoles, 23 de Mayo de 2007 10:14 a.m.
Para: cake-php@googlegroups.com
Asunto: requestAction issue
In a situation like mine, what would be the best way to access another
controller's logic? Is there somewhere you can point me
-php@googlegroups.com
*Asunto:* requestAction issue
In a situation like mine, what would be the best way to access another
controller's logic? Is there somewhere you can point me to?
--~--~-~--~~~---~--~~
You received this message because you are subscribed
On Jan 31, 12:59 am, Dr. Tarique Sani [EMAIL PROTECTED]
There was a bug in v1.1 which prevented more than one requestAction
calls on the same page to the same plugin and it was fixed - search
the Trac for it, I had reported and submitted a patch - perhaps it is
a similar issue raising its
On 1/31/07, Doug [EMAIL PROTECTED] wrote:
I downloaded the nightly build ( 1.2.x.x_30.01.2007.zip ), which I
think is the newest I can get. And it looks different from your diff.
Yes, presume it would be different from the diff (the diff is not for
1.2) but the problem appears to be similar
On Jan 31, 2:20 am, Dr. Tarique Sani [EMAIL PROTECTED] wrote:
Go ahead hack the CakePHP core to make it work - create a patch and
post a ticket in the Trac with your patch attached - someone from the
dev team will apply the patch or suggest alternatives.
Thanks for your advice.
I opened a
I am using Cake 1.1.12.4205 calling a plugins action:
/catalog/search/General/
/plugin(controller same name)/action/parameter
All works fine. I add the following line to my default layout:
?php echo $this-requestAction(Menu/display/main_menu,
array( return=true ) ); ?
Where the Menu
On 1/31/07, Doug [EMAIL PROTECTED] wrote:
?php echo $this-requestAction(Menu/display/main_menu,
array( return=true ) ); ?
?php echo $this-requestAction(Menu/display/main_menu,
array( return=true ) ); ?
There was a bug in v1.1 which prevented more than one requestAction
calls on the same page
Hello all, i would like to know if there is a way to make
requestAction() only accept call from inside?
I use requestAction to fill select tag with option element from
ajax, but it is possible to look in the source code and discovery
javascript call: updater(/my_controller/my_options)
If the
morning Ismael,
I think this was brought up a while back in quite a lengthy
discussion, an interesting one mind you.
Basically, any function of your controller that you do not want
publicly available via the browser should be pre-cursed with an
underscore:
function _myOptions() {
}
I think
if($this-params['requested'] === true){// do your thing here}-- /*** @author Larry E. Masters* @var string $userName* @param string $realName* @returns string aka PhpNut* @accesspublic
*/
--~--~-~--~~~---~--~~
You received this message because you are subscribed
12 matches
Mail list logo