From c62eb80c511d8a0daab74bb71d7f5f3573a5d07a Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Tue, 16 Jan 2007 02:06:26 +0000 Subject: [PATCH] Document muscat to meet the new doc style git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227345 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/muscat/functions/muscat-close.xml | 49 +++++++++++++-- reference/muscat/functions/muscat-get.xml | 46 ++++++++++++-- reference/muscat/functions/muscat-give.xml | 54 +++++++++++++++-- .../muscat/functions/muscat-setup-net.xml | 59 ++++++++++++++---- reference/muscat/functions/muscat-setup.xml | 60 +++++++++++++++---- reference/muscat/reference.xml | 8 ++- 6 files changed, 241 insertions(+), 35 deletions(-) diff --git a/reference/muscat/functions/muscat-close.xml b/reference/muscat/functions/muscat-close.xml index 571a5ff2ed..2c938682e3 100644 --- a/reference/muscat/functions/muscat-close.xml +++ b/reference/muscat/functions/muscat-close.xml @@ -1,19 +1,58 @@ - + muscat_close - Shuts down the muscat session and releases any memory back to PHP + Shuts down the muscat session - - Description + + + &reftitle.description; voidmuscat_close resourcemuscat_handle &warn.experimental.func; - &warn.undocumented.func; + + Shuts down the muscat session and releases any memory back to PHP. + + + + &reftitle.parameters; + + + + muscat_handle + + + A muscat session handler, returned by + muscat_setup or + muscat_setup_net. + + + + + + + + + &reftitle.returnvalues; + + &return.void; + + + + + &reftitle.seealso; + + + muscat_setup + muscat_setup_net + + + + + muscat_get Gets a line back from the core muscat API - - Description + + + &reftitle.description; stringmuscat_get resourcemuscat_handle &warn.experimental.func; - &warn.undocumented.func; + + Gets a line back from the core muscat API. + + + + + &reftitle.parameters; + + + + muscat_handle + + + A muscat session handler, returned by + muscat_setup or + muscat_setup_net. + + + + + + + + + &reftitle.returnvalues; + + Returns the muscat response, as a string. + &return.falseproblem; + + + &reftitle.seealso; + + + muscat_give + + + + + muscat_give Sends string to the core muscat API - - Description + + + &reftitle.description; voidmuscat_give resourcemuscat_handle stringstring &warn.experimental.func; - &warn.undocumented.func; + + Sends a string to the core muscat API. + + + + &reftitle.parameters; + + + + muscat_handle + + + A muscat session handler, returned by + muscat_setup or + muscat_setup_net. + + + + + string + + + The string to be sent + + + + + + + + + &reftitle.returnvalues; + + &return.void; + + + + + &reftitle.seealso; + + + muscat_get + + + + + muscat_setup_net - Creates a new muscat session and returns the handle + Creates a new muscat session - - Description + + + &reftitle.description; resourcemuscat_setup_net stringmuscat_host + intport &warn.experimental.func; - muscat_setup_net creates a new muscat session and - returns the handle. - - - muscat_host is the hostname to connect to. - port is the port number to connect to. + Creates a new muscat session. + + + &reftitle.parameters; + + + + muscat_host + + + The host name to connect to + + + + + port + + + The port number to connect to + + + + + + + + + &reftitle.returnvalues; + + Returns a session handler or &false; on error. + + + + + &reftitle.seealso; + + + muscat_setup + muscat_close + + + + + muscat_setup - Creates a new muscat session and returns the handle + Creates a new local muscat session - - Description + + + &reftitle.description; resourcemuscat_setup intsize @@ -14,15 +15,52 @@ &warn.experimental.func; - &warn.undocumented.func; - - - size is the amount of memory in bytes to allocate - for muscat. muscat_dir is the muscat installation - dir e.g. "/usr/local/empower", it defaults to the compile time muscat - directory. + Creates a new local muscat session. + + + &reftitle.parameters; + + + + size + + + The amount of memory in bytes to allocate for muscat + + + + + muscat_dir + + + The muscat installation dir e.g. "/usr/local/empower", it defaults to + the compile time muscat directory. + + + + + + + + + &reftitle.returnvalues; + + Returns a session handler or &false; on error. + + + + + &reftitle.seealso; + + + muscat_setup_net + muscat_close + + + + + @@ -11,6 +11,12 @@
&reftitle.intro; + + This extension provides an interface to the Muscat 3.6 search system. + Muscat doesn't exist anymore, but the Xapian project may provide you with a + good alternative. + &warn.experimental;