Esempio n. 1
0
 protected function _getLoadSelect($field, $value, $object)
 {
     $select = parent::_getLoadSelect($field, $value, $object);
     if (!is_null($this->childMode)) {
         $childTable = $this->getChildTable();
         $select->join($childTable, "`{$childTable}`.`" . $this->getChildPrimary() . "` = `" . $this->getMainTable() . '`.`id`');
     }
     return $select;
 }