mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Prefer OO syntax
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299490 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
55940885de
commit
81cff4de74
20 changed files with 85 additions and 18 deletions
|
@ -28,6 +28,7 @@
|
|||
&reference.memcache.setup;
|
||||
&reference.memcache.constants;
|
||||
&reference.memcache.examples;
|
||||
&reference.memcache.memcache;
|
||||
&reference.memcache.reference;
|
||||
|
||||
</book>
|
||||
|
|
66
reference/memcache/memcache.xml
Normal file
66
reference/memcache/memcache.xml
Normal file
|
@ -0,0 +1,66 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 288721 $ -->
|
||||
|
||||
<phpdoc:classref xml:id="class.memcache" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
|
||||
<title>The Memcache class</title>
|
||||
<titleabbrev>Memcache</titleabbrev>
|
||||
|
||||
<partintro>
|
||||
|
||||
<!-- {{{ Memcache intro -->
|
||||
<section xml:id="memcache.intro">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
Represents a connection to a set of memcache servers.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
<section xml:id="memcache.synopsis">
|
||||
&reftitle.classsynopsis;
|
||||
|
||||
<!-- {{{ Synopsis -->
|
||||
<classsynopsis>
|
||||
<ooclass><classname>Memcache</classname></ooclass>
|
||||
|
||||
<!-- {{{ Class synopsis -->
|
||||
<classsynopsisinfo>
|
||||
<ooclass>
|
||||
<classname>Memcache</classname>
|
||||
</ooclass>
|
||||
</classsynopsisinfo>
|
||||
<!-- }}} -->
|
||||
|
||||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.memcache')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[1])" />
|
||||
</classsynopsis>
|
||||
<!-- }}} -->
|
||||
|
||||
</section>
|
||||
|
||||
</partintro>
|
||||
|
||||
&reference.memcache.entities.memcache;
|
||||
|
||||
</phpdoc:classref>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-add" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.add" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::add</refname>
|
||||
<refpurpose>Add an item to the server</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-addserver" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.addserver" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::addServer</refname>
|
||||
<refpurpose>Add a memcached server to connection pool</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-close" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.close" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::close</refname>
|
||||
<refpurpose>Close memcached server connection</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-connect" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.connect" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::connect</refname>
|
||||
<refpurpose>Open memcached server connection</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-decrement" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.decrement" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::decrement</refname>
|
||||
<refpurpose>Decrement item's value</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-delete" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.delete" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::delete</refname>
|
||||
<refpurpose>Delete item from the server</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-flush" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.flush" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::flush</refname>
|
||||
<refpurpose>Flush all existing items at the server</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-get" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.get" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::get</refname>
|
||||
<refpurpose>Retrieve item from the server</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-getextendedstats" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.getextendedstats" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::getExtendedStats</refname>
|
||||
<refpurpose>Get statistics from all servers in pool</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-getserverstatus" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.getserverstatus" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::getServerStatus</refname>
|
||||
<refpurpose>Returns server status</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-getstats" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.getstats" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::getStats</refname>
|
||||
<refpurpose>Get statistics of the server</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-getversion" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.getversion" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::getVersion</refname>
|
||||
<refpurpose>Return version of the server</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-increment" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.increment" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::increment</refname>
|
||||
<refpurpose>Increment item's value</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-pconnect" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.pconnect" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::pconnect</refname>
|
||||
<refpurpose>Open memcached server persistent connection</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-replace" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.replace" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::replace</refname>
|
||||
<refpurpose>Replace value of the existing item</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-set" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.set" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::set</refname>
|
||||
<refpurpose>Store data at the server</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-setcompressthreshold" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.setcompressthreshold" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::setCompressThreshold</refname>
|
||||
<refpurpose>Enable automatic compression of large values</refpurpose>
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.memcache-setserverparams" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="memcache.setserverparams" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>Memcache::setServerParams</refname>
|
||||
<refpurpose>Changes server parameters and status at runtime</refpurpose>
|
Loading…
Reference in a new issue