Пример #1
0
 /**
  * 
  * Gets the foreign-model WHERE conditions and merges with the
  * WHERE conditions on this relationship.
  * 
  * @param string $alias The alias to use for the foreign table.
  * 
  * @return array An array of WHERE conditions.
  * 
  */
 public function getForeignConditions($alias)
 {
     $where = array_merge($this->conditions, $this->_foreign_model->getConditions($alias));
     return $where;
 }