Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- */
- class PluginArticleTable extends Doctrine_Table
- {
- public function fetchActiveArticles()
- {
- $query = $this->createQuery('a')
- ->where('a.is_active = 1')
- ->fetchArray();
- return $query;
- }
Add Comment
Please, Sign In to add comment