|
PHP5中文手册
yaz_sort(PHP 4 >= 4.0.7, PECL yaz:0.9-1.0.9) yaz_sort — Sets sorting criteria 说明
void yaz_sort
( resource $id
, string $criteria
)
This function sets sorting criteria and enables Z39.50 Sort. Call this function before yaz_search(). Using this function alone does not have any effect. When used in conjunction with yaz_search(), a Z39.50 Sort will be sent after a search response has been received and before any records are retrieved with Z39.50 Present (yaz_present(). 参数
返回值无返回值。 范例Example#1 Sort Criterias To sort on Bib1 attribute title, case insensitive, and ascending you would use the following sort criteria:
If the secondary sorting criteria should be author, case sensitive and ascending you would use:
|