Exemple #1
0
 public function from($target, array $fields = null)
 {
     parent::from($target, $fields);
     $this->select->from($this->target, array());
     return $this;
 }
 /**
  * Choose a document type and the fields you are interested in
  *
  * {@inheritdoc} This registers the given target as type filter.
  */
 public function from($target, array $fields = null)
 {
     $this->setTypes(array($target));
     return parent::from($target, $fields);
 }
Exemple #3
0
 /**
  * Choose an objectClass and the columns you are interested in
  *
  * {@inheritdoc} This creates an objectClass filter.
  */
 public function from($target, array $fields = null)
 {
     $this->where('objectClass', $target);
     return parent::from($target, $fields);
 }
Exemple #4
0
 /**
  * Choose an objectClass and the columns you are interested in
  *
  * {@inheritdoc} This creates an objectClass filter.
  */
 public function from($target, array $fields = null)
 {
     $this->filters['objectClass'] = $target;
     return parent::from($target, $fields);
 }