Esempio n. 1
0
 /**
  * Set the attribute distinction filter.
  *
  * @param   string  $name   The name of an attribute to be distinct.
  * @return  void
  * @access  public
  */
 function set_distinct($name)
 {
     ESTRAIERPURE_DEBUG && EstraierPure_Utility::check_types(array($name, 'string'));
     $this->distinct = EstraierPure_Utility::sanitize($name);
 }
Esempio n. 2
0
 function set_skip($skip)
 {
     ESTRAIERPURE_DEBUG && EstraierPure_Utility::check_types(array($skip, 'integer'));
     $this->skip = EstraierPure_Utility::sanitize($skip);
 }
Esempio n. 3
0
 /**
  * Set the order of a condition object.
  *
  * @param   string  $order  An expression for the order.
  *                          By default, the order is by score descending.
  * @return  void
  * @access  public
  */
 public function set_order($order)
 {
     ESTRAIERPURE_DEBUG && EstraierPure_Utility::check_types(array($order, 'string'));
     $this->order = EstraierPure_Utility::sanitize($order);
 }