PHP: udm_api_version - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

udm_cat_list udm_alloc_agent

Last updated: Sat, 27 Jan 2007

view this page in

# udm_api_version

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.4)

udm_api_version -- Get mnoGoSearch API version

## Description

int udm_api_version ( void )

udm_api_version() returns the mnoGoSearch API version number. E.g. if mnoGoSearch 3.1.10 API is used, this function will return `30110`.

This function allows the user to identify which API functions are available, e.g. udm_get_doc_count() function is only available in mnoGoSearch 3.1.11 or later.

Пример 1. udm_api_version() example

`<?php if (udm_api_version() >= 30111) { echo "Total number of URLs in database: " . udm_get_doc_count($udm) . "<br />\n"; } ?>`

add a note User Contributed Notes
udm_api_version
There are no user contributed notes for this page.
udm_cat_list udm_alloc_agent

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST