Hi Jon,

hores ? ;)

You are right that it isn't appropriate for all situations, for example
My site map is constructed using this logic:

function collectInfo() {
loop here
        $SomeInfo[] = $this->requestAction ("/$AController/neverRenders");
end loop
        $this->set('data'$SomeInfo);
}

function neverRenders() {
        $this->autoLayout = false;
        $this->autoRender = false;
        return array('a'=>'value); // It returns a value!
}

The choice of approach should depend on if you want the data or the
rendered view. As needlessly requesting the data, makes your code
longer. Anyway as you were saying regarding horses ;)

Cheers,

AD7six


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to