Hi Chris,
Here's a simple solution I use for myself (I don't use XML, but I use
it for a search function)
$xmlData = [read the xmlfeed and return it as an array]
/* run through the array */
foreach($xmlData as $key => $val) {
/* the value will be sortable by the key */
$this->pagination[$key] = $val;
}
$this->set('result', $this->paginate());
I hope this will help you out!
Johan de Jong
On 18 jan, 22:05, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Jan 18, 2008 1:54 PM, [EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]> wrote:
>
> > Why are you using MVC if you aren't making models?
>
> It's not about not using models, it's about using non-database powered models.
>
> --
> Chris Hartjes
> Internet Loudmouth
> Motto for 2008: "Moving from herding elephants to handling snakes..."
> @TheKeyBoard:http://www.littlehart.net/atthekeyboard
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---