[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pecl-cvs
Subject:    [PECL-CVS] com =?UTF-8?Q?pecl/database/mysql=5Fxdevapi=3A=20WL=23=31=31=39=34=39=3A?= =?UTF-8?Q?=20g
From:       hery ramilison <mysqlre () php ! net>
Date:       2018-04-29 22:16:33
Message-ID: php-mail-4d3380b36d371fc0f0b3ab5752ac57961510882126 () git ! php ! net
[Download RAW message or body]

Commit:    3837ac0378aaaa2c224b6d3ae8f757a49e3914c9
Author:    Darek Slusarczyk <dariusz.slusarczyk@oracle.com>         Mon, 30 Apr 2018 \
                00:16:33 +0200
Parents:   ebed1e7aa7c34448fccc6882329bfda7fcd9df11
Branches:  release/8.0.13

Link:       http://git.php.net/?p=pecl/database/mysql_xdevapi.git;a=commitdiff;h=3837ac0378aaaa2c224b6d3ae8f757a49e3914c9


Log:
WL#11949: getSchema superfluous param
- sample added for Collection.getSchema()

Bugs:
https://bugs.php.net/11949

Changed paths:
  M  mysql_xdevapi/collection/getschema.xml


Diff:
diff --git a/mysql_xdevapi/collection/getschema.xml \
b/mysql_xdevapi/collection/getschema.xml index 78a0641..cdf8f56 100644
--- a/mysql_xdevapi/collection/getschema.xml
+++ b/mysql_xdevapi/collection/getschema.xml
@@ -27,11 +27,27 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   The schema object on success, or &null; if the object cannot be retrieved 
+   The schema object on success, or &null; if the object cannot be retrieved
    for the given collection.
   </para>
  </refsect1>
 
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <example>
+   <title><function>mysql_xdevapi\Collection::getSchema</function> example</title>
+   <programlisting role="php">
+<![CDATA[
+<?php
+
+$schema = $collection->getSchema();
+
+?>
+]]>
+   </programlisting>
+  </example>
+ </refsect1>
+
 </refentry>
 
 <!-- Keep this comment at the end of the file


--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic