UDM_API_VERSION(3) 1 UDM_API_VERSION(3)
udm_api_version - Get mnoGoSearch API version
SYNOPSIS
int udm_api_version (void )
DESCRIPTION
Gets the mnoGoSearch API version.
This function allows the user to identify which API functions are available, e.g. udm_get_doc_count(3) function is only available in mno-
GoSearch 3.1.11 or later.
RETURN VALUES
udm_api_version(3) returns the mnoGoSearch API version number. E.g. if mnoGoSearch 3.1.10 API is used, this function will return 30110.
EXAMPLES
Example #1
udm_api_version(3) example
<?php
if (udm_api_version() >= 30111) {
echo "Total number of URLs in database: " . udm_get_doc_count($udm) . "<br />
";
}
?>
PHP Documentation Group UDM_API_VERSION(3)