Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected function _initSelect()
- {
- parent::_initSelect();
- $this->join(
- [$this->getTable('second_table_name')],
- 'main_table.blogpost_id = '.$this->getTable('second_table_name').'.blogpost_id',
- array()
- );
- return $this;
- }
- public function addFieldToFilter($field, $condition = null)
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement