Ejemplo n.º 1
0
 /**
  * Retrieve query options.
  *
  * @return array query options.
  */
 public function getOptions()
 {
     $conditions = parent::getOptions();
     // Append remove specific options
     $conditions['justOne'] = $this->justOne;
     return $conditions;
 }
Ejemplo n.º 2
0
 /**
  * Returns the query options
  *
  * @return array query options
  */
 public function getOptions()
 {
     $options = parent::getOptions();
     $options['upsert'] = $this->upsert;
     $options['multiple'] = $this->multiple;
     return $options;
 }