Baseball data is fun stuff. :)

If thats all you want, can't you make a method in the Game model that
does a custom query, then use that as your pagination data? Something
like this (very rough):

function getSeriesData ( $params ) {

    $seriesQuery = '
    select distinct
        week,
        home_team,
        away_team
    from team
    where
        league_id = $league_id
    ';

    return $this->query($seriesQuery);
}

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to