Moderators Kyle Posted February 5, 2011 Moderators Report Share Posted February 5, 2011 Hey guys, I have this hub module in my localhost and I haven't done a thing to it yet, so I wanted to get it done. How can I call for the pilots like for example. I want the Hub CYYZ to get all of the CYYZ pilots into the Hub Page Roster. Any help would be great and I'll give you reps... (Always!) Thanks. Quote Link to comment Share on other sites More sharing options...
Tom Posted February 5, 2011 Report Share Posted February 5, 2011 You can use the following: PilotData::findPilots(array('p.hub'=>'CYYZ')) 1 Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted February 5, 2011 Author Moderators Report Share Posted February 5, 2011 Thanks Tom, I think I have a idea how to write out the CYYZHub Module. Thanks! Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted February 5, 2011 Author Moderators Report Share Posted February 5, 2011 Ok, Now I'm not sure how to code this, I want the pilot data to get the number of how many pilots are in a per hub. So here my code, for pilot data to hub....... <?php $pilots = PilotData::getAllPilotsByHub('CYYC'); ?> Now I want it to get the numbers of how many pilots are in that hub? How would I go doing that? Thanks, I'm still always giving you reps for helping me out here. Cheers! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.