Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getBlogsByDomain($domain, $limit = 10)
- {
- $q = $this->createQuery('d')
- ->leftJoin("d.Domain as dom")
- ->where("dom.code LIKE ?","$domain%")
- ->limit($limit);
- return $q->execute();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement