Ejemplo n.º 1
0
 /**
  * Sets a filter to restrict the number of related records to return from 
  * a portal. 
  *
  * The filter limits the number of related records returned by respecting 
  * the settings specified in the FileMaker Pro Portal Setup dialog box. 
  *
  * @param string $relatedsetsfilter Specify one of these values to  
  *        control filtering: 
  *        - 'layout': Apply the settings specified in the FileMaker Pro 
  *                    Portal Setup dialog box. The records are sorted based 
  *                    on the sort  defined in the Portal Setup dialog box, 
  *                    with the record set filtered to start with the 
  *                    specified "Initial row."
  *        - 'none': Return all related records in the portal without 
  *                  filtering or presorting them.
  * 
  * @param string $relatedsetsmax If the "Show vertical scroll bar" setting 
  *        is enabled in the Portal Setup dialog box, specify one of these 
  *        values:
  *        - an integer value: Return this maximum number of related records 
  *                            after the initial record.
  *        - 'all': Return all of the related records in the portal.
  *                 If "Show vertical scroll bar" is disabled, the Portal 
  *                 Setup dialog box's "Number of rows" setting determines 
  *                 the maximum number of related records to return. 
  */
 function setRelatedSetsFilters($relatedsetsfilter, $relatedsetsmax = null)
 {
     return $this->_impl->setRelatedSetsFilters($relatedsetsfilter, $relatedsetsmax);
 }