예제 #1
0
 protected function getWheres()
 {
     if (!($result = $this->getDynamicWhere())) {
         $result = parent::getWheres();
     }
     return $result;
 }
예제 #2
0
 public function filterQuery(sql\query\parser\Basic $query)
 {
     $query->setWhere($this->getForeign(), '=', $this->getParent()->getElementArgument('id'));
 }