Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function init()
- {
- $games = new Application_Model_DbTable_Game();
- $select = $games->select();
- $select->from('game');
- $select->where('idGameType = ?', 1);
- $select->order('titleGame');
- $this->view->games = $games->fetchAll($select);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement