cvs: phpdoc /en/reference/info/functions php-logo-guid.xml zend-logo-guid.xml
| From: | Mehdi Achour | Date: | Sat, 16 Aug 2003 23:38:35 +0000 |
| Subject: | cvs: phpdoc /en/reference/info/functions php-logo-guid.xml zend-logo-guid.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969355857@lists.php.net to get a copy of this message | ||
didou Sat Aug 16 19:38:35 2003 EDT
Modified files:
/phpdoc/en/reference/info/functions php-logo-guid.xml
zend-logo-guid.xml
Log:
adding two more examples and linking to each other
Index: phpdoc/en/reference/info/functions/php-logo-guid.xml
diff -u phpdoc/en/reference/info/functions/php-logo-guid.xml:1.4
phpdoc/en/reference/info/functions/php-logo-guid.xml:1.5
--- phpdoc/en/reference/info/functions/php-logo-guid.xml:1.4 Mon Jun 16 15:33:51 2003
+++ phpdoc/en/reference/info/functions/php-logo-guid.xml Sat Aug 16 19:38:35 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/info.xml, last change in rev 1.3 -->
<refentry id="function.php-logo-guid">
<refnamediv>
@@ -17,10 +17,26 @@
using the built-in image.
</para>
<para>
+ <example>
+ <title><function>php_logo_uid</function> example</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+
+echo '<im src="' . $_SERVER['PHP_SELF'] .
+ '?=' . php_logo_guid() . '" alt="PHP Logo !" />';
+
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ <para>
See also
<function>phpinfo</function>,
- <function>phpversion</function>, and
- <function>phpcredits</function>.
+ <function>phpversion</function>,
+ <function>phpcredits</function> and
+ <function>zend_logo_guid</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc/en/reference/info/functions/zend-logo-guid.xml
diff -u phpdoc/en/reference/info/functions/zend-logo-guid.xml:1.3
phpdoc/en/reference/info/functions/zend-logo-guid.xml:1.4
--- phpdoc/en/reference/info/functions/zend-logo-guid.xml:1.3 Mon Jun 16 15:33:51 2003
+++ phpdoc/en/reference/info/functions/zend-logo-guid.xml Sat Aug 16 19:38:35 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/info.xml, last change in rev 1.39 -->
<refentry id="function.zend-logo-guid">
<refnamediv>
@@ -15,6 +15,24 @@
<para>
This function returns the ID which can be used to display the Zend logo
using the built-in image.
+ </para>
+ <para>
+ <example>
+ <title><function>zend_logo_uid</function> example</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+
+echo '<im src="' . $_SERVER['PHP_SELF'] .
+ '?=' . zend_logo_guid() . '" alt="Zend Logo !" />';
+
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ <para>
+ See also <function>php_logo_guid</function>.
</para>
</refsect1>
</refentry>