cvs: phpdoc /en/reference/regex/functions ereg.xml /en/reference/sam setup.xml /en/reference/sam/functions SAM-Connection-send.xml
SAM-Message-header.xml /en/reference/sca reference.xml /en/reference/sdo setup.xml /en/reference/sdo_das_xml/functions
SDO-DAS-XML-Document-setXMLDeclaration.xml
| From: | Yannick Torres | Date: | Wed, 22 Apr 2009 21:27:21 +0000 |
| Subject: | cvs: phpdoc /en/reference/regex/functions ereg.xml /en/reference/sam setup.xml /en/reference/sam/functions SAM-Connection-send.xml SAM-Message-header.xml /en/reference/sca reference.xml /en/reference/sdo setup.xml /en/reference/sdo_das_xml/functions SDO-DAS-XML-Document-setXMLDeclaration.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3846@lists.php.net to get a copy of this message | ||
yannick Wed Apr 22 21:27:21 2009 UTC
Modified files:
/phpdoc/en/reference/regex/functions ereg.xml
/phpdoc/en/reference/sam/functions SAM-Connection-send.xml
SAM-Message-header.xml
/phpdoc/en/reference/sam setup.xml
/phpdoc/en/reference/sca reference.xml
/phpdoc/en/reference/sdo setup.xml
/phpdoc/en/reference/sdo_das_xml/functions
SDO-DAS-XML-Document-setXMLDeclaration.xml
Log:
correct markup
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/regex/functions/ereg.xml?r1=1.17&r2=1.18&diff_format=u Index: phpdoc/en/reference/regex/functions/ereg.xml diff -u phpdoc/en/reference/regex/functions/ereg.xml:1.17 phpdoc/en/reference/regex/functions/ereg.xml:1.18 --- phpdoc/en/reference/regex/functions/ereg.xml:1.17 Mon Mar 23 21:08:01 2009 +++ phpdoc/en/reference/regex/functions/ereg.xml Wed Apr 22 21:27:21 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> +<!-- $Revision: 1.18 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.ereg"> <refnamediv> <refname>ereg</refname> @@ -51,9 +51,10 @@ in the elements of the array <parameter>regs</parameter>. </para> <para> - $regs[1] will contain the substring which starts at the first left - parenthesis; $regs[2] will contain the substring starting at the - second, and so on. $regs[0] will contain a copy of the complete string + <varname>$regs[1]</varname> will contain the substring which starts at + the first left parenthesis; <varname>$regs[2]</varname> will contain + the substring starting at the second, and so on. + <varname>$regs[0]</varname> will contain a copy of the complete string matched. </para> </listitem> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sam/functions/SAM-Connection-send.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/sam/functions/SAM-Connection-send.xml diff -u phpdoc/en/reference/sam/functions/SAM-Connection-send.xml:1.8 phpdoc/en/reference/sam/functions/SAM-Connection-send.xml:1.9 --- phpdoc/en/reference/sam/functions/SAM-Connection-send.xml:1.8 Tue Dec 16 04:22:47 2008 +++ phpdoc/en/reference/sam/functions/SAM-Connection-send.xml Wed Apr 22 21:27:21 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry xml:id='function.samconnection-send' xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SAMConnection->send</refname> @@ -35,9 +35,9 @@ <term><parameter>target</parameter></term> <listitem> <para> - If sending a message, the identity of the queue (queue://queuename) + If sending a message, the identity of the queue (<literal>queue://queuename</literal>) or if publishing to a topic the identity of the topic - (topic://topicname) to which the message is to be delivered. + (<literal>topic://topicname</literal>) to which the message is to be delivered. </para> </listitem> </varlistentry> @@ -139,7 +139,7 @@ <note> <para> A correlation id will only be returned for a successful send to a queue - destination (queue://xxxx) in which case it will reflect the message + destination (<literal>queue://xxxx</literal>) in which case it will reflect the message identity of the message on the queue. In the case of a send being used to publish data to a topic the return value will be &true; as no correlation id is available for return. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sam/functions/SAM-Message-header.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/sam/functions/SAM-Message-header.xml diff -u phpdoc/en/reference/sam/functions/SAM-Message-header.xml:1.6 phpdoc/en/reference/sam/functions/SAM-Message-header.xml:1.7 --- phpdoc/en/reference/sam/functions/SAM-Message-header.xml:1.6 Wed Mar 18 21:30:26 2009 +++ phpdoc/en/reference/sam/functions/SAM-Message-header.xml Wed Apr 22 21:27:21 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry xml:id='function.sammessage-header' xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SAMMessage->header</refname> @@ -42,7 +42,7 @@ </thead> <tbody> <row> - <entry>SAM_MESSAGEID</entry> + <entry><constant>SAM_MESSAGEID</constant></entry> <entry> When a message is received this field contains the unique identifier of the message as allocated by the underlying @@ -50,14 +50,14 @@ </entry> </row> <row> - <entry>SAM_REPLY_TO</entry> + <entry><constant>SAM_REPLY_TO</constant></entry> <entry> A string providing the identity of the queue on to which responses to this message should be posted. </entry> </row> <row> - <entry>SAM_TYPE</entry> + <entry><constant>SAM_TYPE</constant></entry> <entry> <para> An indication of the type of message to be sent. The value may be @@ -69,10 +69,11 @@ <para> The way in which this property is used may depend on the underlying messaging server. For instance a messaging server that supports the - JMS (Java Message Service) specification may interpret this value and - send messages of type "jms_text" and "jms_bytes". In addition, if - the SAM_TYPE property is set to <constant>SAM_TEXT</constant> the - data provided for the message body is expected to be a UTF8 encoded + <literal>JMS (Java Message Service)</literal> specification may + interpret this value and send messages of type "<literal>jms_text</literal>" + and "<literal>jms_bytes</literal>". In addition, if the + <constant>SAM_TYPE</constant> property is set to <constant>SAM_TEXT</constant> + the data provided for the message body is expected to be a UTF8 encoded string. </para> </entry> @@ -133,7 +134,7 @@ </thead> <tbody> <row> - <entry>SAM_BOOLEAN</entry> + <entry><constant>SAM_BOOLEAN</constant></entry> <entry> Any value passed will be interpreted as logical true or false. If the value cannot be interpreted as a PHP boolean value the value @@ -141,7 +142,7 @@ </entry> </row> <row> - <entry>SAM_BYTE</entry> + <entry><constant>SAM_BYTE</constant></entry> <entry> An 8-bit signed integer value. SAM will attempt to convert the property value specified into a single byte value to pass to the @@ -152,7 +153,7 @@ </entry> </row> <row> - <entry>SAM_DOUBLE</entry> + <entry><constant>SAM_DOUBLE</constant></entry> <entry> A long floating point value. SAM will attempt to convert the property value specified into a floating point value with 15 digits @@ -163,7 +164,7 @@ </entry> </row> <row> - <entry>SAM_FLOAT</entry> + <entry><constant>SAM_FLOAT</constant></entry> <entry> A short floating point value. SAM will attempt to convert the property value specified into a floating point value with 7 digits of @@ -174,7 +175,7 @@ </entry> </row> <row> - <entry>SAM_INT</entry> + <entry><constant>SAM_INT</constant></entry> <entry> An 32-bit signed integer value. SAM will attempt to convert the property value specified into a 32-bit value to pass to the messaging @@ -185,7 +186,7 @@ </entry> </row> <row> - <entry>SAM_LONG</entry> + <entry><constant>SAM_LONG</constant></entry> <entry> An 64-bit signed integer value. SAM will attempt to convert the property value specified into a 64-bit value to pass to the messaging @@ -196,7 +197,7 @@ </entry> </row> <row> - <entry>SAM_STRING</entry> + <entry><constant>SAM_STRING</constant></entry> <entry> SAM will interpret the property value specified as a string and pass it to the messaging system accordingly. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sam/setup.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/sam/setup.xml diff -u phpdoc/en/reference/sam/setup.xml:1.3 phpdoc/en/reference/sam/setup.xml:1.4 --- phpdoc/en/reference/sam/setup.xml:1.3 Tue Dec 16 04:22:47 2008 +++ phpdoc/en/reference/sam/setup.xml Wed Apr 22 21:27:21 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <chapter xml:id="sam.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; @@ -24,8 +24,8 @@ </para> <para> If you are only aiming to experiment with sending messages to and from - WebSphere Application Server queues using the WebSphere Platform - Messaging protocol (WPM) then you do not need to install the MQC6 + WebSphere Application Server queues using the <literal>WebSphere Platform + Messaging protocol (WPM)</literal> then you do not need to install the MQC6 package. </para> <para> @@ -46,10 +46,12 @@ side code referred to as XMS. </para> <para> - If you only intend to use the built-in MQTT support then you can build and configure SAM as - an extension or simply refer to "php_sam.php" with a "requires" or "requires_once" clause - in your PHP script. In this case you need only install the code without building the - extension using the pear installer: + If you only intend to use the built-in MQTT support then you can build and + configure SAM as an extension or simply refer to + <filename>php_sam.php</filename> with a <function>require</function> or + <function>require_once</function> clause in your PHP script. In this case + you need only install the code without building the extension using the pear + installer: <screen> <![CDATA[ pecl install -B SAM @@ -145,7 +147,8 @@ <para> You will need a compiler such as the free version of Visual Studio C++ Express from the Microsoft web site. Also you need the Microsoft - Windows Platform SDK which again can be downloaded from the Microsoft web site. + <literal>SDK Microsoft Windows Platform</literal> which again can be + downloaded from the Microsoft web site. </para> <para> Obtain the SAM extension source using pear (pecl download sam) or by using @@ -154,18 +157,19 @@ </para> <para> To build the extension open a build environment window by going to the - start menu->all programs->microsoft platform SDK for windows-> + start <screen>menu->all programs->microsoft platform SDK for windows-> open build environment window->windows 200 build environment-> - set windows 2000 build environment (retail) + set windows 2000 build environment (retail)</screen> </para> <para> This should open a command prompt with all the environment variables set up to access the platform SDK etc. You then need to set the environment variables for Visual Studio by issuing the command - "vcvars32.bat" in the window. + <command>vcvars32.bat</command> in the window. </para> <para> - Change directory to your working directory e.g. cd c:\php-build. Then + Change directory to your working directory e.g. + cd <filename>c:\php-build</filename>. Then make sure the win32build tools are accessible by adding them to the PATH environment variable: <screen> @@ -175,11 +179,11 @@ </screen> </para> <para> - Run the buildconf.bat command. This should rebuild the configure.js - file. + Run the <command>buildconf.bat</command> command. This should rebuild the + <filename>configure.js</filename> file. </para> <para> - Run the cscript command with the appropriate options. To build just the + Run the <command>cscript</command> command with the appropriate options. To build just the SAM extension framework and MQTT support use: <screen> <![CDATA[ @@ -199,7 +203,7 @@ at the top of this page. </para> <para> - You can specify whatever other cscript parameters you require to + You can specify whatever other <command>cscript</command> parameters you require to include or exclude items from the php build or select options. </para> <para> @@ -221,10 +225,10 @@ must be carried out before proceeding further. </para> <para> - The DLLs created (php_sam.dll and optionally php_sam_xms.dll) - can now be copied to the subdirectory appropriate for your PHP - set-up. Make sure that the module(s) are loaded by PHP, by - adding following line to &php.ini;: + The DLLs created (<filename>php_sam.dll</filename> and optionally + <filename>php_sam_xms.dll</filename>) can now be copied to the subdirectory + appropriate for your PHP set-up. Make sure that the module(s) are loaded by + PHP, by adding following line to &php.ini;: <screen> <![CDATA[ extension=php_sam.dll @@ -309,11 +313,13 @@ </screen> As can be seen from these examples the entries take the form of "sam.factory.pppp=xxx" where pppp is the protocol string specified on the connect call and xxx is a factory suffix. Note: SAM defines constants for these protocol - strings such that SAM_WMQ=wmq, SAM_WPM=wpm, SAM_RTT=rtt, SAM_MQTT=mqtt, etc. + strings such that <literal>SAM_WMQ=wmq</literal>, + <literal>SAM_WPM=wpm</literal>, <literal>SAM_RTT=rtt</literal>, + <literal>SAM_MQTT=mqtt</literal>, etc. </para> <para> When identifying the support code to use on a connect call SAM looks up the protocol name in the &php.ini; entries - and then invokes a factory script named sam_factory_xxx.php. If no entry is found the support will default to XMS. + and then invokes a factory script named <filename>sam_factory_xxx.php</filename>. If no entry is found the support will default to XMS. </para> </section> </section> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sca/reference.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/sca/reference.xml diff -u phpdoc/en/reference/sca/reference.xml:1.11 phpdoc/en/reference/sca/reference.xml:1.12 --- phpdoc/en/reference/sca/reference.xml:1.11 Thu Jun 5 05:03:02 2008 +++ phpdoc/en/reference/sca/reference.xml Wed Apr 22 21:27:21 2009 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <reference xml:id="ref.sca" xmlns="http://docbook.org/ns/docbook"> <title>SCA &Functions;</title> @@ -12,16 +12,17 @@ <para> Most of the interface to SCA is through the annotations within SCA components so there are few public classes and methods. The only - SCA classes that scripts or components can call are the SCA class - itself, and the proxy classes SCA_LocalProxy and SCA_SoapProxy. + SCA classes that scripts or components can call are the <classname>SCA</classname> + class itself, and the proxy classes <classname>SCA_LocalProxy</classname> + and <classname>SCA_SoapProxy</classname>. </para> <section xml:id='sca.class'><!-- {{{ --> <title><classname>SCA</classname></title> <para> Much of the work of the SCA class is performed when the file - SCA.php is included within an SCA component. However, a PHP script - may include + <filename>SCA.php</filename> is included within an SCA component. + However, a PHP script may include <filename>SCA.php</filename> and call the <function>getService</function> method on the SCA class in order to obtain a proxy for a service. A component will not need to do this as @@ -74,10 +75,10 @@ <para> Components that need to create an SDO to pass to a component will need a data factory to call. For this purpose the - SCA_LocalProxy class supports the createDataObject method, + SCA_LocalProxy class supports the <function>createDataObject</function> method, which will create an SDO according to the model defined by the components' @types annotations. The arguments to the - createDataObject are the same as those to SDO's XML Data Access + <function>createDataObject</function> are the same as those to SDO's XML Data Access Service. </para> @@ -111,11 +112,12 @@ </para> <para> Components that need to create an SDO to pass to a component - will need a data factory to call. For this purpose the SCA_SoapProxy - class supports the createDataObject method, which will create an + will need a data factory to call. For this purpose the + <classname>SCA_SoapProxy</classname> class supports the + <function>createDataObject</function> method, which will create an SDO according to the model defined within the target WSDL. The - arguments to the createDataObject are the same as those to SDO's XML - Data Access Service. + arguments to the <function>createDataObject</function> are the same + as those to SDO's XML Data Access Service. </para> <section xml:id='sca.class.SCA-SoapProxy.methods'><!-- {{{ --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sdo/setup.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/sdo/setup.xml diff -u phpdoc/en/reference/sdo/setup.xml:1.2 phpdoc/en/reference/sdo/setup.xml:1.3 --- phpdoc/en/reference/sdo/setup.xml:1.2 Wed Dec 26 14:57:57 2007 +++ phpdoc/en/reference/sdo/setup.xml Wed Apr 22 21:27:21 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <chapter xml:id="sdo.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; @@ -23,10 +23,8 @@ <para> Earlier versions of the SDO extension required a separate shared library for the XML DAS. This is now obsolete and any references to - <filename>php_sdo_das_xml.dll</filename> - or - <filename>sdo_das_xml.so</filename> - should be removed from your &php.ini;. + <filename>php_sdo_das_xml.dll</filename> or + <filename>sdo_das_xml.so</filename> should be removed from your &php.ini;. </para> </note> <procedure xml:id='sdo.install.unix'> @@ -34,8 +32,8 @@ <step> <para> The three SDO components - the SDO core, the XML DAS and the - Relational DAS - are packaged together with Service Component - Architecture (SCA) into one PECL project, SCA_SDO, so you can + Relational DAS - are packaged together with <literal>Service Component + Architecture (SCA)</literal> into one PECL project, SCA_SDO, so you can download SCA and all three parts of SDO with the command: <screen> <![CDATA[ @@ -59,12 +57,9 @@ </step> <step> <para> - The - <command>pecl</command> - command automatically installs the SDO module into your PHP - extensions directory. To enable the SDO extension you must add the - following line to - &php.ini;: + The <command>pecl</command> command automatically installs the SDO + module into your PHP extensions directory. To enable the SDO extension + you must add the following line to &php.ini;: <screen> <![CDATA[ extension=sdo.so @@ -96,12 +91,9 @@ </step> <step> <para> - The - <command>pecl</command> - command automatically installs the SDO module into your PHP - extensions directory. To enable the SDO extension you must add the - following line to - &php.ini;: + The <command>pecl</command> command automatically installs the SDO + module into your PHP extensions directory. To enable the SDO extension + you must add the following line to &php.ini;: <screen> <![CDATA[ extension=php_sdo.dll @@ -122,9 +114,7 @@ <para> The Relational DAS is written in PHP. You may need to update your <link linkend="ini.include-path">include_path</link> - in - &php.ini; - to point to the directory that contains + in &php.ini; to point to the directory that contains <filename>sdo/DAS/Relational</filename>. </para> </step> @@ -145,17 +135,14 @@ </step> <step> <para> - Run - <command>phpize</command> - , which will set up the environment to compile SDO. + Run <command>phpize</command>, which will set up the environment + to compile SDO. </para> </step> <step> <para> - Next, run - <command>./configure; make; make install</command> - . Please note, you may need to login as root to install the - extension. + Next, run <command>./configure; make; make install</command>. + Please note, you may need to login as root to install the extension. </para> </step> <step> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sdo_das_xml/functions/SDO-DAS-XML-Document-setXMLDeclaration.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/sdo_das_xml/functions/SDO-DAS-XML-Document-setXMLDeclaration.xml diff -u phpdoc/en/reference/sdo_das_xml/functions/SDO-DAS-XML-Document-setXMLDeclaration.xml:1.9 phpdoc/en/reference/sdo_das_xml/functions/SDO-DAS-XML-Document-setXMLDeclaration.xml:1.10 --- phpdoc/en/reference/sdo_das_xml/functions/SDO-DAS-XML-Document-setXMLDeclaration.xml:1.9 Thu Jun 5 05:03:03 2008 +++ phpdoc/en/reference/sdo_das_xml/functions/SDO-DAS-XML-Document-setXMLDeclaration.xml Wed Apr 22 21:27:21 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. --> <refentry xml:id="function.sdo-das-xml-document-setxmldeclaration" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -17,8 +17,8 @@ <para> Controls whether an XML declaration will be generated at the start of the - XML document. Set to <varname>true</varname> to generate the XML declaration, - or <varname>false</varname> to suppress it. + XML document. Set to &true; to generate the XML declaration, + or &false; to suppress it. </para> </refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/regex/functions/ereg.xml?r1=1.17&r2=1.18&diff_format=u Index: phpdoc/en/reference/regex/functions/ereg.xml diff -u phpdoc/en/reference/regex/functions/ereg.xml:1.17 phpdoc/en/reference/regex/functions/ereg.xml:1.18 --- phpdoc/en/reference/regex/functions/ereg.xml:1.17 Mon Mar 23 21:08:01 2009 +++ phpdoc/en/reference/regex/functions/ereg.xml Wed Apr 22 21:27:21 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> +<!-- $Revision: 1.18 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.ereg"> <refnamediv> <refname>ereg</refname> @@ -51,9 +51,10 @@ in the elements of the array <parameter>regs</parameter>. </para> <para> - $regs[1] will contain the substring which starts at the first left - parenthesis; $regs[2] will contain the substring starting at the - second, and so on. $regs[0] will contain a copy of the complete string + <varname>$regs[1]</varname> will contain the substring which starts at + the first left parenthesis; <varname>$regs[2]</varname> will contain + the substring starting at the second, and so on. + <varname>$regs[0]</varname> will contain a copy of the complete string matched. </para> </listitem> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sam/functions/SAM-Connection-send.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/sam/functions/SAM-Connection-send.xml diff -u phpdoc/en/reference/sam/functions/SAM-Connection-send.xml:1.8 phpdoc/en/reference/sam/functions/SAM-Connection-send.xml:1.9 --- phpdoc/en/reference/sam/functions/SAM-Connection-send.xml:1.8 Tue Dec 16 04:22:47 2008 +++ phpdoc/en/reference/sam/functions/SAM-Connection-send.xml Wed Apr 22 21:27:21 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <refentry xml:id='function.samconnection-send' xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SAMConnection->send</refname> @@ -35,9 +35,9 @@ <term><parameter>target</parameter></term> <listitem> <para> - If sending a message, the identity of the queue (queue://queuename) + If sending a message, the identity of the queue (<literal>queue://queuename</literal>) or if publishing to a topic the identity of the topic - (topic://topicname) to which the message is to be delivered. + (<literal>topic://topicname</literal>) to which the message is to be delivered. </para> </listitem> </varlistentry> @@ -139,7 +139,7 @@ <note> <para> A correlation id will only be returned for a successful send to a queue - destination (queue://xxxx) in which case it will reflect the message + destination (<literal>queue://xxxx</literal>) in which case it will reflect the message identity of the message on the queue. In the case of a send being used to publish data to a topic the return value will be &true; as no correlation id is available for return. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sam/functions/SAM-Message-header.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/sam/functions/SAM-Message-header.xml diff -u phpdoc/en/reference/sam/functions/SAM-Message-header.xml:1.6 phpdoc/en/reference/sam/functions/SAM-Message-header.xml:1.7 --- phpdoc/en/reference/sam/functions/SAM-Message-header.xml:1.6 Wed Mar 18 21:30:26 2009 +++ phpdoc/en/reference/sam/functions/SAM-Message-header.xml Wed Apr 22 21:27:21 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry xml:id='function.sammessage-header' xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SAMMessage->header</refname> @@ -42,7 +42,7 @@ </thead> <tbody> <row> - <entry>SAM_MESSAGEID</entry> + <entry><constant>SAM_MESSAGEID</constant></entry> <entry> When a message is received this field contains the unique identifier of the message as allocated by the underlying @@ -50,14 +50,14 @@ </entry> </row> <row> - <entry>SAM_REPLY_TO</entry> + <entry><constant>SAM_REPLY_TO</constant></entry> <entry> A string providing the identity of the queue on to which responses to this message should be posted. </entry> </row> <row> - <entry>SAM_TYPE</entry> + <entry><constant>SAM_TYPE</constant></entry> <entry> <para> An indication of the type of message to be sent. The value may be @@ -69,10 +69,11 @@ <para> The way in which this property is used may depend on the underlying messaging server. For instance a messaging server that supports the - JMS (Java Message Service) specification may interpret this value and - send messages of type "jms_text" and "jms_bytes". In addition, if - the SAM_TYPE property is set to <constant>SAM_TEXT</constant> the - data provided for the message body is expected to be a UTF8 encoded + <literal>JMS (Java Message Service)</literal> specification may + interpret this value and send messages of type "<literal>jms_text</literal>" + and "<literal>jms_bytes</literal>". In addition, if the + <constant>SAM_TYPE</constant> property is set to <constant>SAM_TEXT</constant> + the data provided for the message body is expected to be a UTF8 encoded string. </para> </entry> @@ -133,7 +134,7 @@ </thead> <tbody> <row> - <entry>SAM_BOOLEAN</entry> + <entry><constant>SAM_BOOLEAN</constant></entry> <entry> Any value passed will be interpreted as logical true or false. If the value cannot be interpreted as a PHP boolean value the value @@ -141,7 +142,7 @@ </entry> </row> <row> - <entry>SAM_BYTE</entry> + <entry><constant>SAM_BYTE</constant></entry> <entry> An 8-bit signed integer value. SAM will attempt to convert the property value specified into a single byte value to pass to the @@ -152,7 +153,7 @@ </entry> </row> <row> - <entry>SAM_DOUBLE</entry> + <entry><constant>SAM_DOUBLE</constant></entry> <entry> A long floating point value. SAM will attempt to convert the property value specified into a floating point value with 15 digits @@ -163,7 +164,7 @@ </entry> </row> <row> - <entry>SAM_FLOAT</entry> + <entry><constant>SAM_FLOAT</constant></entry> <entry> A short floating point value. SAM will attempt to convert the property value specified into a floating point value with 7 digits of @@ -174,7 +175,7 @@ </entry> </row> <row> - <entry>SAM_INT</entry> + <entry><constant>SAM_INT</constant></entry> <entry> An 32-bit signed integer value. SAM will attempt to convert the property value specified into a 32-bit value to pass to the messaging @@ -185,7 +186,7 @@ </entry> </row> <row> - <entry>SAM_LONG</entry> + <entry><constant>SAM_LONG</constant></entry> <entry> An 64-bit signed integer value. SAM will attempt to convert the property value specified into a 64-bit value to pass to the messaging @@ -196,7 +197,7 @@ </entry> </row> <row> - <entry>SAM_STRING</entry> + <entry><constant>SAM_STRING</constant></entry> <entry> SAM will interpret the property value specified as a string and pass it to the messaging system accordingly. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sam/setup.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/sam/setup.xml diff -u phpdoc/en/reference/sam/setup.xml:1.3 phpdoc/en/reference/sam/setup.xml:1.4 --- phpdoc/en/reference/sam/setup.xml:1.3 Tue Dec 16 04:22:47 2008 +++ phpdoc/en/reference/sam/setup.xml Wed Apr 22 21:27:21 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <chapter xml:id="sam.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; @@ -24,8 +24,8 @@ </para> <para> If you are only aiming to experiment with sending messages to and from - WebSphere Application Server queues using the WebSphere Platform - Messaging protocol (WPM) then you do not need to install the MQC6 + WebSphere Application Server queues using the <literal>WebSphere Platform + Messaging protocol (WPM)</literal> then you do not need to install the MQC6 package. </para> <para> @@ -46,10 +46,12 @@ side code referred to as XMS. </para> <para> - If you only intend to use the built-in MQTT support then you can build and configure SAM as - an extension or simply refer to "php_sam.php" with a "requires" or "requires_once" clause - in your PHP script. In this case you need only install the code without building the - extension using the pear installer: + If you only intend to use the built-in MQTT support then you can build and + configure SAM as an extension or simply refer to + <filename>php_sam.php</filename> with a <function>require</function> or + <function>require_once</function> clause in your PHP script. In this case + you need only install the code without building the extension using the pear + installer: <screen> <![CDATA[ pecl install -B SAM @@ -145,7 +147,8 @@ <para> You will need a compiler such as the free version of Visual Studio C++ Express from the Microsoft web site. Also you need the Microsoft - Windows Platform SDK which again can be downloaded from the Microsoft web site. + <literal>SDK Microsoft Windows Platform</literal> which again can be + downloaded from the Microsoft web site. </para> <para> Obtain the SAM extension source using pear (pecl download sam) or by using @@ -154,18 +157,19 @@ </para> <para> To build the extension open a build environment window by going to the - start menu->all programs->microsoft platform SDK for windows-> + start <screen>menu->all programs->microsoft platform SDK for windows-> open build environment window->windows 200 build environment-> - set windows 2000 build environment (retail) + set windows 2000 build environment (retail)</screen> </para> <para> This should open a command prompt with all the environment variables set up to access the platform SDK etc. You then need to set the environment variables for Visual Studio by issuing the command - "vcvars32.bat" in the window. + <command>vcvars32.bat</command> in the window. </para> <para> - Change directory to your working directory e.g. cd c:\php-build. Then + Change directory to your working directory e.g. + cd <filename>c:\php-build</filename>. Then make sure the win32build tools are accessible by adding them to the PATH environment variable: <screen> @@ -175,11 +179,11 @@ </screen> </para> <para> - Run the buildconf.bat command. This should rebuild the configure.js - file. + Run the <command>buildconf.bat</command> command. This should rebuild the + <filename>configure.js</filename> file. </para> <para> - Run the cscript command with the appropriate options. To build just the + Run the <command>cscript</command> command with the appropriate options. To build just the SAM extension framework and MQTT support use: <screen> <![CDATA[ @@ -199,7 +203,7 @@ at the top of this page. </para> <para> - You can specify whatever other cscript parameters you require to + You can specify whatever other <command>cscript</command> parameters you require to include or exclude items from the php build or select options. </para> <para> @@ -221,10 +225,10 @@ must be carried out before proceeding further. </para> <para> - The DLLs created (php_sam.dll and optionally php_sam_xms.dll) - can now be copied to the subdirectory appropriate for your PHP - set-up. Make sure that the module(s) are loaded by PHP, by - adding following line to &php.ini;: + The DLLs created (<filename>php_sam.dll</filename> and optionally + <filename>php_sam_xms.dll</filename>) can now be copied to the subdirectory + appropriate for your PHP set-up. Make sure that the module(s) are loaded by + PHP, by adding following line to &php.ini;: <screen> <![CDATA[ extension=php_sam.dll @@ -309,11 +313,13 @@ </screen> As can be seen from these examples the entries take the form of "sam.factory.pppp=xxx" where pppp is the protocol string specified on the connect call and xxx is a factory suffix. Note: SAM defines constants for these protocol - strings such that SAM_WMQ=wmq, SAM_WPM=wpm, SAM_RTT=rtt, SAM_MQTT=mqtt, etc. + strings such that <literal>SAM_WMQ=wmq</literal>, + <literal>SAM_WPM=wpm</literal>, <literal>SAM_RTT=rtt</literal>, + <literal>SAM_MQTT=mqtt</literal>, etc. </para> <para> When identifying the support code to use on a connect call SAM looks up the protocol name in the &php.ini; entries - and then invokes a factory script named sam_factory_xxx.php. If no entry is found the support will default to XMS. + and then invokes a factory script named <filename>sam_factory_xxx.php</filename>. If no entry is found the support will default to XMS. </para> </section> </section> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sca/reference.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/sca/reference.xml diff -u phpdoc/en/reference/sca/reference.xml:1.11 phpdoc/en/reference/sca/reference.xml:1.12 --- phpdoc/en/reference/sca/reference.xml:1.11 Thu Jun 5 05:03:02 2008 +++ phpdoc/en/reference/sca/reference.xml Wed Apr 22 21:27:21 2009 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <reference xml:id="ref.sca" xmlns="http://docbook.org/ns/docbook"> <title>SCA &Functions;</title> @@ -12,16 +12,17 @@ <para> Most of the interface to SCA is through the annotations within SCA components so there are few public classes and methods. The only - SCA classes that scripts or components can call are the SCA class - itself, and the proxy classes SCA_LocalProxy and SCA_SoapProxy. + SCA classes that scripts or components can call are the <classname>SCA</classname> + class itself, and the proxy classes <classname>SCA_LocalProxy</classname> + and <classname>SCA_SoapProxy</classname>. </para> <section xml:id='sca.class'><!-- {{{ --> <title><classname>SCA</classname></title> <para> Much of the work of the SCA class is performed when the file - SCA.php is included within an SCA component. However, a PHP script - may include + <filename>SCA.php</filename> is included within an SCA component. + However, a PHP script may include <filename>SCA.php</filename> and call the <function>getService</function> method on the SCA class in order to obtain a proxy for a service. A component will not need to do this as @@ -74,10 +75,10 @@ <para> Components that need to create an SDO to pass to a component will need a data factory to call. For this purpose the - SCA_LocalProxy class supports the createDataObject method, + SCA_LocalProxy class supports the <function>createDataObject</function> method, which will create an SDO according to the model defined by the components' @types annotations. The arguments to the - createDataObject are the same as those to SDO's XML Data Access + <function>createDataObject</function> are the same as those to SDO's XML Data Access Service. </para> @@ -111,11 +112,12 @@ </para> <para> Components that need to create an SDO to pass to a component - will need a data factory to call. For this purpose the SCA_SoapProxy - class supports the createDataObject method, which will create an + will need a data factory to call. For this purpose the + <classname>SCA_SoapProxy</classname> class supports the + <function>createDataObject</function> method, which will create an SDO according to the model defined within the target WSDL. The - arguments to the createDataObject are the same as those to SDO's XML - Data Access Service. + arguments to the <function>createDataObject</function> are the same + as those to SDO's XML Data Access Service. </para> <section xml:id='sca.class.SCA-SoapProxy.methods'><!-- {{{ --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sdo/setup.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/sdo/setup.xml diff -u phpdoc/en/reference/sdo/setup.xml:1.2 phpdoc/en/reference/sdo/setup.xml:1.3 --- phpdoc/en/reference/sdo/setup.xml:1.2 Wed Dec 26 14:57:57 2007 +++ phpdoc/en/reference/sdo/setup.xml Wed Apr 22 21:27:21 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <chapter xml:id="sdo.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; @@ -23,10 +23,8 @@ <para> Earlier versions of the SDO extension required a separate shared library for the XML DAS. This is now obsolete and any references to - <filename>php_sdo_das_xml.dll</filename> - or - <filename>sdo_das_xml.so</filename> - should be removed from your &php.ini;. + <filename>php_sdo_das_xml.dll</filename> or + <filename>sdo_das_xml.so</filename> should be removed from your &php.ini;. </para> </note> <procedure xml:id='sdo.install.unix'> @@ -34,8 +32,8 @@ <step> <para> The three SDO components - the SDO core, the XML DAS and the - Relational DAS - are packaged together with Service Component - Architecture (SCA) into one PECL project, SCA_SDO, so you can + Relational DAS - are packaged together with <literal>Service Component + Architecture (SCA)</literal> into one PECL project, SCA_SDO, so you can download SCA and all three parts of SDO with the command: <screen> <![CDATA[ @@ -59,12 +57,9 @@ </step> <step> <para> - The - <command>pecl</command> - command automatically installs the SDO module into your PHP - extensions directory. To enable the SDO extension you must add the - following line to - &php.ini;: + The <command>pecl</command> command automatically installs the SDO + module into your PHP extensions directory. To enable the SDO extension + you must add the following line to &php.ini;: <screen> <![CDATA[ extension=sdo.so @@ -96,12 +91,9 @@ </step> <step> <para> - The - <command>pecl</command> - command automatically installs the SDO module into your PHP - extensions directory. To enable the SDO extension you must add the - following line to - &php.ini;: + The <command>pecl</command> command automatically installs the SDO + module into your PHP extensions directory. To enable the SDO extension + you must add the following line to &php.ini;: <screen> <![CDATA[ extension=php_sdo.dll @@ -122,9 +114,7 @@ <para> The Relational DAS is written in PHP. You may need to update your <link linkend="ini.include-path">include_path</link> - in - &php.ini; - to point to the directory that contains + in &php.ini; to point to the directory that contains <filename>sdo/DAS/Relational</filename>. </para> </step> @@ -145,17 +135,14 @@ </step> <step> <para> - Run - <command>phpize</command> - , which will set up the environment to compile SDO. + Run <command>phpize</command>, which will set up the environment + to compile SDO. </para> </step> <step> <para> - Next, run - <command>./configure; make; make install</command> - . Please note, you may need to login as root to install the - extension. + Next, run <command>./configure; make; make install</command>. + Please note, you may need to login as root to install the extension. </para> </step> <step> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/sdo_das_xml/functions/SDO-DAS-XML-Document-setXMLDeclaration.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/sdo_das_xml/functions/SDO-DAS-XML-Document-setXMLDeclaration.xml diff -u phpdoc/en/reference/sdo_das_xml/functions/SDO-DAS-XML-Document-setXMLDeclaration.xml:1.9 phpdoc/en/reference/sdo_das_xml/functions/SDO-DAS-XML-Document-setXMLDeclaration.xml:1.10 --- phpdoc/en/reference/sdo_das_xml/functions/SDO-DAS-XML-Document-setXMLDeclaration.xml:1.9 Thu Jun 5 05:03:03 2008 +++ phpdoc/en/reference/sdo_das_xml/functions/SDO-DAS-XML-Document-setXMLDeclaration.xml Wed Apr 22 21:27:21 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. --> <refentry xml:id="function.sdo-das-xml-document-setxmldeclaration" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -17,8 +17,8 @@ <para> Controls whether an XML declaration will be generated at the start of the - XML document. Set to <varname>true</varname> to generate the XML declaration, - or <varname>false</varname> to suppress it. + XML document. Set to &true; to generate the XML declaration, + or &false; to suppress it. </para> </refsect1>