Ejemplo n.º 1
0
 /**
  * Adds a sorting rule to this Find command.
  *
  * @param string $fieldname Name of the field to sort by.
  * @param integer $precedence Integer from 1 to 9, inclusive. A value 
  *        of 1 sorts records based on this sorting rule first, a value of 
  *        2 sorts records based on this sorting rule only when two or more 
  *        records have the same value after the first sorting rule is 
  *        applied, and so on.
  * @param mixed $order Direction of the sort. Specify the 
  *        FILEMAKER_SORT_ASCEND constant, the FILEMAKER_SORT_DESCEND 
  *        constant, or the name of a value list specified as a string.
  */
 function addSortRule($fieldname, $precedence, $order = null)
 {
     $this->_impl->addSortRule($fieldname, $precedence, $order);
 }