Advertisement
Guest User

Untitled

a guest
May 28th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. protected function _initSelect()
  2. {
  3. parent::_initSelect();
  4.  
  5. $this->join(
  6. [$this->getTable('second_table_name')],
  7. 'main_table.blogpost_id = '.$this->getTable('second_table_name').'.blogpost_id',
  8. array()
  9. );
  10.  
  11. return $this;
  12. }
  13.  
  14. public function addFieldToFilter($field, $condition = null)
  15. {
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement