Beispiel #1
0
Datei: Id.php Projekt: t4web/base
 public function build(QueryBuilderInterface $queryBuilder)
 {
     if ($this->isForeign) {
         $queryBuilder->join($this->joinTable, $this->joinRule);
     } else {
         $queryBuilder->from($this->table);
     }
     $queryBuilder->addFilterEqual("{$this->table}.id", $this->id);
 }
Beispiel #2
0
 public function build(QueryBuilderInterface $queryBuilder)
 {
     if ($this->isForeign) {
         $queryBuilder->join($this->joinTable, $this->joinRule);
     } else {
         $queryBuilder->from($this->table);
     }
     $this->callBuildMethod($queryBuilder);
 }
Beispiel #3
0
 public function build(QueryBuilderInterface $queryBuilder)
 {
     if (!$this->isForeign) {
         $queryBuilder->from($this->table);
     }
 }