PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

udm_get_doc_count

(PHP 4 >= 4.0.5, PHP 5 <= 5.0.5, PECL mnogosearch >= 1.0.0)

udm_get_doc_countGet total number of documents in database

Description

int udm_get_doc_count ( resource $agent )

udm_get_doc_count() returns the number of documents in the database.

Parameters

agent

A link to Agent, received after call to udm_alloc_agent().

Return Values

Returns the number of documents.

Notes

Note:

This function is supported only in mnoGoSearch 3.1.11 or later.

PHP Manual