Browse Source

[DOCUMENTATION] English: programlisting's attribute 'role' exchange with attribute 'language'
(used by java xslt processor with XSL param highlight.source http://docbook.xml-doc.org/snapshots/xsl/doc/html/highlight.source.html)

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15617 44c647ce-9c0f-0410-b52a-842ac1e357ba

mikaelkael 16 years ago
parent
commit
1cb38e36b4
100 changed files with 741 additions and 741 deletions
  1. 2 2
      documentation/manual/en/module_specs/Zend_Acl-Advanced.xml
  2. 6 6
      documentation/manual/en/module_specs/Zend_Acl-Refining.xml
  3. 5 5
      documentation/manual/en/module_specs/Zend_Acl.xml
  4. 26 26
      documentation/manual/en/module_specs/Zend_Amf-Server.xml
  5. 3 3
      documentation/manual/en/module_specs/Zend_Application-AvailableResources-Db.xml
  6. 2 2
      documentation/manual/en/module_specs/Zend_Application-AvailableResources-Frontcontroller.xml
  7. 3 3
      documentation/manual/en/module_specs/Zend_Application-AvailableResources-Modules.xml
  8. 1 1
      documentation/manual/en/module_specs/Zend_Application-AvailableResources-Session.xml
  9. 1 1
      documentation/manual/en/module_specs/Zend_Application-AvailableResources-View.xml
  10. 6 6
      documentation/manual/en/module_specs/Zend_Application-CoreFunctionality-Resource_ResourceAbstract.xml
  11. 9 9
      documentation/manual/en/module_specs/Zend_Application-Examples.xml
  12. 13 13
      documentation/manual/en/module_specs/Zend_Application-QuickStart.xml
  13. 15 15
      documentation/manual/en/module_specs/Zend_Application-TheoryOfOperation.xml
  14. 10 10
      documentation/manual/en/module_specs/Zend_Auth.xml
  15. 10 10
      documentation/manual/en/module_specs/Zend_Auth_Adapter_DbTable.xml
  16. 1 1
      documentation/manual/en/module_specs/Zend_Auth_Adapter_Digest.xml
  17. 6 6
      documentation/manual/en/module_specs/Zend_Auth_Adapter_Http.xml
  18. 3 3
      documentation/manual/en/module_specs/Zend_Auth_Adapter_Ldap.xml
  19. 1 1
      documentation/manual/en/module_specs/Zend_Auth_Adapter_OpenId.xml
  20. 1 1
      documentation/manual/en/module_specs/Zend_Cache-Backends.xml
  21. 10 10
      documentation/manual/en/module_specs/Zend_Cache-Frontends.xml
  22. 3 3
      documentation/manual/en/module_specs/Zend_Cache-Introduction.xml
  23. 7 7
      documentation/manual/en/module_specs/Zend_Cache-Theory.xml
  24. 2 2
      documentation/manual/en/module_specs/Zend_Captcha-Operation.xml
  25. 11 11
      documentation/manual/en/module_specs/Zend_CodeGenerator-Examples.xml
  26. 4 4
      documentation/manual/en/module_specs/Zend_CodeGenerator-Introduction.xml
  27. 14 14
      documentation/manual/en/module_specs/Zend_CodeGenerator-Reference.xml
  28. 4 4
      documentation/manual/en/module_specs/Zend_Config-Introduction.xml
  29. 3 3
      documentation/manual/en/module_specs/Zend_Config_Ini.xml
  30. 2 2
      documentation/manual/en/module_specs/Zend_Config_Writer.xml
  31. 5 5
      documentation/manual/en/module_specs/Zend_Config_Xml.xml
  32. 6 6
      documentation/manual/en/module_specs/Zend_Console_Getopt-Configuration.xml
  33. 4 4
      documentation/manual/en/module_specs/Zend_Console_Getopt-Fetching.xml
  34. 2 2
      documentation/manual/en/module_specs/Zend_Console_Getopt-Rules.xml
  35. 12 12
      documentation/manual/en/module_specs/Zend_Controller-ActionController.xml
  36. 2 2
      documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-ActionStack.xml
  37. 6 6
      documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-AutoComplete.xml
  38. 10 10
      documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-ContextSwitch.xml
  39. 1 1
      documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-FlashMessenger.xml
  40. 6 6
      documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-Json.xml
  41. 5 5
      documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-Redirector.xml
  42. 12 12
      documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-ViewRenderer.xml
  43. 10 10
      documentation/manual/en/module_specs/Zend_Controller-ActionHelpers.xml
  44. 3 3
      documentation/manual/en/module_specs/Zend_Controller-Dispatcher.xml
  45. 6 6
      documentation/manual/en/module_specs/Zend_Controller-Exceptions.xml
  46. 6 6
      documentation/manual/en/module_specs/Zend_Controller-FrontController.xml
  47. 16 16
      documentation/manual/en/module_specs/Zend_Controller-Migration.xml
  48. 5 5
      documentation/manual/en/module_specs/Zend_Controller-Modular.xml
  49. 8 8
      documentation/manual/en/module_specs/Zend_Controller-Plugins-ErrorHandler.xml
  50. 3 3
      documentation/manual/en/module_specs/Zend_Controller-Plugins.xml
  51. 8 8
      documentation/manual/en/module_specs/Zend_Controller-QuickStart.xml
  52. 3 3
      documentation/manual/en/module_specs/Zend_Controller-Request.xml
  53. 8 8
      documentation/manual/en/module_specs/Zend_Controller-Response.xml
  54. 5 5
      documentation/manual/en/module_specs/Zend_Controller-Router-Route-Chain.xml
  55. 1 1
      documentation/manual/en/module_specs/Zend_Controller-Router-Route-Hostname.xml
  56. 11 11
      documentation/manual/en/module_specs/Zend_Controller-Router-Route-Regex.xml
  57. 2 2
      documentation/manual/en/module_specs/Zend_Controller-Router-Route-Static.xml
  58. 11 11
      documentation/manual/en/module_specs/Zend_Controller-Router-Route.xml
  59. 16 16
      documentation/manual/en/module_specs/Zend_Controller-Router.xml
  60. 3 3
      documentation/manual/en/module_specs/Zend_Currency-Migrating.xml
  61. 8 8
      documentation/manual/en/module_specs/Zend_Currency-Usage.xml
  62. 6 6
      documentation/manual/en/module_specs/Zend_Date-Additional.xml
  63. 6 6
      documentation/manual/en/module_specs/Zend_Date-Basic.xml
  64. 2 2
      documentation/manual/en/module_specs/Zend_Date-Constants.xml
  65. 6 6
      documentation/manual/en/module_specs/Zend_Date-Creation.xml
  66. 1 1
      documentation/manual/en/module_specs/Zend_Date-Introduction.xml
  67. 3 3
      documentation/manual/en/module_specs/Zend_Date-Overview.xml
  68. 36 36
      documentation/manual/en/module_specs/Zend_Db_Adapter.xml
  69. 2 2
      documentation/manual/en/module_specs/Zend_Db_Profiler-Firebug.xml
  70. 13 13
      documentation/manual/en/module_specs/Zend_Db_Profiler.xml
  71. 31 31
      documentation/manual/en/module_specs/Zend_Db_Select.xml
  72. 11 11
      documentation/manual/en/module_specs/Zend_Db_Statement.xml
  73. 16 16
      documentation/manual/en/module_specs/Zend_Db_Table-Relationships.xml
  74. 38 38
      documentation/manual/en/module_specs/Zend_Db_Table.xml
  75. 17 17
      documentation/manual/en/module_specs/Zend_Db_Table_Row.xml
  76. 12 12
      documentation/manual/en/module_specs/Zend_Db_Table_Rowset.xml
  77. 1 1
      documentation/manual/en/module_specs/Zend_Debug.xml
  78. 12 12
      documentation/manual/en/module_specs/Zend_Dojo-Data.xml
  79. 2 2
      documentation/manual/en/module_specs/Zend_Dojo-Form-Decorators.xml
  80. 20 20
      documentation/manual/en/module_specs/Zend_Dojo-Form-Elements.xml
  81. 3 3
      documentation/manual/en/module_specs/Zend_Dojo-Form-Examples.xml
  82. 1 1
      documentation/manual/en/module_specs/Zend_Dojo-Form.xml
  83. 9 9
      documentation/manual/en/module_specs/Zend_Dojo-View-Dojo.xml
  84. 29 29
      documentation/manual/en/module_specs/Zend_Dojo-View-Helpers.xml
  85. 2 2
      documentation/manual/en/module_specs/Zend_Dojo-View.xml
  86. 2 2
      documentation/manual/en/module_specs/Zend_Dom-Query.xml
  87. 1 1
      documentation/manual/en/module_specs/Zend_Exception.xml
  88. 1 1
      documentation/manual/en/module_specs/Zend_Feed-ConsumingAtom.xml
  89. 2 2
      documentation/manual/en/module_specs/Zend_Feed-ConsumingAtomSingle.xml
  90. 5 5
      documentation/manual/en/module_specs/Zend_Feed-ConsumingRss.xml
  91. 2 2
      documentation/manual/en/module_specs/Zend_Feed-CustomFeed.xml
  92. 1 1
      documentation/manual/en/module_specs/Zend_Feed-FindFeeds.xml
  93. 6 6
      documentation/manual/en/module_specs/Zend_Feed-Importing.xml
  94. 1 1
      documentation/manual/en/module_specs/Zend_Feed-Introduction.xml
  95. 2 2
      documentation/manual/en/module_specs/Zend_Feed-ModifyingFeed.xml
  96. 10 10
      documentation/manual/en/module_specs/Zend_File_Transfer-Filters.xml
  97. 8 8
      documentation/manual/en/module_specs/Zend_File_Transfer-Introduction.xml
  98. 8 8
      documentation/manual/en/module_specs/Zend_File_Transfer-Migration.xml
  99. 21 21
      documentation/manual/en/module_specs/Zend_File_Transfer-Validators.xml
  100. 4 4
      documentation/manual/en/module_specs/Zend_Filter-Callback.xml

+ 2 - 2
documentation/manual/en/module_specs/Zend_Acl-Advanced.xml

@@ -49,7 +49,7 @@
             <methodname>assert()</methodname> method of the interface:
             <methodname>assert()</methodname> method of the interface:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class CleanIPAssertion implements Zend_Acl_Assert_Interface
 class CleanIPAssertion implements Zend_Acl_Assert_Interface
 {
 {
     public function assert(Zend_Acl $acl,
     public function assert(Zend_Acl $acl,
@@ -73,7 +73,7 @@ class CleanIPAssertion implements Zend_Acl_Assert_Interface
             assertion only applies when the assertion method returns <constant>TRUE</constant>.
             assertion only applies when the assertion method returns <constant>TRUE</constant>.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $acl = new Zend_Acl();
 $acl = new Zend_Acl();
 $acl->allow(null, null, null, new CleanIPAssertion());
 $acl->allow(null, null, null, new CleanIPAssertion());
 ]]></programlisting>
 ]]></programlisting>

+ 6 - 6
documentation/manual/en/module_specs/Zend_Acl-Refining.xml

@@ -38,7 +38,7 @@
             in such a way that it inherits permissions from 'staff':
             in such a way that it inherits permissions from 'staff':
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // The new marketing group inherits permissions from staff
 // The new marketing group inherits permissions from staff
 $acl->addRole(new Zend_Acl_Role('marketing'), 'staff');
 $acl->addRole(new Zend_Acl_Role('marketing'), 'staff');
 ]]></programlisting>
 ]]></programlisting>
@@ -48,7 +48,7 @@ $acl->addRole(new Zend_Acl_Role('marketing'), 'staff');
             "newsletter", "latest news", "announcement news"). Now we add these resources:
             "newsletter", "latest news", "announcement news"). Now we add these resources:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Create Resources for the rules
 // Create Resources for the rules
 
 
 // newsletter
 // newsletter
@@ -69,7 +69,7 @@ $acl->add(new Zend_Acl_Resource('announcement'), 'news');
             the ACL:
             the ACL:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Marketing must be able to publish and archive newsletters and the
 // Marketing must be able to publish and archive newsletters and the
 // latest news
 // latest news
 $acl->allow('marketing',
 $acl->allow('marketing',
@@ -89,7 +89,7 @@ $acl->deny(null, 'announcement', 'archive');
             We can now query the ACL with respect to the latest changes:
             We can now query the ACL with respect to the latest changes:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 echo $acl->isAllowed('staff', 'newsletter', 'publish') ?
 echo $acl->isAllowed('staff', 'newsletter', 'publish') ?
      "allowed" : "denied";
      "allowed" : "denied";
 // denied
 // denied
@@ -137,7 +137,7 @@ echo $acl->isAllowed('administrator', 'announcement', 'archive') ?
             resources, and/or privileges:
             resources, and/or privileges:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Remove the denial of revising latest news to staff (and marketing,
 // Remove the denial of revising latest news to staff (and marketing,
 // by inheritance)
 // by inheritance)
 $acl->removeDeny('staff', 'latest', 'revise');
 $acl->removeDeny('staff', 'latest', 'revise');
@@ -166,7 +166,7 @@ echo $acl->isAllowed('marketing', 'newsletter', 'archive') ?
             <constant>NULL</constant> value for the privileges overrides such incremental changes:
             <constant>NULL</constant> value for the privileges overrides such incremental changes:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Allow marketing all permissions upon the latest news
 // Allow marketing all permissions upon the latest news
 $acl->allow('marketing', 'latest');
 $acl->allow('marketing', 'latest');
 
 

+ 5 - 5
documentation/manual/en/module_specs/Zend_Acl.xml

@@ -106,7 +106,7 @@
                 the queried role inherits (herein, "guest", "member", and
                 the queried role inherits (herein, "guest", "member", and
                 "admin"):
                 "admin"):
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $acl = new Zend_Acl();
 $acl = new Zend_Acl();
 
 
 $acl->addRole(new Zend_Acl_Role('guest'))
 $acl->addRole(new Zend_Acl_Role('guest'))
@@ -163,7 +163,7 @@ echo $acl->isAllowed('someUser', 'someResource') ? 'allowed' : 'denied';
             of areas. To create a new ACL object, we instantiate the ACL with no parameters:
             of areas. To create a new ACL object, we instantiate the ACL with no parameters:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $acl = new Zend_Acl();
 $acl = new Zend_Acl();
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -232,7 +232,7 @@ $acl = new Zend_Acl();
             can be added to the role registry as follows:
             can be added to the role registry as follows:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $acl = new Zend_Acl();
 $acl = new Zend_Acl();
 
 
 // Add groups to the Role registry using Zend_Acl_Role
 // Add groups to the Role registry using Zend_Acl_Role
@@ -282,7 +282,7 @@ $acl->addRole(new Zend_Acl_Role('administrator'));
             code. To apply the base permissions as defined above:
             code. To apply the base permissions as defined above:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $acl = new Zend_Acl();
 $acl = new Zend_Acl();
 
 
 $roleGuest = new Zend_Acl_Role('guest');
 $roleGuest = new Zend_Acl_Role('guest');
@@ -327,7 +327,7 @@ $acl->allow('administrator');
             quite simple using the <methodname>isAllowed()</methodname> method:
             quite simple using the <methodname>isAllowed()</methodname> method:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 echo $acl->isAllowed('guest', null, 'view') ?
 echo $acl->isAllowed('guest', null, 'view') ?
      "allowed" : "denied";
      "allowed" : "denied";
 // allowed
 // allowed

+ 26 - 26
documentation/manual/en/module_specs/Zend_Amf-Server.xml

@@ -19,7 +19,7 @@
             following code:
             following code:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $server = new Zend_Amf_Server();
 $server = new Zend_Amf_Server();
 $server->setClass('Foo');
 $server->setClass('Foo');
 $response = $server->handle();
 $response = $server->handle();
@@ -31,7 +31,7 @@ echo $response;
             callback instead:
             callback instead:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $server = new Zend_Amf_Server();
 $server = new Zend_Amf_Server();
 $server->addFunction('myUberCoolFunction');
 $server->addFunction('myUberCoolFunction');
 $response = $server->handle();
 $response = $server->handle();
@@ -46,7 +46,7 @@ echo $response;
             <code>setClass()</code>:
             <code>setClass()</code>:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $server = new Zend_Amf_Server();
 $server = new Zend_Amf_Server();
 $server->addFunction('myUberCoolFunction', 'my')
 $server->addFunction('myUberCoolFunction', 'my')
        ->setClass('Foo', 'foo')
        ->setClass('Foo', 'foo')
@@ -63,7 +63,7 @@ echo $response;
             Adding directories is completed with the <code>addDirectory()</code> method.
             Adding directories is completed with the <code>addDirectory()</code> method.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $server->addDirectory(dirname(__FILE__) .'/../services/');
 $server->addDirectory(dirname(__FILE__) .'/../services/');
 $server->addDirectory(dirname(__FILE__) .'/../package/');
 $server->addDirectory(dirname(__FILE__) .'/../package/');
 ]]></programlisting>
 ]]></programlisting>
@@ -94,7 +94,7 @@ $server->addDirectory(dirname(__FILE__) .'/../package/');
             the return value. As examples:
             the return value. As examples:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Function to attach:
 // Function to attach:
 
 
 /**
 /**
@@ -108,7 +108,7 @@ function helloWorld($name, $greeting = 'Hello')
 }
 }
 ]]></programlisting>
 ]]></programlisting>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Attached class
 // Attached class
 
 
 class World
 class World
@@ -176,7 +176,7 @@ class World
             match that of your testing server. Make sure you save the file.
             match that of your testing server. Make sure you save the file.
         </para>
         </para>
 
 
-        <programlisting role="xml"><![CDATA[
+        <programlisting language="xml"><![CDATA[
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <services-config>
 <services-config>
     <services>
     <services>
@@ -209,7 +209,7 @@ class World
             URL to our <classname>Zend_Amf_Server</classname>:
             URL to our <classname>Zend_Amf_Server</classname>:
         </para>
         </para>
 
 
-        <programlisting role="xml"><![CDATA[
+        <programlisting language="xml"><![CDATA[
 <channel-definition id="zend-endpoint"
 <channel-definition id="zend-endpoint"
     <endpoint uri="http://example.com/server.php"
     <endpoint uri="http://example.com/server.php"
         class="flex.messaging.endpoints.AMFEndpoint"/>
         class="flex.messaging.endpoints.AMFEndpoint"/>
@@ -227,7 +227,7 @@ class World
             service. In MXML, this might be done as follows:
             service. In MXML, this might be done as follows:
         </para>
         </para>
 
 
-        <programlisting role="xml"><![CDATA[
+        <programlisting language="xml"><![CDATA[
 <mx:RemoteObject id="myservice"
 <mx:RemoteObject id="myservice"
     fault="faultHandler(event)"
     fault="faultHandler(event)"
     showBusyCursor="true"
     showBusyCursor="true"
@@ -242,7 +242,7 @@ class World
             As an example:
             As an example:
         </para>
         </para>
 
 
-        <programlisting role="ActionScript"><![CDATA[
+        <programlisting language="ActionScript"><![CDATA[
 myservice.hello("Wade");
 myservice.hello("Wade");
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -251,7 +251,7 @@ myservice.hello("Wade");
             "myservice.&lt;namespace&gt;.&lt;method&gt;":
             "myservice.&lt;namespace&gt;.&lt;method&gt;":
         </para>
         </para>
 
 
-        <programlisting role="ActionScript"><![CDATA[
+        <programlisting language="ActionScript"><![CDATA[
 myservice.world.hello("Wade");
 myservice.world.hello("Wade");
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -283,7 +283,7 @@ myservice.world.hello("Wade");
             To disable production mode, do the following:
             To disable production mode, do the following:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $server->setProduction(false);
 $server->setProduction(false);
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -291,7 +291,7 @@ $server->setProduction(false);
             To re-enable it, pass a true boolean value instead:
             To re-enable it, pass a true boolean value instead:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $server->setProduction(true);
 $server->setProduction(true);
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -335,7 +335,7 @@ $server->setProduction(true);
                 'bar' to the response prior to returning it.
                 'bar' to the response prior to returning it.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $response = $server->handle();
 $response = $server->handle();
 $response->addAmfHeader(new Zend_Amf_Value_MessageHeader('foo', true, 'bar'))
 $response->addAmfHeader(new Zend_Amf_Value_MessageHeader('foo', true, 'bar'))
 echo $response;
 echo $response;
@@ -366,7 +366,7 @@ echo $response;
                     class name it maps to:
                     class name it maps to:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Map the ActionScript class 'ContactVO' to the PHP class 'Contact':
 // Map the ActionScript class 'ContactVO' to the PHP class 'Contact':
 $server->setClassMap('ContactVO', 'Contact');
 $server->setClassMap('ContactVO', 'Contact');
 ]]></programlisting>
 ]]></programlisting>
@@ -379,7 +379,7 @@ $server->setClassMap('ContactVO', 'Contact');
                     value representing the ActionScript class to map to:
                     value representing the ActionScript class to map to:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class Contact
 class Contact
 {
 {
     public $_explicitType = 'ContactVO';
     public $_explicitType = 'ContactVO';
@@ -394,7 +394,7 @@ class Contact
                     should return the appropriate ActionScript class:
                     should return the appropriate ActionScript class:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class Contact
 class Contact
 {
 {
     public function getASClassName()
     public function getASClassName()
@@ -415,7 +415,7 @@ class Contact
             File. Name the file ContactVO and press finish to see the new file. Copy the
             File. Name the file ContactVO and press finish to see the new file. Copy the
             following code into the file to finish creating the class.
             following code into the file to finish creating the class.
         </para>
         </para>
-        <programlisting role="as"><![CDATA[
+        <programlisting language="as"><![CDATA[
 package
 package
 {
 {
     [Bindable]
     [Bindable]
@@ -442,7 +442,7 @@ package
             It is mandatory that this tag the value that was set is the PHP class are strictly
             It is mandatory that this tag the value that was set is the PHP class are strictly
             equivalent.
             equivalent.
         </para>
         </para>
-        <programlisting role="as"><![CDATA[
+        <programlisting language="as"><![CDATA[
 [Bindable]
 [Bindable]
 private var myContact:ContactVO;
 private var myContact:ContactVO;
 
 
@@ -483,7 +483,7 @@ private function getContactHandler(event:ResultEvent):void {
             display the result. Copy the following code into your Main.as file and then we will
             display the result. Copy the following code into your Main.as file and then we will
             walk through the code to describe what each element's role is.
             walk through the code to describe what each element's role is.
         </para>
         </para>
-        <programlisting role="as"><![CDATA[
+        <programlisting language="as"><![CDATA[
 package {
 package {
   import flash.display.MovieClip;
   import flash.display.MovieClip;
   import flash.events.*;
   import flash.events.*;
@@ -523,7 +523,7 @@ package {
             the server. The second is a Responder object which handles the return values from the
             the server. The second is a Responder object which handles the return values from the
             server related to the success or failure of the call.
             server related to the success or failure of the call.
         </para>
         </para>
-        <programlisting role="as"><![CDATA[
+        <programlisting language="as"><![CDATA[
 import flash.net.NetConnection;
 import flash.net.NetConnection;
 import flash.net.Responder;
 import flash.net.Responder;
 ]]></programlisting>
 ]]></programlisting>
@@ -531,7 +531,7 @@ import flash.net.Responder;
             In the class we need three variables to represent the NetConnection, Responder, and
             In the class we need three variables to represent the NetConnection, Responder, and
             the gateway URL to our <classname>Zend_Amf_Server</classname> installation.
             the gateway URL to our <classname>Zend_Amf_Server</classname> installation.
         </para>
         </para>
-        <programlisting role="as"><![CDATA[
+        <programlisting language="as"><![CDATA[
 private var gateway:String = "http://example.com/server.php";
 private var gateway:String = "http://example.com/server.php";
 private var connection:NetConnection;
 private var connection:NetConnection;
 private var responder:Responder;
 private var responder:Responder;
@@ -542,7 +542,7 @@ private var responder:Responder;
             methods for handling the response from the server. For simplicity I have called these
             methods for handling the response from the server. For simplicity I have called these
             onResult and onFault.
             onResult and onFault.
         </para>
         </para>
-        <programlisting role="as"><![CDATA[
+        <programlisting language="as"><![CDATA[
 responder = new Responder(onResult, onFault);
 responder = new Responder(onResult, onFault);
 connection = new NetConnection;
 connection = new NetConnection;
 connection.connect(gateway);
 connection.connect(gateway);
@@ -552,7 +552,7 @@ connection.connect(gateway);
             the data to the server. We need to add one more line that makes a call to the
             the data to the server. We need to add one more line that makes a call to the
             <classname>Zend_Amf_Server</classname> World->hello function.
             <classname>Zend_Amf_Server</classname> World->hello function.
         </para>
         </para>
-        <programlisting role="as"><![CDATA[
+        <programlisting language="as"><![CDATA[
 connection.call("World.hello", responder, params);
 connection.call("World.hello", responder, params);
 ]]></programlisting>
 ]]></programlisting>
         <para>
         <para>
@@ -561,7 +561,7 @@ connection.call("World.hello", responder, params);
             from the server. A successful event handler is run every time the connection is handled
             from the server. A successful event handler is run every time the connection is handled
             properly to the server.
             properly to the server.
         </para>
         </para>
-        <programlisting role="as"><![CDATA[
+        <programlisting language="as"><![CDATA[
 private function onResult(result:Object):void {
 private function onResult(result:Object):void {
     // Display the returned data
     // Display the returned data
     trace(String(result));
     trace(String(result));
@@ -572,7 +572,7 @@ private function onResult(result:Object):void {
             happens when there is an error on the server, the URL to the server is invalid, the
             happens when there is an error on the server, the URL to the server is invalid, the
             remote service or method does not exist, and any other connection related issues.
             remote service or method does not exist, and any other connection related issues.
         </para>
         </para>
-        <programlisting role="as"><![CDATA[
+        <programlisting language="as"><![CDATA[
 private function onFault(fault:Object):void {
 private function onFault(fault:Object):void {
     trace(String(fault.description));
     trace(String(fault.description));
 }
 }

+ 3 - 3
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Db.xml

@@ -38,7 +38,7 @@
             the DB resource.
             the DB resource.
         </para>
         </para>
 
 
-        <programlisting role="ini"><![CDATA[
+        <programlisting language="ini"><![CDATA[
 [production]
 [production]
 resources.db.adapter = "pdo_mysql"
 resources.db.adapter = "pdo_mysql"
 resources.db.params.host = "localhost"
 resources.db.params.host = "localhost"
@@ -63,7 +63,7 @@ resources.db.isDefaultTableAdapter = true
             from your bootstrap:
             from your bootstrap:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $resource = $bootstrap->getPluginResource('db');
 $resource = $bootstrap->getPluginResource('db');
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -72,7 +72,7 @@ $resource = $bootstrap->getPluginResource('db');
             using the <code>getDbAdapter()</code> method:
             using the <code>getDbAdapter()</code> method:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $db = $resource->getDbAdapter();
 $db = $resource->getDbAdapter();
 ]]></programlisting>
 ]]></programlisting>
     </note>
     </note>

+ 2 - 2
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Frontcontroller.xml

@@ -86,7 +86,7 @@
             controller resource.
             controller resource.
         </para>
         </para>
 
 
-        <programlisting role="ini"><![CDATA[
+        <programlisting language="ini"><![CDATA[
 [production]
 [production]
 resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
 resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
 resources.frontController.moduleControllerDirectoryName = "actions"
 resources.frontController.moduleControllerDirectoryName = "actions"
@@ -110,7 +110,7 @@ resources.frontController.env = APPLICATION_ENV
             <code>frontController</code> property of your bootstrap.
             <code>frontController</code> property of your bootstrap.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $bootstrap->bootstrap('frontController');
 $bootstrap->bootstrap('frontController');
 $front = $bootstrap->frontController;
 $front = $bootstrap->frontController;
 ]]></programlisting>
 ]]></programlisting>

+ 3 - 3
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Modules.xml

@@ -44,7 +44,7 @@
             resources in that module.
             resources in that module.
         </para>
         </para>
 
 
-        <programlisting role="ini"><![CDATA[
+        <programlisting language="ini"><![CDATA[
 [production]
 [production]
 news.resources.db.adapter = "pdo_mysql"
 news.resources.db.adapter = "pdo_mysql"
 news.resources.db.params.host = "localhost"
 news.resources.db.params.host = "localhost"
@@ -54,7 +54,7 @@ news.resources.db.params.dbname = "news"
 news.resources.layout.layout = "news"
 news.resources.layout.layout = "news"
 ]]></programlisting>
 ]]></programlisting>
 
 
-        <programlisting role="xml"><![CDATA[
+        <programlisting language="xml"><![CDATA[
 <?xml version="1.0"?>
 <?xml version="1.0"?>
 <config>
 <config>
     <production>
     <production>
@@ -88,7 +88,7 @@ news.resources.layout.layout = "news"
             method.
             method.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $resource = $bootstrap->getPluginResource('modules');
 $resource = $bootstrap->getPluginResource('modules');
 $moduleBootstraps = $resource->getExecutedBootstraps();
 $moduleBootstraps = $resource->getExecutedBootstraps();
 $newsBootstrap = $moduleBootstraps['news'];
 $newsBootstrap = $moduleBootstraps['news'];

+ 1 - 1
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Session.xml

@@ -50,7 +50,7 @@
             as configures a <classname>Zend_Session_SaveHandler_DbTable</classname> instance.
             as configures a <classname>Zend_Session_SaveHandler_DbTable</classname> instance.
         </para>
         </para>
 
 
-        <programlisting role="ini"><![CDATA[
+        <programlisting language="ini"><![CDATA[
 resources.session.save_path = APPLICATION_PATH "/../data/session"
 resources.session.save_path = APPLICATION_PATH "/../data/session"
 resources.session.use_only_cookies = true
 resources.session.use_only_cookies = true
 resources.session.remember_me_seconds = 864000
 resources.session.remember_me_seconds = 864000

+ 1 - 1
documentation/manual/en/module_specs/Zend_Application-AvailableResources-View.xml

@@ -25,7 +25,7 @@
             resource.
             resource.
         </para>
         </para>
 
 
-        <programlisting role="ini"><![CDATA[
+        <programlisting language="ini"><![CDATA[
 resources.view.encoding = "UTF-8"
 resources.view.encoding = "UTF-8"
 resources.view.basePath = APPLICATION_PATH "/views/scripts"
 resources.view.basePath = APPLICATION_PATH "/views/scripts"
 ]]></programlisting>
 ]]></programlisting>

+ 6 - 6
documentation/manual/en/module_specs/Zend_Application-CoreFunctionality-Resource_ResourceAbstract.xml

@@ -116,7 +116,7 @@
             short name:
             short name:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $app = new Zend_Application(APPLICATION_ENV, array(
 $app = new Zend_Application(APPLICATION_ENV, array(
     'pluginPaths' => array(
     'pluginPaths' => array(
         'My_Resource' => 'My/Resource/',
         'My_Resource' => 'My/Resource/',
@@ -136,7 +136,7 @@ $app = new Zend_Application(APPLICATION_ENV, array(
             later using the short name:
             later using the short name:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $bootstrap->bootstrap('view');
 $bootstrap->bootstrap('view');
 $view = $bootstrap->getResource('view');
 $view = $bootstrap->getResource('view');
 ]]></programlisting>
 ]]></programlisting>
@@ -147,7 +147,7 @@ $view = $bootstrap->getResource('view');
             using the resource's full class name:
             using the resource's full class name:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $app = new Zend_Application(APPLICATION_ENV, array(
 $app = new Zend_Application(APPLICATION_ENV, array(
     'resources' => array(
     'resources' => array(
         // This will load the standard 'View' resource:
         // This will load the standard 'View' resource:
@@ -163,7 +163,7 @@ $app = new Zend_Application(APPLICATION_ENV, array(
             Obviously, this makes referencing the resource much more verbose:
             Obviously, this makes referencing the resource much more verbose:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $bootstrap->bootstrap('My_Resource_View');
 $bootstrap->bootstrap('My_Resource_View');
 $view = $bootstrap->getResource('My_Resource_View');
 $view = $bootstrap->getResource('My_Resource_View');
 ]]></programlisting>
 ]]></programlisting>
@@ -177,7 +177,7 @@ $view = $bootstrap->getResource('My_Resource_View');
             bootstrap. As an example, let's define our own view class:
             bootstrap. As an example, let's define our own view class:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class My_Resource_View extends Zend_Application_Resource_ResourceAbstract
 class My_Resource_View extends Zend_Application_Resource_ResourceAbstract
 {
 {
     public $_explicitType = 'My_View';
     public $_explicitType = 'My_View';
@@ -194,7 +194,7 @@ class My_Resource_View extends Zend_Application_Resource_ResourceAbstract
             "My_View":
             "My_View":
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $bootstrap->bootstrap('My_View');
 $bootstrap->bootstrap('My_View');
 $view = $bootstrap->getResource('My_View');
 $view = $bootstrap->getResource('My_View');
 ]]></programlisting>
 ]]></programlisting>

+ 9 - 9
documentation/manual/en/module_specs/Zend_Application-Examples.xml

@@ -8,7 +8,7 @@
         it will simply be an empty stub extending the base bootstrap class:
         it will simply be an empty stub extending the base bootstrap class:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 {
 {
 }
 }
@@ -18,7 +18,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
         With a corresponding configuration file:
         With a corresponding configuration file:
     </para>
     </para>
 
 
-    <programlisting role="ini"><![CDATA[
+    <programlisting language="ini"><![CDATA[
 ; APPLICATION_PATH/configs/application.ini
 ; APPLICATION_PATH/configs/application.ini
 [production]
 [production]
 bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
 bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
@@ -53,7 +53,7 @@ resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
         returning a value to store in the bootstrap.
         returning a value to store in the bootstrap.
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 {
 {
     protected function _initRequest(array $options = array())
     protected function _initRequest(array $options = array())
@@ -114,7 +114,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
         following:
         following:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 class My_Bootstrap_Resource_View
 class My_Bootstrap_Resource_View
     extends Zend_Application_Resource_ResourceAbstract
     extends Zend_Application_Resource_ResourceAbstract
 {
 {
@@ -151,7 +151,7 @@ class My_Bootstrap_Resource_View
         path and the short name of the resource (e.g, "view"):
         path and the short name of the resource (e.g, "view"):
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $application = new Zend_Application(
 $application = new Zend_Application(
     APPLICATION_ENV,
     APPLICATION_ENV,
     array(
     array(
@@ -177,7 +177,7 @@ $application = new Zend_Application(
         parent bootstrap:
         parent bootstrap:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 class My_Bootstrap_Resource_Layout
 class My_Bootstrap_Resource_Layout
     extends Zend_Application_Resource_ResourceAbstract
     extends Zend_Application_Resource_ResourceAbstract
 {
 {
@@ -199,7 +199,7 @@ class My_Bootstrap_Resource_Layout
         and run it:
         and run it:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $application = new Zend_Application(...);
 $application = new Zend_Application(...);
 $application->bootstrap()
 $application->bootstrap()
             ->run();
             ->run();
@@ -210,7 +210,7 @@ $application->bootstrap()
         resources:
         resources:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $application = new Zend_Application(...);
 $application = new Zend_Application(...);
 $application->getBootstrap()->bootstrap('db');
 $application->getBootstrap()->bootstrap('db');
 
 
@@ -224,7 +224,7 @@ echo $service->handle();
         internal methods or resources, you may also use overloading:
         internal methods or resources, you may also use overloading:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $application = new Zend_Application(...);
 $application = new Zend_Application(...);
 $application->getBootstrap()->bootstrapDb();
 $application->getBootstrap()->bootstrapDb();
 ]]></programlisting>
 ]]></programlisting>

+ 13 - 13
documentation/manual/en/module_specs/Zend_Application-QuickStart.xml

@@ -30,7 +30,7 @@
             To create a project, execute the <code>zf</code> command (on *nix systems):
             To create a project, execute the <code>zf</code> command (on *nix systems):
         </para>
         </para>
 
 
-        <programlisting role="sh"><![CDATA[
+        <programlisting language="sh"><![CDATA[
 % zf create project newproject
 % zf create project newproject
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -38,7 +38,7 @@
             Or the Windows <code>zf.bat</code> command:
             Or the Windows <code>zf.bat</code> command:
         </para>
         </para>
 
 
-        <programlisting role="dos"><![CDATA[
+        <programlisting language="dos"><![CDATA[
 C:> zf.bat create project newproject
 C:> zf.bat create project newproject
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -46,7 +46,7 @@ C:> zf.bat create project newproject
             Both will create a project structure that looks like the following:
             Both will create a project structure that looks like the following:
         </para>
         </para>
 
 
-        <programlisting role="text"><![CDATA[
+        <programlisting language="text"><![CDATA[
 newproject
 newproject
 |-- application
 |-- application
 |   |-- Bootstrap.php
 |   |-- Bootstrap.php
@@ -80,7 +80,7 @@ newproject
             the following at first:
             the following at first:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 {
 {
 }
 }
@@ -92,7 +92,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
             created. It has the following contents:
             created. It has the following contents:
         </para>
         </para>
 
 
-        <programlisting role="dosini"><![CDATA[
+        <programlisting language="dosini"><![CDATA[
 [production]
 [production]
 phpSettings.display_startup_errors = 0
 phpSettings.display_startup_errors = 0
 phpSettings.display_errors = 0
 phpSettings.display_errors = 0
@@ -123,7 +123,7 @@ phpSettings.display_errors = 1
             <classname>Zend_Application</classname> and dispatches it.
             <classname>Zend_Application</classname> and dispatches it.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Define path to application directory
 // Define path to application directory
 defined('APPLICATION_PATH')
 defined('APPLICATION_PATH')
     || define('APPLICATION_PATH',
     || define('APPLICATION_PATH',
@@ -184,7 +184,7 @@ $application->bootstrap()
             <filename>application/Bootstrap.php</filename>, with the following contents:
             <filename>application/Bootstrap.php</filename>, with the following contents:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 {
 {
 }
 }
@@ -198,7 +198,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
             following contents:
             following contents:
         </para>
         </para>
 
 
-        <programlisting role="dosini"><![CDATA[
+        <programlisting language="dosini"><![CDATA[
 [production]
 [production]
 phpSettings.display_startup_errors = 0
 phpSettings.display_startup_errors = 0
 phpSettings.display_errors = 0
 phpSettings.display_errors = 0
@@ -224,7 +224,7 @@ phpSettings.display_errors = 1
             it; otherwise, replace it with the following contents:
             it; otherwise, replace it with the following contents:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Define path to application directory
 // Define path to application directory
 defined('APPLICATION_PATH')
 defined('APPLICATION_PATH')
     || define('APPLICATION_PATH',
     || define('APPLICATION_PATH',
@@ -264,7 +264,7 @@ $application->bootstrap()
             <filename>public/.htacces</filename> file:
             <filename>public/.htacces</filename> file:
         </para>
         </para>
 
 
-        <programlisting role="conf"><![CDATA[
+        <programlisting language="conf"><![CDATA[
 SetEnv APPLICATION_ENV development
 SetEnv APPLICATION_ENV development
 
 
 RewriteEngine On
 RewriteEngine On
@@ -321,7 +321,7 @@ RewriteRule ^.*$ index.php [NC,L]
             To use it, all we need to do is update the configuration file.
             To use it, all we need to do is update the configuration file.
         </para>
         </para>
 
 
-        <programlisting role="dosini"><![CDATA[
+        <programlisting language="dosini"><![CDATA[
 [production]
 [production]
 phpSettings.display_startup_errors = 0
 phpSettings.display_startup_errors = 0
 phpSettings.display_errors = 0
 phpSettings.display_errors = 0
@@ -351,7 +351,7 @@ phpSettings.display_errors = 1
             next):
             next):
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 <?php echo $this->doctype() ?>
 <?php echo $this->doctype() ?>
 <html>
 <html>
 <head>
 <head>
@@ -377,7 +377,7 @@ phpSettings.display_errors = 1
             <code>Bootstrap</code> class to add a method:
             <code>Bootstrap</code> class to add a method:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 {
 {
     protected function _initView()
     protected function _initView()

+ 15 - 15
documentation/manual/en/module_specs/Zend_Application-TheoryOfOperation.xml

@@ -140,7 +140,7 @@
             which defines the following API:
             which defines the following API:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 interface Zend_Application_Bootstrap_Bootstrapper
 interface Zend_Application_Bootstrap_Bootstrapper
 {
 {
     public function __construct($application);
     public function __construct($application);
@@ -199,7 +199,7 @@ interface Zend_Application_Bootstrap_Bootstrapper
                 Take the following bootstrap class:
                 Take the following bootstrap class:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 {
 {
     protected function _initFoo()
     protected function _initFoo()
@@ -224,7 +224,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
                 following:
                 following:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bootstrap->bootstrap('foo');
 $bootstrap->bootstrap('foo');
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -233,7 +233,7 @@ $bootstrap->bootstrap('foo');
                 <code>_initBar()</code> methods, do the following:
                 <code>_initBar()</code> methods, do the following:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bootstrap->bootstrap(array('foo', 'bar));
 $bootstrap->bootstrap(array('foo', 'bar));
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -242,7 +242,7 @@ $bootstrap->bootstrap(array('foo', 'bar));
                 with no arguments:
                 with no arguments:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bootstrap->bootstrap();
 $bootstrap->bootstrap();
 ]]></programlisting>
 ]]></programlisting>
         </sect3>
         </sect3>
@@ -268,7 +268,7 @@ $bootstrap->bootstrap();
                 loading resource plugins:
                 loading resource plugins:
             </para>
             </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 interface Zend_Application_Bootstrap_ResourceBootstrapper
 interface Zend_Application_Bootstrap_ResourceBootstrapper
 {
 {
     public function registerPluginResource($resource, $options = null);
     public function registerPluginResource($resource, $options = null);
@@ -309,7 +309,7 @@ interface Zend_Application_Bootstrap_ResourceBootstrapper
                 the name of the resource. As an example,
                 the name of the resource. As an example,
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $application = new Zend_Application(APPLICATION_ENV, array(
 $application = new Zend_Application(APPLICATION_ENV, array(
     'resources' => array(
     'resources' => array(
         'FrontController' => array(
         'FrontController' => array(
@@ -339,7 +339,7 @@ $application = new Zend_Application(APPLICATION_ENV, array(
                 pass that information to the application object as follows:
                 pass that information to the application object as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $application = new Zend_Application(APPLICATION_ENV, array(
 $application = new Zend_Application(APPLICATION_ENV, array(
     'pluginPaths' => array(
     'pluginPaths' => array(
         'My_Resource' => APPLICATION_PATH . '/resources/',
         'My_Resource' => APPLICATION_PATH . '/resources/',
@@ -364,7 +364,7 @@ $application = new Zend_Application(APPLICATION_ENV, array(
                 you can mix and match to execute resource methods as well.
                 you can mix and match to execute resource methods as well.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Execute one:
 // Execute one:
 $bootstrap->bootstrap('FrontController');
 $bootstrap->bootstrap('FrontController');
 
 
@@ -409,7 +409,7 @@ $bootstrap->bootstrap();
                 As an example, consider a basic view resource:
                 As an example, consider a basic view resource:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 {
 {
     protected function _initView()
     protected function _initView()
@@ -426,7 +426,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
                 You can then check for it and/or fetch it as follows:
                 You can then check for it and/or fetch it as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Using the has/getResource() pair:
 // Using the has/getResource() pair:
 if ($bootstrap->hasResource('view')) {
 if ($bootstrap->hasResource('view')) {
     $view = $bootstrap->getResource('view');
     $view = $bootstrap->getResource('view');
@@ -454,7 +454,7 @@ if (isset($container->view)) {
                 above within your action controller, you could do the following:
                 above within your action controller, you could do the following:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class FooController extends Zend_Controller_Action
 class FooController extends Zend_Controller_Action
 {
 {
     public function init()
     public function init()
@@ -503,7 +503,7 @@ class FooController extends Zend_Controller_Action
                 In a resource method, such a call would look like this:
                 In a resource method, such a call would look like this:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
 {
 {
     protected function _initRequest()
     protected function _initRequest()
@@ -546,7 +546,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
             interface is simply this:
             interface is simply this:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 interface Zend_Application_Resource_Resource
 interface Zend_Application_Resource_Resource
 {
 {
     public function __construct($options = null);
     public function __construct($options = null);
@@ -574,7 +574,7 @@ interface Zend_Application_Resource_Resource
             via configuration. Such a resource might look like this:
             via configuration. Such a resource might look like this:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class My_Resource_View extends Zend_Application_Resource_ResourceAbstract
 class My_Resource_View extends Zend_Application_Resource_ResourceAbstract
 {
 {
     protected $_view;
     protected $_view;

+ 10 - 10
documentation/manual/en/module_specs/Zend_Auth.xml

@@ -53,7 +53,7 @@
             for authentication. Other details, such as how the authentication service is queried, have been
             for authentication. Other details, such as how the authentication service is queried, have been
             omitted for brevity:
             omitted for brevity:
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class MyAuthAdapter implements Zend_Auth_Adapter_Interface
 class MyAuthAdapter implements Zend_Auth_Adapter_Interface
 {
 {
     /**
     /**
@@ -137,7 +137,7 @@ class MyAuthAdapter implements Zend_Auth_Adapter_Interface
             attempted, and providing specific, customized authentication result messages to the user. The following
             attempted, and providing specific, customized authentication result messages to the user. The following
             result codes are available:
             result codes are available:
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 Zend_Auth_Result::SUCCESS
 Zend_Auth_Result::SUCCESS
 Zend_Auth_Result::FAILURE
 Zend_Auth_Result::FAILURE
 Zend_Auth_Result::FAILURE_IDENTITY_NOT_FOUND
 Zend_Auth_Result::FAILURE_IDENTITY_NOT_FOUND
@@ -151,7 +151,7 @@ Zend_Auth_Result::FAILURE_UNCATEGORIZED
         <para>
         <para>
             The following example illustrates how a developer may branch on the result code:
             The following example illustrates how a developer may branch on the result code:
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // inside of AuthController / loginAction
 // inside of AuthController / loginAction
 $result = $this->_auth->authenticate($adapter);
 $result = $this->_auth->authenticate($adapter);
 
 
@@ -229,7 +229,7 @@ switch ($result->getCode()) {
                     of <classname>Zend_Session_Namespace</classname>. This should occur before authentication is attempted, since
                     of <classname>Zend_Session_Namespace</classname>. This should occur before authentication is attempted, since
                     <classname>Zend_Auth::authenticate()</classname> performs the automatic storage of the identity.
                     <classname>Zend_Auth::authenticate()</classname> performs the automatic storage of the identity.
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 // Save a reference to the Singleton instance of Zend_Auth
 // Save a reference to the Singleton instance of Zend_Auth
 $auth = Zend_Auth::getInstance();
 $auth = Zend_Auth::getInstance();
 
 
@@ -271,7 +271,7 @@ $result = $auth->authenticate($authAdapter);
                     <classname>Zend_Auth_Storage_Session</classname>, a developer implements
                     <classname>Zend_Auth_Storage_Session</classname>, a developer implements
                     <classname>Zend_Auth_Storage_Interface</classname>:
                     <classname>Zend_Auth_Storage_Interface</classname>:
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 class MyStorage implements Zend_Auth_Storage_Interface
 class MyStorage implements Zend_Auth_Storage_Interface
 {
 {
     /**
     /**
@@ -342,7 +342,7 @@ class MyStorage implements Zend_Auth_Storage_Interface
                     In order to use this custom storage class, <classname>Zend_Auth::setStorage()</classname> is invoked before an
                     In order to use this custom storage class, <classname>Zend_Auth::setStorage()</classname> is invoked before an
                     authentication query is attempted:
                     authentication query is attempted:
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 // Instruct Zend_Auth to use the custom storage class
 // Instruct Zend_Auth to use the custom storage class
 Zend_Auth::getInstance()->setStorage(new MyStorage());
 Zend_Auth::getInstance()->setStorage(new MyStorage());
 
 
@@ -387,7 +387,7 @@ $result = Zend_Auth::getInstance()->authenticate($authAdapter);
             The following example illustrates how to use a <classname>Zend_Auth</classname> adapter indirectly, through the use of
             The following example illustrates how to use a <classname>Zend_Auth</classname> adapter indirectly, through the use of
             the <classname>Zend_Auth</classname> class:
             the <classname>Zend_Auth</classname> class:
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Get a reference to the singleton instance of Zend_Auth
 // Get a reference to the singleton instance of Zend_Auth
 $auth = Zend_Auth::getInstance();
 $auth = Zend_Auth::getInstance();
 
 
@@ -414,7 +414,7 @@ if (!$result->isValid()) {
         <para>
         <para>
             Once authentication has been attempted in a request, as in the above example, it is a simple
             Once authentication has been attempted in a request, as in the above example, it is a simple
             matter to check whether a successfully authenticated identity exists:
             matter to check whether a successfully authenticated identity exists:
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $auth = Zend_Auth::getInstance();
 $auth = Zend_Auth::getInstance();
 if ($auth->hasIdentity()) {
 if ($auth->hasIdentity()) {
     // Identity exists; get it
     // Identity exists; get it
@@ -426,7 +426,7 @@ if ($auth->hasIdentity()) {
         <para>
         <para>
             To remove an identity from persistent storage, simply use the <code>clearIdentity()</code> method.
             To remove an identity from persistent storage, simply use the <code>clearIdentity()</code> method.
             This typically would be used for implementing an application "logout" operation:
             This typically would be used for implementing an application "logout" operation:
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 Zend_Auth::getInstance()->clearIdentity();
 Zend_Auth::getInstance()->clearIdentity();
 ]]></programlisting>
 ]]></programlisting>
         </para>
         </para>
@@ -439,7 +439,7 @@ Zend_Auth::getInstance()->clearIdentity();
             documentation for each adapter. The following example directly utilizes
             documentation for each adapter. The following example directly utilizes
             <code>MyAuthAdapter</code>:
             <code>MyAuthAdapter</code>:
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Set up the authentication adapter
 // Set up the authentication adapter
 $authAdapter = new MyAuthAdapter($username, $password);
 $authAdapter = new MyAuthAdapter($username, $password);
 
 

+ 10 - 10
documentation/manual/en/module_specs/Zend_Auth_Adapter_DbTable.xml

@@ -74,7 +74,7 @@
                 which we can perform an authentication query later. This example
                 which we can perform an authentication query later. This example
                  requires the PDO SQLite extension to be available:
                  requires the PDO SQLite extension to be available:
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Create an in-memory SQLite database connection
 // Create an in-memory SQLite database connection
 $dbAdapter = new Zend_Db_Adapter_Pdo_Sqlite(array('dbname' =>
 $dbAdapter = new Zend_Db_Adapter_Pdo_Sqlite(array('dbname' =>
                                                   ':memory:'));
                                                   ':memory:'));
@@ -103,7 +103,7 @@ $dbAdapter->query($sqlInsert);
                 constructor or deferred as parameters to setter methods after
                 constructor or deferred as parameters to setter methods after
                 instantiation:
                 instantiation:
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Configure the instance with constructor parameters...
 // Configure the instance with constructor parameters...
 $authAdapter = new Zend_Auth_Adapter_DbTable(
 $authAdapter = new Zend_Auth_Adapter_DbTable(
     $dbAdapter,
     $dbAdapter,
@@ -128,7 +128,7 @@ $authAdapter
                 the adapter prior to calling the <code>authenticate()</code>
                 the adapter prior to calling the <code>authenticate()</code>
                 method:
                 method:
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Set the input credential values (e.g., from a login form)
 // Set the input credential values (e.g., from a login form)
 $authAdapter
 $authAdapter
     ->setIdentity('my_username')
     ->setIdentity('my_username')
@@ -143,7 +143,7 @@ $authAdapter
                 object, <classname>Zend_Auth_Adapter_DbTable</classname> also supports
                 object, <classname>Zend_Auth_Adapter_DbTable</classname> also supports
                 retrieving the table row upon authentication success:
                 retrieving the table row upon authentication success:
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Print the identity
 // Print the identity
 echo $result->getIdentity() . "\n\n";
 echo $result->getIdentity() . "\n\n";
 
 
@@ -179,7 +179,7 @@ Array
             <code>stdClass</code> object. The following code snippet illustrates
             <code>stdClass</code> object. The following code snippet illustrates
             its use:
             its use:
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // authenticate with Zend_Auth_Adapter_DbTable
 // authenticate with Zend_Auth_Adapter_DbTable
 $result = $this->_auth->authenticate($adapter);
 $result = $this->_auth->authenticate($adapter);
 
 
@@ -226,7 +226,7 @@ if ($result->isValid()) {
             leveraged for additional checks at authentication time to solve
             leveraged for additional checks at authentication time to solve
             some common user problems.
             some common user problems.
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // The status field value of an account is not equal to "compromised"
 // The status field value of an account is not equal to "compromised"
 $adapter = new Zend_Auth_Adapter_DbTable(
 $adapter = new Zend_Auth_Adapter_DbTable(
     $db,
     $db,
@@ -255,7 +255,7 @@ $adapter = new Zend_Auth_Adapter_DbTable(
         <para>
         <para>
             Therefore, we need to modify our table to store our salt string:
             Therefore, we need to modify our table to store our salt string:
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $sqlAlter = "ALTER TABLE [users] "
 $sqlAlter = "ALTER TABLE [users] "
           . "ADD COLUMN [password_salt] "
           . "ADD COLUMN [password_salt] "
           . "AFTER [password]";
           . "AFTER [password]";
@@ -264,14 +264,14 @@ $sqlAlter = "ALTER TABLE [users] "
             Here’s a simple way to generate a salt string for every user at
             Here’s a simple way to generate a salt string for every user at
             registration:
             registration:
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 for ($i = 0; $i < 50; $i++) {
 for ($i = 0; $i < 50; $i++) {
     $dynamicSalt .= chr(rand(33, 126));
     $dynamicSalt .= chr(rand(33, 126));
 ]]></programlisting>
 ]]></programlisting>
         <para>
         <para>
             And now let’s build the adapter:
             And now let’s build the adapter:
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $adapter = new Zend_Auth_Adapter_DbTable(
 $adapter = new Zend_Auth_Adapter_DbTable(
     $db,
     $db,
     'users',
     'users',
@@ -305,7 +305,7 @@ $adapter = new Zend_Auth_Adapter_DbTable(
             method would check the status of a user, in other words to see if that
             method would check the status of a user, in other words to see if that
             user's account is enabled.
             user's account is enabled.
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Continuing with the example from above
 // Continuing with the example from above
 $adapter = new Zend_Auth_Adapter_DbTable(
 $adapter = new Zend_Auth_Adapter_DbTable(
     $db,
     $db,

+ 1 - 1
documentation/manual/en/module_specs/Zend_Auth_Adapter_Digest.xml

@@ -90,7 +90,7 @@ someUser:Some Realm:fde17b91c3a510ecbaf7dbd37f59d4f8
             values set before <code>authenticate()</code> is called.
             values set before <code>authenticate()</code> is called.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $adapter = new Zend_Auth_Adapter_Digest($filename,
 $adapter = new Zend_Auth_Adapter_Digest($filename,
                                         $realm,
                                         $realm,
                                         $username,
                                         $username,

+ 6 - 6
documentation/manual/en/module_specs/Zend_Auth_Adapter_Http.xml

@@ -191,12 +191,12 @@
 
 
             <para>
             <para>
                 There are two equally easy ways to create a File resolver:
                 There are two equally easy ways to create a File resolver:
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $path     = 'files/passwd.txt';
 $path     = 'files/passwd.txt';
 $resolver = new Zend_Auth_Adapter_Http_Resolver_File($path);
 $resolver = new Zend_Auth_Adapter_Http_Resolver_File($path);
 ]]></programlisting>
 ]]></programlisting>
                 or
                 or
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $path     = 'files/passwd.txt';
 $path     = 'files/passwd.txt';
 $resolver = new Zend_Auth_Adapter_Http_Resolver_File();
 $resolver = new Zend_Auth_Adapter_Http_Resolver_File();
 $resolver->setFile($path);
 $resolver->setFile($path);
@@ -214,7 +214,7 @@ $resolver->setFile($path);
 
 
         <para>
         <para>
             First, set up an array with the required configuration values:
             First, set up an array with the required configuration values:
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $config = array(
 $config = array(
     'accept_schemes' => 'basic digest',
     'accept_schemes' => 'basic digest',
     'realm'          => 'My Web Site',
     'realm'          => 'My Web Site',
@@ -230,7 +230,7 @@ $config = array(
 
 
         <para>
         <para>
             Next, create the Zend_Auth_Adapter_Http object:
             Next, create the Zend_Auth_Adapter_Http object:
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $adapter = new Zend_Auth_Adapter_Http($config);
 $adapter = new Zend_Auth_Adapter_Http($config);
 ]]></programlisting>
 ]]></programlisting>
         </para>
         </para>
@@ -238,7 +238,7 @@ $adapter = new Zend_Auth_Adapter_Http($config);
         <para>
         <para>
             Since we're supporting both Basic and Digest authentication, we need two different resolver objects. Note
             Since we're supporting both Basic and Digest authentication, we need two different resolver objects. Note
             that this could just as easily be two different classes:
             that this could just as easily be two different classes:
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $basicResolver = new Zend_Auth_Adapter_Http_Resolver_File();
 $basicResolver = new Zend_Auth_Adapter_Http_Resolver_File();
 $basicResolver->setFile('files/basicPasswd.txt');
 $basicResolver->setFile('files/basicPasswd.txt');
 
 
@@ -253,7 +253,7 @@ $adapter->setDigestResolver($digestResolver);
         <para>
         <para>
             Finally, we perform the authentication. The adapter needs a reference to both the Request and Response
             Finally, we perform the authentication. The adapter needs a reference to both the Request and Response
             objects in order to do its job:
             objects in order to do its job:
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 assert($request instanceof Zend_Controller_Request_Http);
 assert($request instanceof Zend_Controller_Request_Http);
 assert($response instanceof Zend_Controller_Response_Http);
 assert($response instanceof Zend_Controller_Response_Http);
 
 

+ 3 - 3
documentation/manual/en/module_specs/Zend_Auth_Adapter_Ldap.xml

@@ -33,7 +33,7 @@
             To incorporate <classname>Zend_Auth_Adapter_Ldap</classname> authentication into your application quickly, even if
             To incorporate <classname>Zend_Auth_Adapter_Ldap</classname> authentication into your application quickly, even if
             you're not using <classname>Zend_Controller</classname>, the meat of your code should look something like the
             you're not using <classname>Zend_Controller</classname>, the meat of your code should look something like the
             following:
             following:
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $username = $this->_request->getParam('username');
 $username = $this->_request->getParam('username');
 $password = $this->_request->getParam('password');
 $password = $this->_request->getParam('password');
 
 
@@ -81,7 +81,7 @@ if ($log_path) {
             arbitrary. For details regarding the options array, see the <emphasis>Server Options</emphasis> section
             arbitrary. For details regarding the options array, see the <emphasis>Server Options</emphasis> section
             below. Note that <classname>Zend_Config_Ini</classname> requires that any values with "equals" characters
             below. Note that <classname>Zend_Config_Ini</classname> requires that any values with "equals" characters
             (<code>=</code>) will need to be quoted (like the DNs shown below).
             (<code>=</code>) will need to be quoted (like the DNs shown below).
-            <programlisting role="ini"><![CDATA[
+            <programlisting language="ini"><![CDATA[
 [production]
 [production]
 
 
 ldap.log_path = /tmp/ldap.log
 ldap.log_path = /tmp/ldap.log
@@ -141,7 +141,7 @@ ldap.server2.baseDn = "CN=Users,DC=w,DC=net"
             Below is <ulink url="http://php.net/print_r"><code>print_r()</code></ulink> output of an example options
             Below is <ulink url="http://php.net/print_r"><code>print_r()</code></ulink> output of an example options
             parameter containing two sets of server options for LDAP servers <code>s0.foo.net</code> and
             parameter containing two sets of server options for LDAP servers <code>s0.foo.net</code> and
             <code>dc1.w.net</code> (the same options as the above INI representation):
             <code>dc1.w.net</code> (the same options as the above INI representation):
-            <programlisting role="output"><![CDATA[
+            <programlisting language="output"><![CDATA[
 Array
 Array
 (
 (
     [server2] => Array
     [server2] => Array

+ 1 - 1
documentation/manual/en/module_specs/Zend_Auth_Adapter_OpenId.xml

@@ -71,7 +71,7 @@
             set.
             set.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 <?php
 <?php
 $status = "";
 $status = "";
 $auth = Zend_Auth::getInstance();
 $auth = Zend_Auth::getInstance();

+ 1 - 1
documentation/manual/en/module_specs/Zend_Cache-Backends.xml

@@ -302,7 +302,7 @@
             -- between the words 'Zend' and 'Platform' when using the
             -- between the words 'Zend' and 'Platform' when using the
             <classname>Zend_Cache::factory()</classname> method:
             <classname>Zend_Cache::factory()</classname> method:
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $cache = Zend_Cache::factory('Core', 'Zend Platform');
 $cache = Zend_Cache::factory('Core', 'Zend Platform');
 ]]></programlisting>
 ]]></programlisting>
         <para>
         <para>

+ 10 - 10
documentation/manual/en/module_specs/Zend_Cache-Frontends.xml

@@ -126,7 +126,7 @@
                 If you store only strings into cache (because with "automatic_serialization" option, it's possible
                 If you store only strings into cache (because with "automatic_serialization" option, it's possible
                 to store some booleans), you can use a more compact construction like:
                 to store some booleans), you can use a more compact construction like:
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // we assume you already have $cache
 // we assume you already have $cache
 
 
 $id = 'myBigLoop'; // cache id of "what we want to cache"
 $id = 'myBigLoop'; // cache id of "what we want to cache"
@@ -148,7 +148,7 @@ if (!($data = $cache->load($id))) {
             <para>
             <para>
                 If you want to cache multiple blocks or data instances, the idea is the same:
                 If you want to cache multiple blocks or data instances, the idea is the same:
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // make sure you use unique identifiers:
 // make sure you use unique identifiers:
 $id1 = 'foo';
 $id1 = 'foo';
 $id2 = 'bar';
 $id2 = 'bar';
@@ -189,7 +189,7 @@ echo($data);
                 strings you can't use the compact construction given above. You have to test formally the
                 strings you can't use the compact construction given above. You have to test formally the
                 cache record.
                 cache record.
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // the compact construction
 // the compact construction
 // (not good if you cache empty strings and/or booleans)
 // (not good if you cache empty strings and/or booleans)
 if (!($data = $cache->load($id))) {
 if (!($data = $cache->load($id))) {
@@ -251,7 +251,7 @@ if (!($cache->test($id))) {
             <para>
             <para>
                 An example is given in the manual at the very beginning. Here it is with minor changes:
                 An example is given in the manual at the very beginning. Here it is with minor changes:
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // if it is a cache miss, output buffering is triggered
 // if it is a cache miss, output buffering is triggered
 if (!($cache->start('mypage'))) {
 if (!($cache->start('mypage'))) {
 
 
@@ -331,7 +331,7 @@ echo 'This is never cached ('.time().').';
                 Using the <code>call()</code> function is the same as using
                 Using the <code>call()</code> function is the same as using
                 <code>call_user_func_array()</code> in PHP:
                 <code>call_user_func_array()</code> in PHP:
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $cache->call('veryExpensiveFunc', $params);
 $cache->call('veryExpensiveFunc', $params);
 
 
 // $params is an array
 // $params is an array
@@ -418,7 +418,7 @@ $cache->call('veryExpensiveFunc', $params);
             <para>
             <para>
                 For example, to cache static calls :
                 For example, to cache static calls :
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Test {
 class Test {
 
 
     // Static method
     // Static method
@@ -441,7 +441,7 @@ $result = $cache->foobar('1', '2');
             <para>
             <para>
                 To cache classic method calls :
                 To cache classic method calls :
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Test {
 class Test {
 
 
     private $_string = 'hello !';
     private $_string = 'hello !';
@@ -732,7 +732,7 @@ $result = $cache->foobar2('1', '2');
             <para>
             <para>
                 Use of <classname>Zend_Cache_Frontend_Page</classname> is really trivial:
                 Use of <classname>Zend_Cache_Frontend_Page</classname> is really trivial:
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // [...] // require, configuration and factory
 // [...] // require, configuration and factory
 
 
 $cache->start();
 $cache->start();
@@ -745,7 +745,7 @@ $cache->start();
                 a more complex example which shows a way to get a centralized cache management in a bootstrap file
                 a more complex example which shows a way to get a centralized cache management in a bootstrap file
                 (for using with <classname>Zend_Controller</classname> for example)
                 (for using with <classname>Zend_Controller</classname> for example)
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 /*
 /*
  * You should avoid putting too many lines before the cache section.
  * You should avoid putting too many lines before the cache section.
  * For example, for optimal performances, "require_once" or
  * For example, for optimal performances, "require_once" or
@@ -803,7 +803,7 @@ $cache->start();
                 you could need to cancel the current cache process. So we introduce for this
                 you could need to cancel the current cache process. So we introduce for this
                 particular frontend, the cancel() method.
                 particular frontend, the cancel() method.
             </para>
             </para>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // [...] // require, configuration and factory
 // [...] // require, configuration and factory
 
 
 $cache->start();
 $cache->start();

+ 3 - 3
documentation/manual/en/module_specs/Zend_Cache-Introduction.xml

@@ -24,7 +24,7 @@
             backend.
             backend.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $frontendOptions = array(
 $frontendOptions = array(
    'lifetime' => 7200, // cache lifetime of 2 hours
    'lifetime' => 7200, // cache lifetime of 2 hours
    'automatic_serialization' => true
    'automatic_serialization' => true
@@ -61,7 +61,7 @@ $cache = Zend_Cache::factory('Core',
             is no need to even connect to the database; records are fetched from cache and unserialized.
             is no need to even connect to the database; records are fetched from cache and unserialized.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // $cache initialized in previous example
 // $cache initialized in previous example
 
 
 // see if a cache already exists:
 // see if a cache already exists:
@@ -97,7 +97,7 @@ print_r($result);
             method. On the next run, the whole section will be skipped in favor of fetching data from cache
             method. On the next run, the whole section will be skipped in favor of fetching data from cache
             (as long as the cache record is valid).
             (as long as the cache record is valid).
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $frontendOptions = array(
 $frontendOptions = array(
    'lifetime' => 30,                   // cache lifetime of 30 seconds
    'lifetime' => 30,                   // cache lifetime of 30 seconds
    'automatic_serialization' => false  // this is the default anyways
    'automatic_serialization' => false  // this is the default anyways

+ 7 - 7
documentation/manual/en/module_specs/Zend_Cache-Theory.xml

@@ -29,7 +29,7 @@
             A good way to build a usable instance of a <classname>Zend_Cache</classname> Frontend is given
             A good way to build a usable instance of a <classname>Zend_Cache</classname> Frontend is given
             in the following example :
             in the following example :
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // We choose a backend (for example 'File' or 'Sqlite'...)
 // We choose a backend (for example 'File' or 'Sqlite'...)
 $backendName = '[...]';
 $backendName = '[...]';
 
 
@@ -67,7 +67,7 @@ $cache = Zend_Cache::factory($frontendName,
             method, you can set an array of tags to apply for this record. Then you will be
             method, you can set an array of tags to apply for this record. Then you will be
             able to clean all cache records tagged with a given tag (or tags):
             able to clean all cache records tagged with a given tag (or tags):
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $cache->save($huge_data, 'myUniqueID', array('tagA', 'tagB', 'tagC'));
 $cache->save($huge_data, 'myUniqueID', array('tagA', 'tagB', 'tagC'));
 ]]></programlisting>
 ]]></programlisting>
         <note><para>
         <note><para>
@@ -81,14 +81,14 @@ $cache->save($huge_data, 'myUniqueID', array('tagA', 'tagB', 'tagC'));
             To remove/invalidate in particular cache id, you can use the <code>remove()</code>
             To remove/invalidate in particular cache id, you can use the <code>remove()</code>
             method :
             method :
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $cache->remove('idToRemove');
 $cache->remove('idToRemove');
 ]]></programlisting>
 ]]></programlisting>
         <para>
         <para>
             To remove/invalidate several cache ids in one operation, you can use the <code>clean()</code>
             To remove/invalidate several cache ids in one operation, you can use the <code>clean()</code>
             method. For example to remove all cache records :
             method. For example to remove all cache records :
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // clean all records
 // clean all records
 $cache->clean(Zend_Cache::CLEANING_MODE_ALL);
 $cache->clean(Zend_Cache::CLEANING_MODE_ALL);
 
 
@@ -98,7 +98,7 @@ $cache->clean(Zend_Cache::CLEANING_MODE_OLD);
         <para>
         <para>
             If you want to remove cache entries matching the tags 'tagA' and 'tagC':
             If you want to remove cache entries matching the tags 'tagA' and 'tagC':
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $cache->clean(
 $cache->clean(
     Zend_Cache::CLEANING_MODE_MATCHING_TAG,
     Zend_Cache::CLEANING_MODE_MATCHING_TAG,
     array('tagA', 'tagC')
     array('tagA', 'tagC')
@@ -107,7 +107,7 @@ $cache->clean(
         <para>
         <para>
             If you want to remove cache entries not matching the tags 'tagA' or 'tagC':
             If you want to remove cache entries not matching the tags 'tagA' or 'tagC':
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $cache->clean(
 $cache->clean(
     Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG,
     Zend_Cache::CLEANING_MODE_NOT_MATCHING_TAG,
     array('tagA', 'tagC')
     array('tagA', 'tagC')
@@ -116,7 +116,7 @@ $cache->clean(
         <para>
         <para>
             If you want to remove cache entries matching the tags 'tagA' or 'tagC':
             If you want to remove cache entries matching the tags 'tagA' or 'tagC':
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $cache->clean(
 $cache->clean(
     Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG,
     Zend_Cache::CLEANING_MODE_MATCHING_ANY_TAG,
     array('tagA', 'tagC')
     array('tagA', 'tagC')

+ 2 - 2
documentation/manual/en/module_specs/Zend_Captcha-Operation.xml

@@ -8,7 +8,7 @@
         <classname>Zend_Captcha_Adapter</classname>, which looks like the following:
         <classname>Zend_Captcha_Adapter</classname>, which looks like the following:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 interface Zend_Captcha_Adapter extends Zend_Validate_Interface
 interface Zend_Captcha_Adapter extends Zend_Validate_Interface
 {
 {
     public function generate();
     public function generate();
@@ -46,7 +46,7 @@ interface Zend_Captcha_Adapter extends Zend_Validate_Interface
         A typical use case might look like the following:
         A typical use case might look like the following:
     </para>
     </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Creating a Zend_View instance
 // Creating a Zend_View instance
 $view = new Zend_View();
 $view = new Zend_View();
 
 

+ 11 - 11
documentation/manual/en/module_specs/Zend_CodeGenerator-Examples.xml

@@ -11,7 +11,7 @@
             DocBlock.
             DocBlock.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $foo      = new Zend_CodeGenerator_Php_Class();
 $foo      = new Zend_CodeGenerator_Php_Class();
 $docblock = new Zend_CodeGenerator_Php_Docblock(array(
 $docblock = new Zend_CodeGenerator_Php_Docblock(array(
     'shortDescription' => 'Sample generated class',
     'shortDescription' => 'Sample generated class',
@@ -36,7 +36,7 @@ echo $foo->generate();
             The above code will result in the following:
             The above code will result in the following:
         </para>
         </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 /**
 /**
  * Sample generated class
  * Sample generated class
  *
  *
@@ -61,7 +61,7 @@ class Foo
             generated class.
             generated class.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $foo      = new Zend_CodeGenerator_Php_Class();
 $foo      = new Zend_CodeGenerator_Php_Class();
 $docblock = new Zend_CodeGenerator_Php_Docblock(array(
 $docblock = new Zend_CodeGenerator_Php_Docblock(array(
     'shortDescription' => 'Sample generated class',
     'shortDescription' => 'Sample generated class',
@@ -103,7 +103,7 @@ echo $foo->generate();
             The above results in the following class definition:
             The above results in the following class definition:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 /**
 /**
  * Sample generated class
  * Sample generated class
  *
  *
@@ -136,7 +136,7 @@ class Foo
             <classname>Zend_CodeGenerator_Php_Method</classname> instances.
             <classname>Zend_CodeGenerator_Php_Method</classname> instances.
         </para>
         </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $foo      = new Zend_CodeGenerator_Php_Class();
 $foo      = new Zend_CodeGenerator_Php_Class();
 $docblock = new Zend_CodeGenerator_Php_Docblock(array(
 $docblock = new Zend_CodeGenerator_Php_Docblock(array(
     'shortDescription' => 'Sample generated class',
     'shortDescription' => 'Sample generated class',
@@ -214,7 +214,7 @@ echo $foo->generate();
             The above generates the following output:
             The above generates the following output:
         </para>
         </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 /**
 /**
  * Sample generated class
  * Sample generated class
  *
  *
@@ -275,7 +275,7 @@ class Foo
             example.
             example.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $file = new Zend_CodeGenerator_Php_File(array(
 $file = new Zend_CodeGenerator_Php_File(array(
     'classes'  => array($foo);
     'classes'  => array($foo);
     'docblock' => new Zend_CodeGenerator_Php_Docblock(array(
     'docblock' => new Zend_CodeGenerator_Php_Docblock(array(
@@ -297,7 +297,7 @@ $file = new Zend_CodeGenerator_Php_File(array(
             them to a file yourself. As an example:
             them to a file yourself. As an example:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $code = $file->generate();
 $code = $file->generate();
 file_put_contents('Foo.php', $code);
 file_put_contents('Foo.php', $code);
 ]]></programlisting>
 ]]></programlisting>
@@ -306,7 +306,7 @@ file_put_contents('Foo.php', $code);
             The above will generate the following file:
             The above will generate the following file:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 <?php
 <?php
 /**
 /**
  * Foo class file
  * Foo class file
@@ -369,7 +369,7 @@ define('APPLICATION_ENV', 'testing');
             this.
             this.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $generator = Zend_CodeGenerator_Php_File::fromReflectedFileName($path);
 $generator = Zend_CodeGenerator_Php_File::fromReflectedFileName($path);
 $body = $generator->getBody();
 $body = $generator->getBody();
 $body .= "\n\$foo->bar();";
 $body .= "\n\$foo->bar();";
@@ -386,7 +386,7 @@ file_put_contents($path, $generator->generate());
             methods, and then regenerate the class.
             methods, and then regenerate the class.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $generator = Zend_CodeGenerator_Php_Class::fromReflection(
 $generator = Zend_CodeGenerator_Php_Class::fromReflection(
     new Zend_Reflection_Class($class)
     new Zend_Reflection_Class($class)
 );
 );

+ 4 - 4
documentation/manual/en/module_specs/Zend_CodeGenerator-Introduction.xml

@@ -22,7 +22,7 @@
             simply echo the object or call its <code>generate()</code> method.
             simply echo the object or call its <code>generate()</code> method.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Passing configuration to the constructor:
 // Passing configuration to the constructor:
 $file = new Zend_CodeGenerator_Php_File(array(
 $file = new Zend_CodeGenerator_Php_File(array(
     'classes' => array(
     'classes' => array(
@@ -61,7 +61,7 @@ file_put_contents('World.php', $file->generate());
             Both of the above samples will render the same result:
             Both of the above samples will render the same result:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 <?php
 <?php
 
 
 class World
 class World
@@ -89,7 +89,7 @@ class World
             following:
             following:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $class = Zend_CodeGenerator_Php_Class::fromReflection(
 $class = Zend_CodeGenerator_Php_Class::fromReflection(
     new Zend_Reflection_Class('World')
     new Zend_Reflection_Class('World')
 );
 );
@@ -113,7 +113,7 @@ file_put_contents('World.php', $file->generate());
             The resulting class file will now look like this:
             The resulting class file will now look like this:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 <?php
 <?php
 
 
 class World
 class World

+ 14 - 14
documentation/manual/en/module_specs/Zend_CodeGenerator-Reference.xml

@@ -15,7 +15,7 @@
                 follows:
                 follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 abstract class Zend_CodeGenerator_Abstract
 abstract class Zend_CodeGenerator_Abstract
 {
 {
     final public function __construct(Array $options = array())
     final public function __construct(Array $options = array())
@@ -68,7 +68,7 @@ abstract class Zend_CodeGenerator_Abstract
                 content. Its API is as follows:
                 content. Its API is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 abstract class Zend_CodeGenerator_Php_Abstract
 abstract class Zend_CodeGenerator_Php_Abstract
     extends Zend_CodeGenerator_Abstract
     extends Zend_CodeGenerator_Abstract
 {
 {
@@ -91,7 +91,7 @@ abstract class Zend_CodeGenerator_Php_Abstract
                 name of the member. Its API is as follows:
                 name of the member. Its API is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 abstract class Zend_CodeGenerator_Php_Member_Abstract
 abstract class Zend_CodeGenerator_Php_Member_Abstract
     extends Zend_CodeGenerator_Php_Abstract
     extends Zend_CodeGenerator_Php_Abstract
 {
 {
@@ -125,7 +125,7 @@ abstract class Zend_CodeGenerator_Php_Member_Abstract
                 The API of the class is as follows:
                 The API of the class is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Zend_CodeGenerator_Php_Body extends Zend_CodeGenerator_Php_Abstract
 class Zend_CodeGenerator_Php_Body extends Zend_CodeGenerator_Php_Abstract
 {
 {
     public function setContent($content)
     public function setContent($content)
@@ -152,7 +152,7 @@ class Zend_CodeGenerator_Php_Body extends Zend_CodeGenerator_Php_Abstract
                 The API is as follows:
                 The API is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Zend_CodeGenerator_Php_Class extends Zend_CodeGenerator_Php_Abstract
 class Zend_CodeGenerator_Php_Class extends Zend_CodeGenerator_Php_Abstract
 {
 {
     public static function fromReflection(
     public static function fromReflection(
@@ -222,7 +222,7 @@ class Zend_CodeGenerator_Php_Class extends Zend_CodeGenerator_Php_Abstract
                 The API is as follows:
                 The API is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Zend_CodeGenerator_Php_Docblock extends Zend_CodeGenerator_Php_Abstract
 class Zend_CodeGenerator_Php_Docblock extends Zend_CodeGenerator_Php_Abstract
 {
 {
     public static function fromReflection(
     public static function fromReflection(
@@ -255,7 +255,7 @@ class Zend_CodeGenerator_Php_Docblock extends Zend_CodeGenerator_Php_Abstract
                 The class API is as follows:
                 The class API is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Zend_CodeGenerator_Php_Docblock_Tag
 class Zend_CodeGenerator_Php_Docblock_Tag
     extends Zend_CodeGenerator_Php_Abstract
     extends Zend_CodeGenerator_Php_Abstract
 {
 {
@@ -288,7 +288,7 @@ class Zend_CodeGenerator_Php_Docblock_Tag
                 The class API is as follows:
                 The class API is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Zend_CodeGenerator_Php_Docblock_Tag_Param
 class Zend_CodeGenerator_Php_Docblock_Tag_Param
     extends Zend_CodeGenerator_Php_Docblock_Tag
     extends Zend_CodeGenerator_Php_Docblock_Tag
 {
 {
@@ -319,7 +319,7 @@ class Zend_CodeGenerator_Php_Docblock_Tag_Param
                 The class API is as follows:
                 The class API is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Zend_CodeGenerator_Php_Docblock_Tag_Param
 class Zend_CodeGenerator_Php_Docblock_Tag_Param
     extends Zend_CodeGenerator_Php_Docblock_Tag
     extends Zend_CodeGenerator_Php_Docblock_Tag
 {
 {
@@ -357,7 +357,7 @@ class Zend_CodeGenerator_Php_Docblock_Tag_Param
                 The API of the class is as follows:
                 The API of the class is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
 class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
 {
 {
     public static function fromReflectedFilePath(
     public static function fromReflectedFilePath(
@@ -398,7 +398,7 @@ class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
                 The API of the class is as follows:
                 The API of the class is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Zend_CodeGenerator_Php_Member_Container extends ArrayObject
 class Zend_CodeGenerator_Php_Member_Container extends ArrayObject
 {
 {
     public function __construct($type = self::TYPE_PROPERTY)
     public function __construct($type = self::TYPE_PROPERTY)
@@ -430,7 +430,7 @@ class Zend_CodeGenerator_Php_Member_Container extends ArrayObject
                 The API of the class is as follows:
                 The API of the class is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Zend_CodeGenerator_Php_Method
 class Zend_CodeGenerator_Php_Method
     extends Zend_CodeGenerator_Php_Member_Abstract
     extends Zend_CodeGenerator_Php_Member_Abstract
 {
 {
@@ -465,7 +465,7 @@ class Zend_CodeGenerator_Php_Method
                 The API of the class is as follows:
                 The API of the class is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Zend_CodeGenerator_Php_Parameter extends Zend_CodeGenerator_Php_Abstract
 class Zend_CodeGenerator_Php_Parameter extends Zend_CodeGenerator_Php_Abstract
 {
 {
     public static function fromReflection(
     public static function fromReflection(
@@ -500,7 +500,7 @@ class Zend_CodeGenerator_Php_Parameter extends Zend_CodeGenerator_Php_Abstract
                 The API of the class is as follows:
                 The API of the class is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class Zend_CodeGenerator_Php_Property
 class Zend_CodeGenerator_Php_Property
     extends Zend_CodeGenerator_Php_Member_Abstract
     extends Zend_CodeGenerator_Php_Member_Abstract
 {
 {

+ 4 - 4
documentation/manual/en/module_specs/Zend_Config-Introduction.xml

@@ -19,7 +19,7 @@
             available in a PHP array, one may simply pass the data to the <classname>Zend_Config</classname> constructor in order
             available in a PHP array, one may simply pass the data to the <classname>Zend_Config</classname> constructor in order
             to utilize a simple object-oriented interface:
             to utilize a simple object-oriented interface:
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Given an array of configuration data
 // Given an array of configuration data
 $configArray = array(
 $configArray = array(
     'webhost'  => 'www.example.com',
     'webhost'  => 'www.example.com',
@@ -57,7 +57,7 @@ $db = Zend_Db::factory($config->database);
         Along with the object oriented access to the data values, <classname>Zend_Config</classname> also has <code>get()</code>
         Along with the object oriented access to the data values, <classname>Zend_Config</classname> also has <code>get()</code>
         which will return the supplied default value if the data element doesn't exist. For example:
         which will return the supplied default value if the data element doesn't exist. For example:
     </para>
     </para>
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $host = $config->database->get('host', 'localhost');
 $host = $config->database->get('host', 'localhost');
 ]]></programlisting>
 ]]></programlisting>
     <example id="zend.config.introduction.example.file.php">
     <example id="zend.config.introduction.example.file.php">
@@ -66,7 +66,7 @@ $host = $config->database->get('host', 'localhost');
             It is often desirable to use a pure PHP-based configuration file. The following code illustrates how easily
             It is often desirable to use a pure PHP-based configuration file. The following code illustrates how easily
             this can be accomplished:
             this can be accomplished:
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // config.php
 // config.php
 return array(
 return array(
     'webhost'  => 'www.example.com',
     'webhost'  => 'www.example.com',
@@ -81,7 +81,7 @@ return array(
     )
     )
 );
 );
 ]]></programlisting>
 ]]></programlisting>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Configuration consumption
 // Configuration consumption
 $config = new Zend_Config(require 'config.php');
 $config = new Zend_Config(require 'config.php');
 
 

+ 3 - 3
documentation/manual/en/module_specs/Zend_Config_Ini.xml

@@ -27,7 +27,7 @@
             By default, the key separator character is the period character (<code>.</code>). This can be changed,
             By default, the key separator character is the period character (<code>.</code>). This can be changed,
             however, by changing the <code>$options</code> key <code>'nestSeparator'</code> when constructing the
             however, by changing the <code>$options</code> key <code>'nestSeparator'</code> when constructing the
             <classname>Zend_Config_Ini</classname> object. For example:
             <classname>Zend_Config_Ini</classname> object. For example:
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $options['nestSeparator'] = ':';
 $options['nestSeparator'] = ':';
 $config = new Zend_Config_Ini('/path/to/config.ini',
 $config = new Zend_Config_Ini('/path/to/config.ini',
                               'staging',
                               'staging',
@@ -46,7 +46,7 @@ $config = new Zend_Config_Ini('/path/to/config.ini',
             the case for more complex situations. Suppose, then, that the following configuration data are contained in
             the case for more complex situations. Suppose, then, that the following configuration data are contained in
             <code>/path/to/config.ini</code>:
             <code>/path/to/config.ini</code>:
         </para>
         </para>
-        <programlisting role="ini"><![CDATA[
+        <programlisting language="ini"><![CDATA[
 ; Production site configuration data
 ; Production site configuration data
 [production]
 [production]
 webhost                  = www.example.com
 webhost                  = www.example.com
@@ -67,7 +67,7 @@ database.params.password = devsecret
             Next, assume that the application developer needs the staging configuration data from the INI file. It is a
             Next, assume that the application developer needs the staging configuration data from the INI file. It is a
             simple matter to load these data by specifying the INI file and the staging section:
             simple matter to load these data by specifying the INI file and the staging section:
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $config = new Zend_Config_Ini('/path/to/config.ini', 'staging');
 $config = new Zend_Config_Ini('/path/to/config.ini', 'staging');
 
 
 echo $config->database->params->host;   // prints "dev.example.com"
 echo $config->database->params->host;   // prints "dev.example.com"

+ 2 - 2
documentation/manual/en/module_specs/Zend_Config_Writer.xml

@@ -58,7 +58,7 @@
             This example illustrates the basic use of
             This example illustrates the basic use of
             <classname>Zend_Config_Writer_Xml</classname> to create a new config file:
             <classname>Zend_Config_Writer_Xml</classname> to create a new config file:
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Create the config object
 // Create the config object
 $config = new Zend_Config(array(), true);
 $config = new Zend_Config(array(), true);
 $config->production = array();
 $config->production = array();
@@ -100,7 +100,7 @@ $writer->write('config.xml', $config);
         <para>
         <para>
             This example demonstrates how to edit an existing config file.
             This example demonstrates how to edit an existing config file.
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Load all sections from an existing config file, while skipping the extends.
 // Load all sections from an existing config file, while skipping the extends.
 $config = new Zend_Config_Ini('config.ini',
 $config = new Zend_Config_Ini('config.ini',
                               null,
                               null,

+ 5 - 5
documentation/manual/en/module_specs/Zend_Config_Xml.xml

@@ -29,7 +29,7 @@
             the case for more complex situations. Suppose, then, that the following configuration data are contained in
             the case for more complex situations. Suppose, then, that the following configuration data are contained in
             <code>/path/to/config.xml</code>:
             <code>/path/to/config.xml</code>:
         </para>
         </para>
-        <programlisting role="xml"><![CDATA[
+        <programlisting language="xml"><![CDATA[
 <?xml version="1.0"?>
 <?xml version="1.0"?>
 <configdata>
 <configdata>
     <production>
     <production>
@@ -59,7 +59,7 @@
             Next, assume that the application developer needs the staging configuration data from the XML file. It is a
             Next, assume that the application developer needs the staging configuration data from the XML file. It is a
             simple matter to load these data by specifying the XML file and the staging section:
             simple matter to load these data by specifying the XML file and the staging section:
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $config = new Zend_Config_Xml('/path/to/config.xml', 'staging');
 $config = new Zend_Config_Xml('/path/to/config.xml', 'staging');
 
 
 echo $config->database->params->host;   // prints "dev.example.com"
 echo $config->database->params->host;   // prints "dev.example.com"
@@ -75,7 +75,7 @@ echo $config->database->params->dbname; // prints "dbname"
             making usage of attributes is to add attributes in a parent node, which then will be translated into
             making usage of attributes is to add attributes in a parent node, which then will be translated into
             children of that node:
             children of that node:
         </para>
         </para>
-        <programlisting role="xml"><![CDATA[
+        <programlisting language="xml"><![CDATA[
 <?xml version="1.0"?>
 <?xml version="1.0"?>
 <configdata>
 <configdata>
     <production webhost="www.example.com">
     <production webhost="www.example.com">
@@ -95,7 +95,7 @@ echo $config->database->params->dbname; // prints "dbname"
             the tag name twice. You simply create an empty tag with the value in the <code>value</code>
             the tag name twice. You simply create an empty tag with the value in the <code>value</code>
             attribute:
             attribute:
         </para>
         </para>
-        <programlisting role="xml"><![CDATA[
+        <programlisting language="xml"><![CDATA[
 <?xml version="1.0"?>
 <?xml version="1.0"?>
 <configdata>
 <configdata>
     <production>
     <production>
@@ -130,7 +130,7 @@ echo $config->database->params->dbname; // prints "dbname"
             as the first parameter to the constructor and must start with the
             as the first parameter to the constructor and must start with the
             characters <code>'&lt;?xml'</code>:
             characters <code>'&lt;?xml'</code>:
         </para>
         </para>
-        <programlisting role="xml"><![CDATA[
+        <programlisting language="xml"><![CDATA[
 $string = <<<EOT
 $string = <<<EOT
 <?xml version="1.0"?>
 <?xml version="1.0"?>
 <config>
 <config>

+ 6 - 6
documentation/manual/en/module_specs/Zend_Console_Getopt-Configuration.xml

@@ -18,7 +18,7 @@
         </para>
         </para>
         <example id="zend.console.getopt.configuration.addrules.example">
         <example id="zend.console.getopt.configuration.addrules.example">
             <title>Using addRules()</title>
             <title>Using addRules()</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $opts = new Zend_Console_Getopt('abp:');
 $opts = new Zend_Console_Getopt('abp:');
 $opts->addRules(
 $opts->addRules(
   array(
   array(
@@ -48,7 +48,7 @@ $opts->addRules(
         </para>
         </para>
         <example id="zend.console.getopt.configuration.addhelp.example">
         <example id="zend.console.getopt.configuration.addhelp.example">
             <title>Using setHelp()</title>
             <title>Using setHelp()</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $opts = new Zend_Console_Getopt('abp:');
 $opts = new Zend_Console_Getopt('abp:');
 $opts->setHelp(
 $opts->setHelp(
     array(
     array(
@@ -85,7 +85,7 @@ $opts->setHelp(
         </para>
         </para>
         <example id="zend.console.getopt.configuration.addaliases.example">
         <example id="zend.console.getopt.configuration.addaliases.example">
             <title>Using setAliases()</title>
             <title>Using setAliases()</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $opts = new Zend_Console_Getopt('abp:');
 $opts = new Zend_Console_Getopt('abp:');
 $opts->setAliases(
 $opts->setAliases(
     array(
     array(
@@ -126,7 +126,7 @@ $opts->setAliases(
         </para>
         </para>
         <example id="zend.console.getopt.configuration.addargs.example">
         <example id="zend.console.getopt.configuration.addargs.example">
             <title>Using addArguments() and setArguments()</title>
             <title>Using addArguments() and setArguments()</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // By default, the constructor uses $_SERVER['argv']
 // By default, the constructor uses $_SERVER['argv']
 $opts = new Zend_Console_Getopt('abp:');
 $opts = new Zend_Console_Getopt('abp:');
 
 
@@ -211,7 +211,7 @@ $opts->setArguments(array('-a', '-p', 'p_parameter', 'non_option_arg'));
         </para>
         </para>
         <example id="zend.console.getopt.configuration.config.example.setoption">
         <example id="zend.console.getopt.configuration.config.example.setoption">
             <title>Using setOption()</title>
             <title>Using setOption()</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $opts = new Zend_Console_Getopt('abp:');
 $opts = new Zend_Console_Getopt('abp:');
 $opts->setOption('ignoreCase', true);
 $opts->setOption('ignoreCase', true);
 ]]></programlisting>
 ]]></programlisting>
@@ -226,7 +226,7 @@ $opts->setOption('ignoreCase', true);
         </para>
         </para>
         <example id="zend.console.getopt.configuration.config.example.setoptions">
         <example id="zend.console.getopt.configuration.config.example.setoptions">
             <title>Using setOptions()</title>
             <title>Using setOptions()</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $opts = new Zend_Console_Getopt('abp:');
 $opts = new Zend_Console_Getopt('abp:');
 $opts->setOptions(
 $opts->setOptions(
     array(
     array(

+ 4 - 4
documentation/manual/en/module_specs/Zend_Console_Getopt-Fetching.xml

@@ -34,7 +34,7 @@
         </para>
         </para>
         <example id="zend.console.getopt.fetching.exceptions.example">
         <example id="zend.console.getopt.fetching.exceptions.example">
             <title>Catching Getopt Exceptions</title>
             <title>Catching Getopt Exceptions</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 try {
 try {
     $opts = new Zend_Console_Getopt('abp:');
     $opts = new Zend_Console_Getopt('abp:');
     $opts->parse();
     $opts->parse();
@@ -79,7 +79,7 @@ try {
         </para>
         </para>
         <example id="zend.console.getopt.fetching.byname.example.setoption">
         <example id="zend.console.getopt.fetching.byname.example.setoption">
             <title>Using getOption()</title>
             <title>Using getOption()</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $opts = new Zend_Console_Getopt('abp:');
 $opts = new Zend_Console_Getopt('abp:');
 $b = $opts->getOption('b');
 $b = $opts->getOption('b');
 $p_parameter = $opts->getOption('p');
 $p_parameter = $opts->getOption('p');
@@ -93,7 +93,7 @@ $p_parameter = $opts->getOption('p');
         </para>
         </para>
         <example id="zend.console.getopt.fetching.byname.example.magic">
         <example id="zend.console.getopt.fetching.byname.example.magic">
             <title>Using __get() and __isset() Magic Methods</title>
             <title>Using __get() and __isset() Magic Methods</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $opts = new Zend_Console_Getopt('abp:');
 $opts = new Zend_Console_Getopt('abp:');
 if (isset($opts->b)) {
 if (isset($opts->b)) {
     echo "I got the b option.\n";
     echo "I got the b option.\n";
@@ -161,7 +161,7 @@ $p_parameter = $opts->p; // null if not set
         </para>
         </para>
         <example id="zend.console.getopt.fetching.remainingargs.example">
         <example id="zend.console.getopt.fetching.remainingargs.example">
             <title>Using getRemainingArgs()</title>
             <title>Using getRemainingArgs()</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $opts = new Zend_Console_Getopt('abp:');
 $opts = new Zend_Console_Getopt('abp:');
 $opts->setArguments(array('-p', 'p_parameter', 'filename'));
 $opts->setArguments(array('-p', 'p_parameter', 'filename'));
 $args = $opts->getRemainingArgs(); // returns array('filename')
 $args = $opts->getRemainingArgs(); // returns array('filename')

+ 2 - 2
documentation/manual/en/module_specs/Zend_Console_Getopt-Rules.xml

@@ -36,7 +36,7 @@
         </para>
         </para>
         <example id="zend.console.getopt.rules.short.example">
         <example id="zend.console.getopt.rules.short.example">
             <title>Using the Short Syntax</title>
             <title>Using the Short Syntax</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $opts = new Zend_Console_Getopt('abp:');
 $opts = new Zend_Console_Getopt('abp:');
 ]]></programlisting>
 ]]></programlisting>
         </example>
         </example>
@@ -99,7 +99,7 @@ $opts = new Zend_Console_Getopt('abp:');
         </para>
         </para>
         <example id="zend.console.getopt.rules.long.example">
         <example id="zend.console.getopt.rules.long.example">
             <title>Using the Long Syntax</title>
             <title>Using the Long Syntax</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $opts = new Zend_Console_Getopt(
 $opts = new Zend_Console_Getopt(
   array(
   array(
     'apple|a'    => 'apple option, with no parameter',
     'apple|a'    => 'apple option, with no parameter',

+ 12 - 12
documentation/manual/en/module_specs/Zend_Controller-ActionController.xml

@@ -27,7 +27,7 @@
             For example, let's say your class is defined as follows:
             For example, let's say your class is defined as follows:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class FooController extends Zend_Controller_Action
 class FooController extends Zend_Controller_Action
 {
 {
     public function barAction()
     public function barAction()
@@ -69,7 +69,7 @@ class FooController extends Zend_Controller_Action
                 of the following methods:
                 of the following methods:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class FooController extends Zend_Controller_Action
 class FooController extends Zend_Controller_Action
 {
 {
     public function init()
     public function init()
@@ -103,7 +103,7 @@ class FooController extends Zend_Controller_Action
                 flag:
                 flag:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class FooController extends Zend_Controller_Action
 class FooController extends Zend_Controller_Action
 {
 {
     public function barAction()
     public function barAction()
@@ -146,7 +146,7 @@ class FooController extends Zend_Controller_Action
             a database at instantiation:
             a database at instantiation:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class FooController extends Zend_Controller_Action
 class FooController extends Zend_Controller_Action
 {
 {
     public function init()
     public function init()
@@ -199,7 +199,7 @@ class FooController extends Zend_Controller_Action
                     calls might look like:
                     calls might look like:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $this->getResponse()->setHeader('Content-Type', 'text/xml');
 $this->getResponse()->setHeader('Content-Type', 'text/xml');
 $this->getResponse()->appendBody($content);
 $this->getResponse()->appendBody($content);
 ]]></programlisting>
 ]]></programlisting>
@@ -241,7 +241,7 @@ $this->getResponse()->appendBody($content);
                         retrieving a value:
                         retrieving a value:
                     </para>
                     </para>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 // Use default value of 1 if id is not set
 // Use default value of 1 if id is not set
 $id = $this->_getParam('id', 1);
 $id = $this->_getParam('id', 1);
 
 
@@ -298,7 +298,7 @@ if ($this->_hasParam('id') {
                 the directory structure:
                 the directory structure:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 applicationOrModule/
 applicationOrModule/
     controllers/
     controllers/
         IndexController.php
         IndexController.php
@@ -328,7 +328,7 @@ applicationOrModule/
                 <code>render()</code> has the following signature:
                 <code>render()</code> has the following signature:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 string render(string $action = null,
 string render(string $action = null,
               string $name = null,
               string $name = null,
               bool $noController = false);
               bool $noController = false);
@@ -367,7 +367,7 @@ string render(string $action = null,
                 Some examples:
                 Some examples:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class MyController extends Zend_Controller_Action
 class MyController extends Zend_Controller_Action
 {
 {
     public function fooAction()
     public function fooAction()
@@ -526,7 +526,7 @@ class MyController extends Zend_Controller_Action
                 message, you might write something like this:
                 message, you might write something like this:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class MyController extends Zend_Controller_Action
 class MyController extends Zend_Controller_Action
 {
 {
     public function __call($method, $args)
     public function __call($method, $args)
@@ -551,7 +551,7 @@ class MyController extends Zend_Controller_Action
                 default controller page:
                 default controller page:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class MyController extends Zend_Controller_Action
 class MyController extends Zend_Controller_Action
 {
 {
     public function indexAction()
     public function indexAction()
@@ -586,7 +586,7 @@ class MyController extends Zend_Controller_Action
             <code>initView()</code> method with code resembling the following:
             <code>initView()</code> method with code resembling the following:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 abstract class My_Base_Controller extends Zend_Controller_Action
 abstract class My_Base_Controller extends Zend_Controller_Action
 {
 {
     public function initView()
     public function initView()

+ 2 - 2
documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-ActionStack.xml

@@ -32,7 +32,7 @@
             calling <classname>Zend_Controller_Action::_forward()</classname>:
             calling <classname>Zend_Controller_Action::_forward()</classname>:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class FooController extends Zend_Controller_Action
 class FooController extends Zend_Controller_Action
 {
 {
     public function barAction()
     public function barAction()
@@ -63,7 +63,7 @@ class FooController extends Zend_Controller_Action
             well.
             well.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class FooController extends Zend_Controller_Action
 class FooController extends Zend_Controller_Action
 {
 {
     public function barAction()
     public function barAction()

+ 6 - 6
documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-AutoComplete.xml

@@ -23,7 +23,7 @@
         Basic usage for each implementation is the same:
         Basic usage for each implementation is the same:
     </para>
     </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class FooController extends Zend_Controller_Action
 class FooController extends Zend_Controller_Action
 {
 {
     public function barAction()
     public function barAction()
@@ -131,7 +131,7 @@ class FooController extends Zend_Controller_Action
             for use with such a store:
             for use with such a store:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // within a controller action:
 // within a controller action:
 $this->_helper->autoCompleteDojo($data);
 $this->_helper->autoCompleteDojo($data);
 ]]></programlisting>
 ]]></programlisting>
@@ -159,7 +159,7 @@ $this->_helper->autoCompleteDojo($data);
                 following contents:
                 following contents:
             </para>
             </para>
 
 
-            <programlisting role="javascript"><![CDATA[
+            <programlisting language="javascript"><![CDATA[
 dojo.provide("custom.TestNameReadStore");
 dojo.provide("custom.TestNameReadStore");
 dojo.declare("custom.TestNameReadStore", dojox.data.QueryReadStore, {
 dojo.declare("custom.TestNameReadStore", dojox.data.QueryReadStore, {
     fetch:function (request) {
     fetch:function (request) {
@@ -180,7 +180,7 @@ dojo.declare("custom.TestNameReadStore", dojox.data.QueryReadStore, {
                 AutoCompletion:
                 AutoCompletion:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class TestController extends Zend_Controller_Action
 class TestController extends Zend_Controller_Action
 {
 {
     protected $_form;
     protected $_form;
@@ -228,7 +228,7 @@ class TestController extends Zend_Controller_Action
                 for processing AutoCompletion:
                 for processing AutoCompletion:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class TestController extends Zend_Controller_Action
 class TestController extends Zend_Controller_Action
 {
 {
     // ...
     // ...
@@ -284,7 +284,7 @@ class TestController extends Zend_Controller_Action
                 view script, which comments the steps:
                 view script, which comments the steps:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 <?php // setup our data store: ?>
 <?php // setup our data store: ?>
 <div dojoType="custom.TestNameReadStore" jsId="testStore"
 <div dojoType="custom.TestNameReadStore" jsId="testStore"
     url="<?php echo $this->baseUrl() ?>/unit-test/autocomplete/format/ajax"
     url="<?php echo $this->baseUrl() ?>/unit-test/autocomplete/format/ajax"

+ 10 - 10
documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-ContextSwitch.xml

@@ -41,7 +41,7 @@
         As an example, let's consider the following controller:
         As an example, let's consider the following controller:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 class NewsController extends Zend_Controller_Action
 class NewsController extends Zend_Controller_Action
 {
 {
     /**
     /**
@@ -74,7 +74,7 @@ class NewsController extends Zend_Controller_Action
         can hint that it can return an XML response:
         can hint that it can return an XML response:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 class NewsController extends Zend_Controller_Action
 class NewsController extends Zend_Controller_Action
 {
 {
     public function init()
     public function init()
@@ -162,7 +162,7 @@ class NewsController extends Zend_Controller_Action
                     serialization:
                     serialization:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $this->_helper->contextSwitch()->setAutoJsonSerialization(false);
 $this->_helper->contextSwitch()->setAutoJsonSerialization(false);
 ]]></programlisting>
 ]]></programlisting>
             </listitem>
             </listitem>
@@ -299,7 +299,7 @@ $this->_helper->contextSwitch()->setAutoJsonSerialization(false);
             following controller class:
             following controller class:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class FooController extends Zend_Controller_Action
 class FooController extends Zend_Controller_Action
 {
 {
     public function listAction()
     public function listAction()
@@ -326,7 +326,7 @@ class FooController extends Zend_Controller_Action
             the <code>init()</code> method:
             the <code>init()</code> method:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class FooController extends Zend_Controller_Action
 class FooController extends Zend_Controller_Action
 {
 {
     public function init()
     public function init()
@@ -344,7 +344,7 @@ class FooController extends Zend_Controller_Action
             <code>$contexts</code>:
             <code>$contexts</code>:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class FooController extends Zend_Controller_Action
 class FooController extends Zend_Controller_Action
 {
 {
     public $contexts = array(
     public $contexts = array(
@@ -444,7 +444,7 @@ class FooController extends Zend_Controller_Action
             <code>initContext()</code> in your action controller:
             <code>initContext()</code> in your action controller:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class NewsController extends Zend_Controller_Action
 class NewsController extends Zend_Controller_Action
 {
 {
     public function init()
     public function init()
@@ -461,7 +461,7 @@ class NewsController extends Zend_Controller_Action
             <code>initContext()</code>:
             <code>initContext()</code>:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $contextSwitch->initContext('xml');
 $contextSwitch->initContext('xml');
 ]]></programlisting>
 ]]></programlisting>
     </sect4>
     </sect4>
@@ -485,7 +485,7 @@ $contextSwitch->initContext('xml');
                     <code>initContext()</code>.
                     <code>initContext()</code>.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $contextSwitch->setAutoJsonSerialization(false);
 $contextSwitch->setAutoJsonSerialization(false);
 $contextSwitch->initContext();
 $contextSwitch->initContext();
 ]]></programlisting>
 ]]></programlisting>
@@ -720,7 +720,7 @@ $contextSwitch->initContext();
                 latter, we'll return JSON.
                 latter, we'll return JSON.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class CommentController extends Zend_Controller_Action
 class CommentController extends Zend_Controller_Action
 {
 {
     public function init()
     public function init()

+ 1 - 1
documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-FlashMessenger.xml

@@ -30,7 +30,7 @@
             it as well).
             it as well).
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class SomeController extends Zend_Controller_Action
 class SomeController extends Zend_Controller_Action
 {
 {
     /**
     /**

+ 6 - 6
documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-Json.xml

@@ -26,7 +26,7 @@
                 <classname>Zend_Json_Expr</classname>.
                 <classname>Zend_Json_Expr</classname>.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $this->_helper->json($data, array('enableJsonExprFinder' => true));
 $this->_helper->json($data, array('enableJsonExprFinder' => true));
 ]]></programlisting>
 ]]></programlisting>
         </listitem>
         </listitem>
@@ -51,7 +51,7 @@ $this->_helper->json($data, array('enableJsonExprFinder' => true));
         <code>sendJson()</code>:
         <code>sendJson()</code>:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 class FooController extends Zend_Controller_Action
 class FooController extends Zend_Controller_Action
 {
 {
     public function barAction()
     public function barAction()
@@ -80,7 +80,7 @@ class FooController extends Zend_Controller_Action
             layouts enabled:
             layouts enabled:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $this->_helper->json($data, true);
 $this->_helper->json($data, true);
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -90,7 +90,7 @@ $this->_helper->json($data, true);
             <code>keepLayouts</code> option:
             <code>keepLayouts</code> option:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $this->_helper->json($data, array('keepLayouts' => true);
 $this->_helper->json($data, array('keepLayouts' => true);
 ]]></programlisting>
 ]]></programlisting>
     </note>
     </note>
@@ -106,7 +106,7 @@ $this->_helper->json($data, array('keepLayouts' => true);
             option:
             option:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $this->_helper->json($data, array('enableJsonExprFinder' => true);
 $this->_helper->json($data, array('enableJsonExprFinder' => true);
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -117,7 +117,7 @@ $this->_helper->json($data, array('enableJsonExprFinder' => true);
             options are then passed to <classname>Zend_Json::encode()</classname>.
             options are then passed to <classname>Zend_Json::encode()</classname>.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $this->_helper->json($data, array(
 $this->_helper->json($data, array(
     'enableJsonExprFinder' => true,
     'enableJsonExprFinder' => true,
     'keepLayouts'          => true,
     'keepLayouts'          => true,

+ 5 - 5
documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-Redirector.xml

@@ -137,7 +137,7 @@
                 redirecting.
                 redirecting.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class SomeController extends Zend_Controller_Action
 class SomeController extends Zend_Controller_Action
 {
 {
     /**
     /**
@@ -182,7 +182,7 @@ class SomeController extends Zend_Controller_Action
                 <code>exit()</code>.
                 <code>exit()</code>.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // ALTERNATIVE EXAMPLE
 // ALTERNATIVE EXAMPLE
 class AlternativeController extends Zend_Controller_Action
 class AlternativeController extends Zend_Controller_Action
 {
 {
@@ -222,7 +222,7 @@ class AlternativeController extends Zend_Controller_Action
                 chaining the action.
                 chaining the action.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class ForwardController extends Zend_Controller_Action
 class ForwardController extends Zend_Controller_Action
 {
 {
     /**
     /**
@@ -266,7 +266,7 @@ class ForwardController extends Zend_Controller_Action
                 route has been registered:
                 route has been registered:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $route = new Zend_Controller_Router_Route(
 $route = new Zend_Controller_Router_Route(
     'blog/:year/:month/:day/:id',
     'blog/:year/:month/:day/:id',
     array('controller' => 'archive',
     array('controller' => 'archive',
@@ -282,7 +282,7 @@ $router->addRoute('blogArchive', $route);
                 <code>/blog/2006/4/24/42</code>.
                 <code>/blog/2006/4/24/42</code>.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class BlogAdminController extends Zend_Controller_Action
 class BlogAdminController extends Zend_Controller_Action
 {
 {
     /**
     /**

+ 12 - 12
documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-ViewRenderer.xml

@@ -91,7 +91,7 @@
                         helper broker:
                         helper broker:
                     </para>
                     </para>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 $viewRenderer = new Zend_Controller_Action_Helper_ViewRenderer();
 $viewRenderer = new Zend_Controller_Action_Helper_ViewRenderer();
 $viewRenderer->setView($view)
 $viewRenderer->setView($view)
              ->setViewSuffix('php');
              ->setViewSuffix('php');
@@ -105,7 +105,7 @@ Zend_Controller_Action_HelperBroker::addHelper($viewRenderer);
                         object on demand via the helper broker:
                         object on demand via the helper broker:
                     </para>
                     </para>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 $viewRenderer =
 $viewRenderer =
     Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
     Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
 $viewRenderer->setView($view)
 $viewRenderer->setView($view)
@@ -126,7 +126,7 @@ $viewRenderer->setView($view)
             the helper broker's <code>getStaticHelper()</code> method:
             the helper broker's <code>getStaticHelper()</code> method:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
 Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -151,7 +151,7 @@ Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
             As an example, consider the following class:
             As an example, consider the following class:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // A controller class, foo module:
 // A controller class, foo module:
 class Foo_BarController extends Zend_Controller_Action
 class Foo_BarController extends Zend_Controller_Action
 {
 {
@@ -277,7 +277,7 @@ $this->foo(); // call Foo_View_Helper_Foo::foo()
                     easily from your controller:
                     easily from your controller:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Render 'foo' instead of current action script
 // Render 'foo' instead of current action script
 $this->_helper->viewRenderer('foo');
 $this->_helper->viewRenderer('foo');
 
 
@@ -301,7 +301,7 @@ $this->_helper->viewRenderer('form', 'html', true);
             <code>initView()</code>:
             <code>initView()</code>:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $view    = new Zend_View(array('encoding' => 'UTF-8'));
 $view    = new Zend_View(array('encoding' => 'UTF-8'));
 $options = array('noController' => true, 'neverRender' => true);
 $options = array('noController' => true, 'neverRender' => true);
 $viewRenderer =
 $viewRenderer =
@@ -616,7 +616,7 @@ $viewRenderer =
                 bootstrap, and then set variables in your action methods.
                 bootstrap, and then set variables in your action methods.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // In your bootstrap:
 // In your bootstrap:
 Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
 Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
 
 
@@ -695,7 +695,7 @@ class Foo_BarController extends Zend_Controller_Action
                 off for the current action (<code>setNoRender()</code>).
                 off for the current action (<code>setNoRender()</code>).
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Baz controller class, bar module:
 // Baz controller class, bar module:
 class Bar_BazController extends Zend_Controller_Action
 class Bar_BazController extends Zend_Controller_Action
 {
 {
@@ -741,7 +741,7 @@ class Bar_BatController extends Zend_Controller_Action
                 <code>setRender()</code>.
                 <code>setRender()</code>.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Bar controller class, foo module:
 // Bar controller class, foo module:
 class Foo_BarController extends Zend_Controller_Action
 class Foo_BarController extends Zend_Controller_Action
 {
 {
@@ -784,7 +784,7 @@ class Foo_BarController extends Zend_Controller_Action
                 both are references to the same object.
                 both are references to the same object.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Bar controller class, foo module:
 // Bar controller class, foo module:
 class Foo_BarController extends Zend_Controller_Action
 class Foo_BarController extends Zend_Controller_Action
 {
 {
@@ -832,7 +832,7 @@ class Foo_BarController extends Zend_Controller_Action
                 want to use 'tpl' as the view script filename suffix.
                 want to use 'tpl' as the view script filename suffix.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 /**
 /**
  * In your bootstrap:
  * In your bootstrap:
  */
  */
@@ -858,7 +858,7 @@ Zend_Controller_Action_HelperBroker::addHelper($viewRenderer);
                 multiple calls to <code>render()</code>:
                 multiple calls to <code>render()</code>:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class SearchController extends Zend_Controller_Action
 class SearchController extends Zend_Controller_Action
 {
 {
     public function resultsAction()
     public function resultsAction()

+ 10 - 10
documentation/manual/en/module_specs/Zend_Controller-ActionHelpers.xml

@@ -49,7 +49,7 @@
                     name, and a helper object is returned:
                     name, and a helper object is returned:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $flashMessenger = $this->_helper->getHelper('FlashMessenger');
 $flashMessenger = $this->_helper->getHelper('FlashMessenger');
 $flashMessenger->addMessage('We did something in the last request');
 $flashMessenger->addMessage('We did something in the last request');
 ]]></programlisting>
 ]]></programlisting>
@@ -62,7 +62,7 @@ $flashMessenger->addMessage('We did something in the last request');
                     the broker:
                     the broker:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $flashMessenger = $this->_helper->FlashMessenger;
 $flashMessenger = $this->_helper->FlashMessenger;
 $flashMessenger->addMessage('We did something in the last request');
 $flashMessenger->addMessage('We did something in the last request');
 ]]></programlisting>
 ]]></programlisting>
@@ -77,7 +77,7 @@ $flashMessenger->addMessage('We did something in the last request');
                     <code>addMessage()</code>:
                     <code>addMessage()</code>:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $this->_helper->FlashMessenger('We did something in the last request');
 $this->_helper->FlashMessenger('We did something in the last request');
 ]]></programlisting>
 ]]></programlisting>
             </listitem>
             </listitem>
@@ -108,7 +108,7 @@ $this->_helper->FlashMessenger('We did something in the last request');
             To register a helper with the broker, use <code>addHelper</code>:
             To register a helper with the broker, use <code>addHelper</code>:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 Zend_Controller_Action_HelperBroker::addHelper($helper);
 Zend_Controller_Action_HelperBroker::addHelper($helper);
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -128,7 +128,7 @@ Zend_Controller_Action_HelperBroker::addHelper($helper);
                     conventions.
                     conventions.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Add helpers prefixed with My_Action_Helpers in My/Action/Helpers/
 // Add helpers prefixed with My_Action_Helpers in My/Action/Helpers/
 Zend_Controller_Action_HelperBroker::addPrefix('My_Action_Helpers');
 Zend_Controller_Action_HelperBroker::addPrefix('My_Action_Helpers');
 ]]></programlisting>
 ]]></programlisting>
@@ -142,7 +142,7 @@ Zend_Controller_Action_HelperBroker::addPrefix('My_Action_Helpers');
                     you to map your own class prefixes to specific directories.
                     you to map your own class prefixes to specific directories.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Add helpers prefixed with Helper in Plugins/Helpers/
 // Add helpers prefixed with Helper in Plugins/Helpers/
 Zend_Controller_Action_HelperBroker::addPath('./Plugins/Helpers',
 Zend_Controller_Action_HelperBroker::addPath('./Plugins/Helpers',
                                              'Helper');
                                              'Helper');
@@ -170,7 +170,7 @@ Zend_Controller_Action_HelperBroker::addPath('./Plugins/Helpers',
             name of the helper (minus the prefix):
             name of the helper (minus the prefix):
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Check if 'redirector' helper is registered with the broker:
 // Check if 'redirector' helper is registered with the broker:
 if (Zend_Controller_Action_HelperBroker::hasHelper('redirector')) {
 if (Zend_Controller_Action_HelperBroker::hasHelper('redirector')) {
     echo 'Redirector helper registered';
     echo 'Redirector helper registered';
@@ -195,7 +195,7 @@ if (Zend_Controller_Action_HelperBroker::hasHelper('redirector')) {
             the short name of the helper (minus the prefix).
             the short name of the helper (minus the prefix).
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Check if 'redirector' helper is registered with the broker, and fetch:
 // Check if 'redirector' helper is registered with the broker, and fetch:
 if (Zend_Controller_Action_HelperBroker::hasHelper('redirector')) {
 if (Zend_Controller_Action_HelperBroker::hasHelper('redirector')) {
     $redirector =
     $redirector =
@@ -215,7 +215,7 @@ $redirector =
             short name of the helper (minus the prefix):
             short name of the helper (minus the prefix):
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Conditionally remove the 'redirector' helper from the broker:
 // Conditionally remove the 'redirector' helper from the broker:
 if (Zend_Controller_Action_HelperBroker::hasHelper('redirector')) {
 if (Zend_Controller_Action_HelperBroker::hasHelper('redirector')) {
     Zend_Controller_Action_HelperBroker::removeHelper('redirector')
     Zend_Controller_Action_HelperBroker::removeHelper('redirector')
@@ -328,7 +328,7 @@ if (Zend_Controller_Action_HelperBroker::hasHelper('redirector')) {
             allowing use of the helper like this:
             allowing use of the helper like this:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Redirect to /blog/view/item/id/42
 // Redirect to /blog/view/item/id/42
 $this->_helper->redirector('item', 'view', 'blog', array('id' => 42));
 $this->_helper->redirector('item', 'view', 'blog', array('id' => 42));
 ]]></programlisting>
 ]]></programlisting>

+ 3 - 3
documentation/manual/en/module_specs/Zend_Controller-Dispatcher.xml

@@ -34,7 +34,7 @@
                 in either the front controller or your dispatcher:
                 in either the front controller or your dispatcher:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // In your front controller:
 // In your front controller:
 $front->setParam('prefixDefaultModule', true);
 $front->setParam('prefixDefaultModule', true);
 
 
@@ -72,7 +72,7 @@ $dispatcher->setParam('prefixDefaultModule', true);
             send to the new action:
             send to the new action:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 public function fooAction()
 public function fooAction()
 {
 {
     // forward to another action in the current controller and module:
     // forward to another action in the current controller and module:
@@ -118,7 +118,7 @@ public function bazAction()
             following methods as required for any dispatcher implementation:
             following methods as required for any dispatcher implementation:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 interface Zend_Controller_Dispatcher_Interface
 interface Zend_Controller_Dispatcher_Interface
 {
 {
     /**
     /**

+ 6 - 6
documentation/manual/en/module_specs/Zend_Controller-Exceptions.xml

@@ -70,7 +70,7 @@
                     you'd rather handle them yourself. As an example:
                     you'd rather handle them yourself. As an example:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $front->throwExceptions(true);
 $front->throwExceptions(true);
 try {
 try {
     $front->dispatch();
     $front->dispatch();
@@ -114,7 +114,7 @@ try {
                     the <code>getException()</code> method. As an example:
                     the <code>getException()</code> method. As an example:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $front->returnResponse(true);
 $front->returnResponse(true);
 $response = $front->dispatch();
 $response = $front->dispatch();
 if ($response->isException()) {
 if ($response->isException()) {
@@ -168,7 +168,7 @@ if ($response->isException()) {
                             the following directive:
                             the following directive:
                         </para>
                         </para>
 
 
-                        <programlisting role="php"><![CDATA[
+                        <programlisting language="php"><![CDATA[
 $front->setParam('useDefaultControllerAlways', true);
 $front->setParam('useDefaultControllerAlways', true);
 
 
 // or
 // or
@@ -218,7 +218,7 @@ $dispatcher->setParam('useDefaultControllerAlways', true);
                             example:
                             example:
                         </para>
                         </para>
 
 
-                        <programlisting role="php"><![CDATA[
+                        <programlisting language="php"><![CDATA[
 class My_Controller_Action extends Zend_Controller_Action
 class My_Controller_Action extends Zend_Controller_Action
 {
 {
     public function __call($method, $args)
     public function __call($method, $args)
@@ -247,7 +247,7 @@ class My_Controller_Action extends Zend_Controller_Action
                             verify the action exists. As an example:
                             verify the action exists. As an example:
                         </para>
                         </para>
 
 
-                        <programlisting role="php"><![CDATA[
+                        <programlisting language="php"><![CDATA[
 class My_Controller_Dispatcher extends Zend_Controller_Dispatcher
 class My_Controller_Dispatcher extends Zend_Controller_Dispatcher
 {
 {
     public function getAction($request)
     public function getAction($request)
@@ -320,7 +320,7 @@ class My_Controller_Dispatcher extends Zend_Controller_Dispatcher
                             As an example:
                             As an example:
                         </para>
                         </para>
 
 
-                        <programlisting role="php"><![CDATA[
+                        <programlisting language="php"><![CDATA[
 class My_Controller_PreDispatchPlugin extends Zend_Controller_Plugin_Abstract
 class My_Controller_PreDispatchPlugin extends Zend_Controller_Plugin_Abstract
 {
 {
     public function preDispatch(Zend_Controller_Request_Abstract $request)
     public function preDispatch(Zend_Controller_Request_Abstract $request)

+ 6 - 6
documentation/manual/en/module_specs/Zend_Controller-FrontController.xml

@@ -58,7 +58,7 @@
                 at any point prior to calling <code>dispatch()</code>:
                 at any point prior to calling <code>dispatch()</code>:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Disable the ErrorHandler plugin:
 // Disable the ErrorHandler plugin:
 $front->setParam('noErrorHandler', true);
 $front->setParam('noErrorHandler', true);
 ]]></programlisting>
 ]]></programlisting>
@@ -68,7 +68,7 @@ $front->setParam('noErrorHandler', true);
                 to calling <code>dispatch()</code>:
                 to calling <code>dispatch()</code>:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Disable the ViewRenderer helper:
 // Disable the ViewRenderer helper:
 $front->setParam('noViewRenderer', true);
 $front->setParam('noViewRenderer', true);
 ]]></programlisting>
 ]]></programlisting>
@@ -94,7 +94,7 @@ $front->setParam('noViewRenderer', true);
                 instantiating a front controller object.
                 instantiating a front controller object.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $front = Zend_Controller_Front::getInstance();
 $front = Zend_Controller_Front::getInstance();
 ]]></programlisting>
 ]]></programlisting>
         </sect3>
         </sect3>
@@ -115,7 +115,7 @@ $front = Zend_Controller_Front::getInstance();
                 As some examples:
                 As some examples:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Set the default controller directory:
 // Set the default controller directory:
 $front->setControllerDirectory('../application/controllers');
 $front->setControllerDirectory('../application/controllers');
 
 
@@ -249,7 +249,7 @@ $front->addControllerDirectory('../modules/foo/controllers', 'foo');
                 front controller environment.
                 front controller environment.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Instantiate front controller, set controller directory, and dispatch in one
 // Instantiate front controller, set controller directory, and dispatch in one
 // easy step:
 // easy step:
 Zend_Controller_Front::run('../application/controllers');
 Zend_Controller_Front::run('../application/controllers');
@@ -537,7 +537,7 @@ Zend_Controller_Front::run('../application/controllers');
             to override the <code>getInstance()</code> method:
             to override the <code>getInstance()</code> method:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class My_Controller_Front extends Zend_Controller_Front
 class My_Controller_Front extends Zend_Controller_Front
 {
 {
     public static function getInstance()
     public static function getInstance()

+ 16 - 16
documentation/manual/en/module_specs/Zend_Controller-Migration.xml

@@ -155,7 +155,7 @@
                     the words of an action with a dash:
                     the words of an action with a dash:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $viewRenderer =
 $viewRenderer =
     Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
     Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
 $inflector = $viewRenderer->getInflector();
 $inflector = $viewRenderer->getInflector();
@@ -189,7 +189,7 @@ $inflector->setFilterRule(':action', array(
                     flag, 'useCaseSensitiveActions':
                     flag, 'useCaseSensitiveActions':
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $front->setParam('useCaseSensitiveActions', true);
 $front->setParam('useCaseSensitiveActions', true);
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -233,7 +233,7 @@ $front->setParam('useCaseSensitiveActions', true);
             front controller parameter <code>noErrorHandler</code>:
             front controller parameter <code>noErrorHandler</code>:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $front->setParam('noErrorHandler', true);
 $front->setParam('noErrorHandler', true);
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -253,7 +253,7 @@ $front->setParam('noErrorHandler', true);
             to dispatching:
             to dispatching:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Assuming $front is an instance of Zend_Controller_Front
 // Assuming $front is an instance of Zend_Controller_Front
 $front->setParam('noViewRenderer', true);
 $front->setParam('noViewRenderer', true);
 ]]></programlisting>
 ]]></programlisting>
@@ -282,7 +282,7 @@ $front->setParam('noViewRenderer', true);
             The easiest change is to disable auto-rendering for that method:
             The easiest change is to disable auto-rendering for that method:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $this->_helper->viewRenderer->setNoRender();
 $this->_helper->viewRenderer->setNoRender();
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -293,7 +293,7 @@ $this->_helper->viewRenderer->setNoRender();
             methods:
             methods:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 public function preDispatch()
 public function preDispatch()
 {
 {
     // disable view script autorendering
     // disable view script autorendering
@@ -354,7 +354,7 @@ public function preDispatch()
                     Prior to dispatching a front controller instance:
                     Prior to dispatching a front controller instance:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Assuming $view has already been defined
 // Assuming $view has already been defined
 $viewRenderer = new Zend_Controller_Action_Helper_ViewRenderer($view);
 $viewRenderer = new Zend_Controller_Action_Helper_ViewRenderer($view);
 Zend_Controller_Action_HelperBroker::addHelper($viewRenderer);
 Zend_Controller_Action_HelperBroker::addHelper($viewRenderer);
@@ -366,7 +366,7 @@ Zend_Controller_Action_HelperBroker::addHelper($viewRenderer);
                     Any time during the bootstrap process:
                     Any time during the bootstrap process:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $viewRenderer =
 $viewRenderer =
     Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
     Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
 $viewRenderer->setView($view);
 $viewRenderer->setView($view);
@@ -442,7 +442,7 @@ $viewRenderer->setView($view);
             remains the same:
             remains the same:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 Zend_Controller_Front::run('/path/to/controllers');
 Zend_Controller_Front::run('/path/to/controllers');
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -501,7 +501,7 @@ Zend_Controller_Front::run('/path/to/controllers');
                     have changed. The signature is now:
                     have changed. The signature is now:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 final protected function _forward($action,
 final protected function _forward($action,
                                   $controller = null,
                                   $controller = null,
                                   $module = null,
                                   $module = null,
@@ -530,11 +530,11 @@ final protected function _forward($action,
             still do each of the following:
             still do each of the following:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 Zend_Controller_Front::run('/path/to/controllers');
 Zend_Controller_Front::run('/path/to/controllers');
 ]]></programlisting>
 ]]></programlisting>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 /* -- create a router -- */
 /* -- create a router -- */
 $router = new Zend_Controller_RewriteRouter();
 $router = new Zend_Controller_RewriteRouter();
 $router->addRoute('user',
 $router->addRoute('user',
@@ -588,7 +588,7 @@ $ctrl->dispatch();
                             Set <code>throwExceptions()</code> in the front
                             Set <code>throwExceptions()</code> in the front
                             controller:
                             controller:
                         </para>
                         </para>
-                        <programlisting role="php"><![CDATA[
+                        <programlisting language="php"><![CDATA[
 $front->throwExceptions(true);
 $front->throwExceptions(true);
 ]]></programlisting>
 ]]></programlisting>
                     </listitem>
                     </listitem>
@@ -598,7 +598,7 @@ $front->throwExceptions(true);
                             Set <code>renderExceptions()</code> in the response
                             Set <code>renderExceptions()</code> in the response
                             object:
                             object:
                         </para>
                         </para>
-                        <programlisting role="php"><![CDATA[
+                        <programlisting language="php"><![CDATA[
 $response->renderExceptions(true);
 $response->renderExceptions(true);
 $front->setResponse($response);
 $front->setResponse($response);
 $front->dispatch();
 $front->dispatch();
@@ -684,7 +684,7 @@ echo $response;
                             as follows:
                             as follows:
                         </para>
                         </para>
 
 
-                        <programlisting role="php"><![CDATA[
+                        <programlisting language="php"><![CDATA[
 // Retrieve the requested controller name
 // Retrieve the requested controller name
 // Access used to be via: $this->_action->getControllerName().
 // Access used to be via: $this->_action->getControllerName().
 // The example below uses getRequest(), though you may also directly
 // The example below uses getRequest(), though you may also directly
@@ -713,7 +713,7 @@ $foo = $this->_getParam('foo', 'default');
                             action is using <code>__call()</code>:
                             action is using <code>__call()</code>:
                         </para>
                         </para>
 
 
-                        <programlisting role="php"><![CDATA[
+                        <programlisting language="php"><![CDATA[
 public function __call($method, $args)
 public function __call($method, $args)
 {
 {
     // If an unmatched 'Action' method was requested, pass on to the
     // If an unmatched 'Action' method was requested, pass on to the

+ 5 - 5
documentation/manual/en/module_specs/Zend_Controller-Modular.xml

@@ -98,7 +98,7 @@ application/
             and the <code>default</code> key must be present. As an example:
             and the <code>default</code> key must be present. As an example:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $front->setControllerDirectory(array(
 $front->setControllerDirectory(array(
     'default' => '/path/to/application/controllers',
     'default' => '/path/to/application/controllers',
     'blog'    => '/path/to/application/blog/controllers'
     'blog'    => '/path/to/application/blog/controllers'
@@ -112,7 +112,7 @@ $front->setControllerDirectory(array(
             <code>default</code> namespace. As an example:
             <code>default</code> namespace. As an example:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $front->addControllerDirectory('/path/to/application/news/controllers',
 $front->addControllerDirectory('/path/to/application/news/controllers',
                                'news');
                                'news');
 ]]></programlisting>
 ]]></programlisting>
@@ -124,7 +124,7 @@ $front->addControllerDirectory('/path/to/application/news/controllers',
             <code>addModuleDirectory()</code>:
             <code>addModuleDirectory()</code>:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 /**
 /**
  * Assuming the following directory structure:
  * Assuming the following directory structure:
  * application/
  * application/
@@ -150,7 +150,7 @@ $front->addModuleDirectory('/path/to/application/modules');
             modules by using <code>setModuleControllerDirectoryName()</code>:
             modules by using <code>setModuleControllerDirectoryName()</code>:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 /**
 /**
  * Change the controllers subdirectory to be 'con'
  * Change the controllers subdirectory to be 'con'
  * application/
  * application/
@@ -213,7 +213,7 @@ $front->addModuleDirectory('/path/to/application/modules');
             <code>useDefaultControllerAlways</code> parameter in the front controller:
             <code>useDefaultControllerAlways</code> parameter in the front controller:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $front->setParam('useDefaultControllerAlways', true);
 $front->setParam('useDefaultControllerAlways', true);
 ]]></programlisting>
 ]]></programlisting>
     </sect2>
     </sect2>

+ 8 - 8
documentation/manual/en/module_specs/Zend_Controller-Plugins-ErrorHandler.xml

@@ -107,7 +107,7 @@
             <classname>Zend_Controller_Action::_getParam('error_handler')</classname>:
             <classname>Zend_Controller_Action::_getParam('error_handler')</classname>:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class ErrorController extends Zend_Controller_Action
 class ErrorController extends Zend_Controller_Action
 {
 {
     public function errorAction()
     public function errorAction()
@@ -150,7 +150,7 @@ class ErrorController extends Zend_Controller_Action
             indicate a 404 page:
             indicate a 404 page:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class ErrorController extends Zend_Controller_Action
 class ErrorController extends Zend_Controller_Action
 {
 {
     public function errorAction()
     public function errorAction()
@@ -181,7 +181,7 @@ class ErrorController extends Zend_Controller_Action
             <code>error_handler</code> object:
             <code>error_handler</code> object:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 public function errorAction()
 public function errorAction()
 {
 {
         $errors = $this->_getParam('error_handler');
         $errors = $this->_getParam('error_handler');
@@ -232,7 +232,7 @@ public function errorAction()
             clear the response body prior to rendering any views:
             clear the response body prior to rendering any views:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $this->getResponse()->clearBody();
 $this->getResponse()->clearBody();
 ]]></programlisting>
 ]]></programlisting>
     </sect4>
     </sect4>
@@ -242,7 +242,7 @@ $this->getResponse()->clearBody();
 
 
         <example id="zend.controller.plugins.standard.errorhandler.examples.example-1">
         <example id="zend.controller.plugins.standard.errorhandler.examples.example-1">
             <title>Standard Usage</title>
             <title>Standard Usage</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $front = Zend_Controller_Front::getInstance();
 $front = Zend_Controller_Front::getInstance();
 $front->registerPlugin(new Zend_Controller_Plugin_ErrorHandler());
 $front->registerPlugin(new Zend_Controller_Plugin_ErrorHandler());
 ]]></programlisting>
 ]]></programlisting>
@@ -250,7 +250,7 @@ $front->registerPlugin(new Zend_Controller_Plugin_ErrorHandler());
 
 
         <example id="zend.controller.plugins.standard.errorhandler.examples.example-2">
         <example id="zend.controller.plugins.standard.errorhandler.examples.example-2">
             <title>Setting a Different Error Handler</title>
             <title>Setting a Different Error Handler</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $front = Zend_Controller_Front::getInstance();
 $front = Zend_Controller_Front::getInstance();
 $front->registerPlugin(new Zend_Controller_Plugin_ErrorHandler(array(
 $front->registerPlugin(new Zend_Controller_Plugin_ErrorHandler(array(
     'module'     => 'mystuff',
     'module'     => 'mystuff',
@@ -262,7 +262,7 @@ $front->registerPlugin(new Zend_Controller_Plugin_ErrorHandler(array(
 
 
         <example id="zend.controller.plugins.standard.errorhandler.examples.example-3">
         <example id="zend.controller.plugins.standard.errorhandler.examples.example-3">
             <title>Using Accessors</title>
             <title>Using Accessors</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $plugin = new Zend_Controller_Plugin_ErrorHandler();
 $plugin = new Zend_Controller_Plugin_ErrorHandler();
 $plugin->setErrorHandlerModule('mystuff')
 $plugin->setErrorHandlerModule('mystuff')
        ->setErrorHandlerController('static')
        ->setErrorHandlerController('static')
@@ -282,7 +282,7 @@ $front->registerPlugin($plugin);
             controller. Below is a simple example.
             controller. Below is a simple example.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class ErrorController extends Zend_Controller_Action
 class ErrorController extends Zend_Controller_Action
 {
 {
     public function errorAction()
     public function errorAction()

+ 3 - 3
documentation/manual/en/module_specs/Zend_Controller-Plugins.xml

@@ -87,7 +87,7 @@
             abstract class <classname>Zend_Controller_Plugin_Abstract</classname>:
             abstract class <classname>Zend_Controller_Plugin_Abstract</classname>:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class MyPlugin extends Zend_Controller_Plugin_Abstract
 class MyPlugin extends Zend_Controller_Plugin_Abstract
 {
 {
     // ...
     // ...
@@ -120,7 +120,7 @@ class MyPlugin extends Zend_Controller_Plugin_Abstract
             plugin may be used in the controller chain:
             plugin may be used in the controller chain:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class MyPlugin extends Zend_Controller_Plugin_Abstract
 class MyPlugin extends Zend_Controller_Plugin_Abstract
 {
 {
     public function routeStartup(Zend_Controller_Request_Abstract $request)
     public function routeStartup(Zend_Controller_Request_Abstract $request)
@@ -174,7 +174,7 @@ $front->dispatch();
             the following output:
             the following output:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 <p>routeStartup() called</p>
 <p>routeStartup() called</p>
 <p>routeShutdown() called</p>
 <p>routeShutdown() called</p>
 <p>dispatchLoopStartup() called</p>
 <p>dispatchLoopStartup() called</p>

+ 8 - 8
documentation/manual/en/module_specs/Zend_Controller-QuickStart.xml

@@ -43,7 +43,7 @@
                 layout is as follows:
                 layout is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 application/
 application/
     controllers/
     controllers/
         IndexController.php
         IndexController.php
@@ -78,7 +78,7 @@ html/
                 follows:
                 follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 RewriteEngine On
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} -s [OR]
 RewriteCond %{REQUEST_FILENAME} -s [OR]
 RewriteCond %{REQUEST_FILENAME} -l [OR]
 RewriteCond %{REQUEST_FILENAME} -l [OR]
@@ -106,7 +106,7 @@ RewriteRule ^.*$ index.php [NC,L]
                 configuration:
                 configuration:
             </para>
             </para>
 
 
-            <programlisting role="xml"><![CDATA[
+            <programlisting language="xml"><![CDATA[
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <configuration>
 <configuration>
      <system.webServer>
      <system.webServer>
@@ -160,7 +160,7 @@ RewriteRule ^.*$ index.php [NC,L]
                 the following:
                 the following:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 Zend_Controller_Front::run('/path/to/app/controllers');
 Zend_Controller_Front::run('/path/to/app/controllers');
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -214,7 +214,7 @@ Zend_Controller_Front::run('/path/to/app/controllers');
                 enter the following:
                 enter the following:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 /** Zend_Controller_Action */
 /** Zend_Controller_Action */
 class IndexController extends Zend_Controller_Action
 class IndexController extends Zend_Controller_Action
 {
 {
@@ -260,7 +260,7 @@ class IndexController extends Zend_Controller_Action
                 this file, and type in some HTML:
                 this file, and type in some HTML:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 <!DOCTYPE html
 <!DOCTYPE html
 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
@@ -288,7 +288,7 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                 with an <code>errorAction</code> method:
                 with an <code>errorAction</code> method:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class ErrorController extends Zend_Controller_Action
 class ErrorController extends Zend_Controller_Action
 {
 {
     public function errorAction()
     public function errorAction()
@@ -305,7 +305,7 @@ class ErrorController extends Zend_Controller_Action
                 content might look like:
                 content might look like:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 <!DOCTYPE html
 <!DOCTYPE html
 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

+ 3 - 3
documentation/manual/en/module_specs/Zend_Controller-Request.xml

@@ -179,7 +179,7 @@
                     of the default Http class for your request object:
                     of the default Http class for your request object:
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $request = new Zend_Controller_Request_Apache404();
 $request = new Zend_Controller_Request_Apache404();
 $front->setRequest($request);
 $front->setRequest($request);
 ]]></programlisting>
 ]]></programlisting>
@@ -236,7 +236,7 @@ $front->setRequest($request);
                 set a custom base URL:
                 set a custom base URL:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 /**
 /**
  * Dispatch Request with custom base URL with Zend_Controller_Front.
  * Dispatch Request with custom base URL with Zend_Controller_Front.
  */
  */
@@ -318,7 +318,7 @@ $response   = $controller->dispatch();
             basic, it defines the following methods:
             basic, it defines the following methods:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 abstract class Zend_Controller_Request_Abstract
 abstract class Zend_Controller_Request_Abstract
 {
 {
     /**
     /**

+ 8 - 8
documentation/manual/en/module_specs/Zend_Controller-Response.xml

@@ -17,7 +17,7 @@
             <classname>Zend_Controller_Front::throwExceptions(true)</classname>:
             <classname>Zend_Controller_Front::throwExceptions(true)</classname>:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $front->throwExceptions(true);
 $front->throwExceptions(true);
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -26,7 +26,7 @@ $front->throwExceptions(true);
             <code>sendResponse()</code>.
             <code>sendResponse()</code>.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $response->sendResponse();
 $response->sendResponse();
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -40,7 +40,7 @@ $response->sendResponse();
                 <classname>Zend_Controller_Front::returnResponse(true)</classname>:
                 <classname>Zend_Controller_Front::returnResponse(true)</classname>:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $front->returnResponse(true);
 $front->returnResponse(true);
 $response = $front->dispatch();
 $response = $front->dispatch();
 
 
@@ -56,7 +56,7 @@ $response->sendResponse();
             headers, push them to the response object:
             headers, push them to the response object:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Within an action controller action:
 // Within an action controller action:
 // Set a header
 // Set a header
 $this->getResponse()
 $this->getResponse()
@@ -94,7 +94,7 @@ $this->getResponse()
             object instead of rendering output.
             object instead of rendering output.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // retrieve post-dispatch:
 // retrieve post-dispatch:
 $front->dispatch();
 $front->dispatch();
 $response = $front->getResponse();
 $response = $front->getResponse();
@@ -118,7 +118,7 @@ $response->sendResponse();
             front controller to throwExceptions(), as shown above:
             front controller to throwExceptions(), as shown above:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $response->renderExceptions(true);
 $response->renderExceptions(true);
 $front->dispatch($request, $response);
 $front->dispatch($request, $response);
 
 
@@ -256,7 +256,7 @@ $front->dispatch();
             footer:
             footer:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Assume that this plugin class is registered with the front controller
 // Assume that this plugin class is registered with the front controller
 class MyPlugin extends Zend_Controller_Plugin_Abstract
 class MyPlugin extends Zend_Controller_Plugin_Abstract
 {
 {
@@ -295,7 +295,7 @@ class MyController extends Zend_Controller_Action
             structure:
             structure:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 array(
 array(
     'header'  => ..., // header content
     'header'  => ..., // header content
     'default' => ..., // body content from MyController::fooAction()
     'default' => ..., // body content from MyController::fooAction()

+ 5 - 5
documentation/manual/en/module_specs/Zend_Controller-Router-Route-Chain.xml

@@ -34,7 +34,7 @@
         routes chained together:
         routes chained together:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 // Create two routes
 // Create two routes
 $hostnameRoute = new Zend_Controller_Router_Route_Hostname(...);
 $hostnameRoute = new Zend_Controller_Router_Route_Hostname(...);
 $pathRoute     = new Zend_Controller_Router_Route(...);
 $pathRoute     = new Zend_Controller_Router_Route(...);
@@ -54,7 +54,7 @@ $chainedRoute = $hostnameRoute->chain($pathRoute);
         separator:
         separator:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 // Create two routes
 // Create two routes
 $firstRoute  = new Zend_Controller_Router_Route('foo');
 $firstRoute  = new Zend_Controller_Router_Route('foo');
 $secondRoute = new Zend_Controller_Router_Route('bar');
 $secondRoute = new Zend_Controller_Router_Route('bar');
@@ -81,7 +81,7 @@ echo $chainedRoute->assemble();
             like this:
             like this:
         </para>
         </para>
 
 
-        <programlisting role="xml"><![CDATA[
+        <programlisting language="xml"><![CDATA[
 <routes>
 <routes>
     <www type="Zend_Controller_Router_Route_Hostname">
     <www type="Zend_Controller_Router_Route_Hostname">
         <route>www.example.com</route>
         <route>www.example.com</route>
@@ -131,7 +131,7 @@ echo $chainedRoute->assemble();
             chain-route type directly, and also just works in the root level:
             chain-route type directly, and also just works in the root level:
         </para>
         </para>
 
 
-        <programlisting role="xml"><![CDATA[
+        <programlisting language="xml"><![CDATA[
 <routes>
 <routes>
     <www type="Zend_Controller_Router_Route_Chain">
     <www type="Zend_Controller_Router_Route_Chain">
         <route>www.example.com</route>
         <route>www.example.com</route>
@@ -163,7 +163,7 @@ echo $chainedRoute->assemble();
             of separating the routes with a comma:
             of separating the routes with a comma:
         </para>
         </para>
 
 
-        <programlisting role="xml"><![CDATA[
+        <programlisting language="xml"><![CDATA[
 <routes>
 <routes>
     <www-index type="Zend_Controller_Router_Route_Chain">
     <www-index type="Zend_Controller_Router_Route_Chain">
         <chain>www</chain>
         <chain>www</chain>

+ 1 - 1
documentation/manual/en/module_specs/Zend_Controller-Router-Route-Hostname.xml

@@ -17,7 +17,7 @@
         about the user "martel":
         about the user "martel":
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $hostnameRoute = new Zend_Controller_Router_Route_Hostname(
 $hostnameRoute = new Zend_Controller_Router_Route_Hostname(
     ':username.users.example.com',
     ':username.users.example.com',
     array(
     array(

+ 11 - 11
documentation/manual/en/module_specs/Zend_Controller-Router-Route-Regex.xml

@@ -17,7 +17,7 @@
         route this time:
         route this time:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $route = new Zend_Controller_Router_Route_Regex(
 $route = new Zend_Controller_Router_Route_Regex(
     'archive/(\d+)',
     'archive/(\d+)',
     array(
     array(
@@ -35,7 +35,7 @@ $router->addRoute('archive', $route);
         array may look like:
         array may look like:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $values = array(
 $values = array(
     1            => '2006',
     1            => '2006',
     'controller' => 'archive',
     'controller' => 'archive',
@@ -75,7 +75,7 @@ $values = array(
         You can get the contents of the defined subpatterns the usual way:
         You can get the contents of the defined subpatterns the usual way:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 public function showAction()
 public function showAction()
 {
 {
     $request = $this->getRequest();
     $request = $this->getRequest();
@@ -96,7 +96,7 @@ public function showAction()
         with the slash but catch only the numeric part:
         with the slash but catch only the numeric part:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $route = new Zend_Controller_Router_Route_Regex(
 $route = new Zend_Controller_Router_Route_Regex(
     'archive(?:/(\d+))?',
     'archive(?:/(\d+))?',
     array(
     array(
@@ -117,7 +117,7 @@ $router->addRoute('archive', $route);
         keys. Let's work on our easier example:
         keys. Let's work on our easier example:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $route = new Zend_Controller_Router_Route_Regex(
 $route = new Zend_Controller_Router_Route_Regex(
     'archive/(\d+)',
     'archive/(\d+)',
     array(
     array(
@@ -135,7 +135,7 @@ $router->addRoute('archive', $route);
         This will result in following values injected into Request:
         This will result in following values injected into Request:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $values = array(
 $values = array(
     'year'       => '2006',
     'year'       => '2006',
     'controller' => 'archive',
     'controller' => 'archive',
@@ -148,7 +148,7 @@ $values = array(
         environment. Keys may contain variable names or subpattern indexes:
         environment. Keys may contain variable names or subpattern indexes:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $route = new Zend_Controller_Router_Route_Regex(
 $route = new Zend_Controller_Router_Route_Regex(
     'archive/(\d+)',
     'archive/(\d+)',
     array( ... ),
     array( ... ),
@@ -176,7 +176,7 @@ $route = new Zend_Controller_Router_Route_Regex(
         variables if you wish:
         variables if you wish:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $route = new Zend_Controller_Router_Route_Regex(
 $route = new Zend_Controller_Router_Route_Regex(
     'archive/(\d+)/page/(\d+)',
     'archive/(\d+)/page/(\d+)',
     array( ... ),
     array( ... ),
@@ -190,7 +190,7 @@ $route = new Zend_Controller_Router_Route_Regex(
         will result in following values:
         will result in following values:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $values = array(
 $values = array(
     'year'       => '2006',
     'year'       => '2006',
     2            => 10,
     2            => 10,
@@ -206,7 +206,7 @@ $values = array(
         sprintf() and is defined as a fourth construct parameter:
         sprintf() and is defined as a fourth construct parameter:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $route = new Zend_Controller_Router_Route_Regex(
 $route = new Zend_Controller_Router_Route_Regex(
     'archive/(\d+)',
     'archive/(\d+)',
     array( ... ),
     array( ... ),
@@ -227,7 +227,7 @@ $route = new Zend_Controller_Router_Route_Regex(
         With the Regex route, you can do something like the following solution:
         With the Regex route, you can do something like the following solution:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $route = new Zend_Controller_Router_Route_Regex(
 $route = new Zend_Controller_Router_Route_Regex(
     'blog/archive/(\d+)-(.+)\.html',
     'blog/archive/(\d+)-(.+)\.html',
     array(
     array(

+ 2 - 2
documentation/manual/en/module_specs/Zend_Controller-Router-Route-Static.xml

@@ -10,7 +10,7 @@
         an overkill. The answer to this situation is to use static routes:
         an overkill. The answer to this situation is to use static routes:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $route = new Zend_Controller_Router_Route_Static(
 $route = new Zend_Controller_Router_Route_Static(
     'login',
     'login',
     array('controller' => 'auth', 'action' => 'login')
     array('controller' => 'auth', 'action' => 'login')
@@ -51,7 +51,7 @@ $router->addRoute('login', $route);
             parameter to the front controller during bootstrapping:
             parameter to the front controller during bootstrapping:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $front->setParam('useDefaultControllerAlways', true);
 $front->setParam('useDefaultControllerAlways', true);
 ]]></programlisting>
 ]]></programlisting>
 
 

+ 11 - 11
documentation/manual/en/module_specs/Zend_Controller-Router-Route.xml

@@ -19,7 +19,7 @@
         functionality could look like:
         functionality could look like:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $route = new Zend_Controller_Router_Route(
 $route = new Zend_Controller_Router_Route(
     'author/:username',
     'author/:username',
     array(
     array(
@@ -60,7 +60,7 @@ $router->addRoute('user', $route);
         the following key and value pairs:
         the following key and value pairs:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $values = array(
 $values = array(
     'username'   => 'martel',
     'username'   => 'martel',
     'controller' => 'profile',
     'controller' => 'profile',
@@ -77,7 +77,7 @@ $values = array(
         <classname>Zend_Controller_Request::getParam()</classname> methods:
         <classname>Zend_Controller_Request::getParam()</classname> methods:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 public function userinfoAction()
 public function userinfoAction()
 {
 {
     $request = $this->getRequest();
     $request = $this->getRequest();
@@ -94,7 +94,7 @@ public function userinfoAction()
         following route more-or-less mimics the Module route behavior:
         following route more-or-less mimics the Module route behavior:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $route = new Zend_Controller_Router_Route(
 $route = new Zend_Controller_Router_Route(
     ':module/:controller/:action/*',
     ':module/:controller/:action/*',
     array('module' => 'default')
     array('module' => 'default')
@@ -112,7 +112,7 @@ $router->addRoute('default', $route);
             representing variable names and with values as desired defaults:
             representing variable names and with values as desired defaults:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $route = new Zend_Controller_Router_Route(
 $route = new Zend_Controller_Router_Route(
     'archive/:year',
     'archive/:year',
     array('year' => 2006)
     array('year' => 2006)
@@ -137,7 +137,7 @@ $router->addRoute('archive', $route);
             action as the route's defaults:
             action as the route's defaults:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $route = new Zend_Controller_Router_Route(
 $route = new Zend_Controller_Router_Route(
     'archive/:year',
     'archive/:year',
     array(
     array(
@@ -167,7 +167,7 @@ $router->addRoute('archive', $route);
             expression:
             expression:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $route = new Zend_Controller_Router_Route(
 $route = new Zend_Controller_Router_Route(
     'archive/:year',
     'archive/:year',
     array(
     array(
@@ -275,7 +275,7 @@ $router->addRoute('archive', $route);
             translated segment usage:
             translated segment usage:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Prepare the translator
 // Prepare the translator
 $translator = new Zend_Translate('array', array(), 'en');
 $translator = new Zend_Translate('array', array(), 'en');
 $translator->addTranslation(array('archive' => 'archiv',
 $translator->addTranslation(array('archive' => 'archiv',
@@ -295,7 +295,7 @@ Zend_Controller_Router_Route::setDefaultTranslator($translator);
             This example demonstrates the usage of static segments:
             This example demonstrates the usage of static segments:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Create the route
 // Create the route
 $route = new Zend_Controller_Router_Route(
 $route = new Zend_Controller_Router_Route(
     '@archive',
     '@archive',
@@ -318,7 +318,7 @@ $route->assemble(array());
             translated version:
             translated version:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Create the route
 // Create the route
 $route = new Zend_Controller_Router_Route(
 $route = new Zend_Controller_Router_Route(
     ':@controller/:@action/*',
     ':@controller/:@action/*',
@@ -340,7 +340,7 @@ $route->assemble(array('controller' => 'archive', 'foo' => 'bar'));
             You can also mix static and dynamic segments:
             You can also mix static and dynamic segments:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Create the route
 // Create the route
 $route = new Zend_Controller_Router_Route(
 $route = new Zend_Controller_Router_Route(
     '@archive/:@mode/:value',
     '@archive/:@mode/:value',

+ 16 - 16
documentation/manual/en/module_specs/Zend_Controller-Router.xml

@@ -26,7 +26,7 @@
             with a single Apache mod_rewrite rule (one of):
             with a single Apache mod_rewrite rule (one of):
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 RewriteEngine on
 RewriteEngine on
 RewriteRule !\.(js|ico|gif|jpg|png|css|html)$ index.php
 RewriteRule !\.(js|ico|gif|jpg|png|css|html)$ index.php
 ]]></programlisting>
 ]]></programlisting>
@@ -35,7 +35,7 @@ RewriteRule !\.(js|ico|gif|jpg|png|css|html)$ index.php
             or (preferred):
             or (preferred):
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 RewriteEngine On
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} -s [OR]
 RewriteCond %{REQUEST_FILENAME} -s [OR]
 RewriteCond %{REQUEST_FILENAME} -l [OR]
 RewriteCond %{REQUEST_FILENAME} -l [OR]
@@ -50,7 +50,7 @@ RewriteRule ^.*$ index.php [NC,L]
             installed as an Isapi extension with the following rewrite rule:
             installed as an Isapi extension with the following rewrite rule:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 RewriteRule ^[\w/\%]*(?:\.(?!(?:js|ico|gif|jpg|png|css|html)$)[\w\%]*$)? /index.php [I]
 RewriteRule ^[\w/\%]*(?:\.(?!(?:js|ico|gif|jpg|png|css|html)$)[\w\%]*$)? /index.php [I]
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -70,7 +70,7 @@ RewriteRule ^[\w/\%]*(?:\.(?!(?:js|ico|gif|jpg|png|css|html)$)[\w\%]*$)? /index.
             configured as follows:
             configured as follows:
         </para>
         </para>
 
 
-        <programlisting role="xml"><![CDATA[
+        <programlisting language="xml"><![CDATA[
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <configuration>
 <configuration>
      <system.webServer>
      <system.webServer>
@@ -102,7 +102,7 @@ RewriteRule ^[\w/\%]*(?:\.(?!(?:js|ico|gif|jpg|png|css|html)$)[\w\%]*$)? /index.
             If using Lighttpd, the following rewrite rule is valid:
             If using Lighttpd, the following rewrite rule is valid:
         </para>
         </para>
 
 
-        <programlisting role="lighttpd"><![CDATA[
+        <programlisting language="lighttpd"><![CDATA[
 url.rewrite-once = (
 url.rewrite-once = (
     ".*\?(.*)$" => "/index.php?$1",
     ".*\?(.*)$" => "/index.php?$1",
     ".*\.(js|ico|gif|jpg|png|css|html)$" => "$0",
     ".*\.(js|ico|gif|jpg|png|css|html)$" => "$0",
@@ -120,7 +120,7 @@ url.rewrite-once = (
             following code illustrates the procedure:
             following code illustrates the procedure:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Create a router
 // Create a router
 
 
 $router = $ctrl->getRouter(); // returns a rewrite router by default
 $router = $ctrl->getRouter(); // returns a rewrite router by default
@@ -143,7 +143,7 @@ $router->addRoute(
             <classname>Zend_Controller_Router_Route_Interface</classname>. Eg.:
             <classname>Zend_Controller_Router_Route_Interface</classname>. Eg.:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $router->addRoute('user',
 $router->addRoute('user',
                   new Zend_Controller_Router_Route('user/:username'));
                   new Zend_Controller_Router_Route('user/:username'));
 ]]></programlisting>
 ]]></programlisting>
@@ -182,7 +182,7 @@ $router->addRoute('user',
                 <classname>Zend_View</classname> url helper:
                 <classname>Zend_View</classname> url helper:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 <a href=
 <a href=
 "<?php echo $this->url(array('username' => 'martel'), 'user') ?>">Martel</a>
 "<?php echo $this->url(array('username' => 'martel'), 'user') ?>">Martel</a>
 ]]></programlisting>
 ]]></programlisting>
@@ -265,7 +265,7 @@ $router->addRoute('user',
             Some examples of how such routes are matched:
             Some examples of how such routes are matched:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Assuming the following:
 // Assuming the following:
 $ctrl->setControllerDirectory(
 $ctrl->setControllerDirectory(
     array(
     array(
@@ -310,7 +310,7 @@ http://example/blog/archive/list/sort/alpha/date/desc
             more-or-less like below:
             more-or-less like below:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $compat = new Zend_Controller_Router_Route_Module(array(),
 $compat = new Zend_Controller_Router_Route_Module(array(),
                                                   $dispatcher,
                                                   $dispatcher,
                                                   $request);
                                                   $request);
@@ -324,7 +324,7 @@ $this->addRoute('default', $compat);
             altogether by using <code>removeDefaultRoutes()</code>:
             altogether by using <code>removeDefaultRoutes()</code>:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Remove any default routes
 // Remove any default routes
 $router->removeDefaultRoutes();
 $router->removeDefaultRoutes();
 ]]></programlisting>
 ]]></programlisting>
@@ -351,7 +351,7 @@ $router->removeDefaultRoutes();
                 linkend="zend.controller.request.http.baseurl" />):
                 linkend="zend.controller.request.http.baseurl" />):
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $request->setBaseUrl('/~user/application-root/');
 $request->setBaseUrl('/~user/application-root/');
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -369,7 +369,7 @@ $request->setBaseUrl('/~user/application-root/');
             way:
             way:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $router->setGlobalParam('lang', 'en');
 $router->setGlobalParam('lang', 'en');
 ]]></programlisting>
 ]]></programlisting>
     </sect2>
     </sect2>
@@ -398,7 +398,7 @@ $router->setGlobalParam('lang', 'en');
             As an example, consider the following INI file:
             As an example, consider the following INI file:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 [production]
 [production]
 routes.archive.route = "archive/:year/*"
 routes.archive.route = "archive/:year/*"
 routes.archive.defaults.controller = archive
 routes.archive.defaults.controller = archive
@@ -424,7 +424,7 @@ routes.archive.map.1 = "year"
             object as follows:
             object as follows:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $config = new Zend_Config_Ini('/path/to/config.ini', 'production');
 $config = new Zend_Config_Ini('/path/to/config.ini', 'production');
 $router = new Zend_Controller_Router_Rewrite();
 $router = new Zend_Controller_Router_Rewrite();
 $router->addConfig($config, 'routes');
 $router->addConfig($config, 'routes');
@@ -465,7 +465,7 @@ $router->addConfig($config, 'routes');
             method.
             method.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 interface Zend_Controller_Router_Interface
 interface Zend_Controller_Router_Interface
 {
 {
   /**
   /**

+ 3 - 3
documentation/manual/en/module_specs/Zend_Currency-Migrating.xml

@@ -22,7 +22,7 @@
             <code>setFormat()</code> method.
             <code>setFormat()</code> method.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $currency = new Zend_Currency($currency, $locale);
 $currency = new Zend_Currency($currency, $locale);
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -86,7 +86,7 @@ $currency = new Zend_Currency($currency, $locale);
 
 
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $currency->setFormat(array $options);
 $currency->setFormat(array $options);
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -96,7 +96,7 @@ $currency->setFormat(array $options);
             can contain the same keys as for the <code>setFormat</code> method.
             can contain the same keys as for the <code>setFormat</code> method.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $currency->toCurrency($value, array $options);
 $currency->toCurrency($value, array $options);
 ]]></programlisting>
 ]]></programlisting>
 
 

+ 8 - 8
documentation/manual/en/module_specs/Zend_Currency-Usage.xml

@@ -21,7 +21,7 @@
             formatting rules from 'en_US'.
             formatting rules from 'en_US'.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $currency = new Zend_Currency();
 $currency = new Zend_Currency();
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -33,7 +33,7 @@ $currency = new Zend_Currency();
         you want to use the same locale throughout the application.
         you want to use the same locale throughout the application.
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 // in your bootstrap file
 // in your bootstrap file
 $locale = new Zend_Locale('de_AT');
 $locale = new Zend_Locale('de_AT');
 Zend_Registry::set('Zend_Locale', $locale);
 Zend_Registry::set('Zend_Locale', $locale);
@@ -92,7 +92,7 @@ $currency = new Zend_Currency();
 
 
         <title>Other Ways to Create Instances of Zend_Currency</title>
         <title>Other Ways to Create Instances of Zend_Currency</title>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // expect standard locale 'de_AT'
 // expect standard locale 'de_AT'
 
 
 // creates an instance from 'en_US' using 'USD' which is default
 // creates an instance from 'en_US' using 'USD' which is default
@@ -151,7 +151,7 @@ $currency = new Zend_Currency('en_US', 'EUR');
 
 
             <title>Creating an Output String for a Currency</title>
             <title>Creating an Output String for a Currency</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // creates an instance with 'en_US' using 'USD', which is the default
 // creates an instance with 'en_US' using 'USD', which is the default
 // values for 'en_US'
 // values for 'en_US'
 $currency = new Zend_Currency('en_US');
 $currency = new Zend_Currency('en_US');
@@ -358,7 +358,7 @@ echo $currency->toCurrency(1000, array('script' => 'Arab'));
 
 
             <title>Changing the displayed format of a currency</title>
             <title>Changing the displayed format of a currency</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // creates an instance with 'en_US' using 'USD', 'Latin' and 'en_US' as
 // creates an instance with 'en_US' using 'USD', 'Latin' and 'en_US' as
 // these are the default values from 'en_US'
 // these are the default values from 'en_US'
 $currency = new Zend_Currency('en_US');
 $currency = new Zend_Currency('en_US');
@@ -457,7 +457,7 @@ echo $currency->toCurrency(1000);
 
 
             <title>Getting Information about Currencies</title>
             <title>Getting Information about Currencies</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // creates an instance with 'en_US' using 'USD', 'Latin' and 'en_US'
 // creates an instance with 'en_US' using 'USD', 'Latin' and 'en_US'
 // as these are the default values from 'en_US'
 // as these are the default values from 'en_US'
 $currency = new Zend_Currency('en_US');
 $currency = new Zend_Currency('en_US');
@@ -498,7 +498,7 @@ print_r($currency->getCurrencyList('de_AT');
 
 
             <title>Setting a New Locale</title>
             <title>Setting a New Locale</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // get the currency for US
 // get the currency for US
 $currency = new Zend_Currency('en_US');
 $currency = new Zend_Currency('en_US');
 print $currency->toCurrency(1000);
 print $currency->toCurrency(1000);
@@ -528,7 +528,7 @@ print $currency->toCurrency(1000);
 
 
             <title>Caching currencies</title>
             <title>Caching currencies</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // creating a cache object
 // creating a cache object
 $cache = Zend_Cache::factory('Core',
 $cache = Zend_Cache::factory('Core',
                              'File',
                              'File',

+ 6 - 6
documentation/manual/en/module_specs/Zend_Date-Additional.xml

@@ -50,7 +50,7 @@
 
 
         <example id="zend.date.additional.checking.example-1">
         <example id="zend.date.additional.checking.example-1">
             <title>Checking Dates</title>
             <title>Checking Dates</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Checking dates
 // Checking dates
 $date = '01.03.2000';
 $date = '01.03.2000';
 if (Zend_Date::isDate($date)) {
 if (Zend_Date::isDate($date)) {
@@ -104,7 +104,7 @@ if (Zend_Date::isDate($date,'dd MMMM yyyy', 'en')) {
 
 
         <example id="zend.date.additional.sunrise-sunset.example-1">
         <example id="zend.date.additional.sunrise-sunset.example-1">
             <title>Getting all Available Cities</title>
             <title>Getting all Available Cities</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Output the complete list of available cities
 // Output the complete list of available cities
 print_r (Zend_Date_Cities::getCityList());
 print_r (Zend_Date_Cities::getCityList());
 ]]></programlisting>
 ]]></programlisting>
@@ -164,7 +164,7 @@ print_r (Zend_Date_Cities::getCityList());
 
 
         <example id="zend.date.additional.sunrise-sunset.example-2">
         <example id="zend.date.additional.sunrise-sunset.example-2">
             <title>Getting the Location for a City</title>
             <title>Getting the Location for a City</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Get the location for a defined city
 // Get the location for a defined city
 // uses the effective horizon as no horizon is defined
 // uses the effective horizon as no horizon is defined
 print_r (Zend_Date_Cities::City('Vienna'));
 print_r (Zend_Date_Cities::City('Vienna'));
@@ -187,7 +187,7 @@ $mylocation = array('latitude' => 41.5, 'longitude' => 13.2446);
 
 
         <example id="zend.date.additional.sunrise-sunset.example-3">
         <example id="zend.date.additional.sunrise-sunset.example-3">
             <title>Calculating Sun Information</title>
             <title>Calculating Sun Information</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Get the location for a defined city
 // Get the location for a defined city
 $city = Zend_Date_Cities::City('Vienna');
 $city = Zend_Date_Cities::City('Vienna');
 
 
@@ -240,7 +240,7 @@ foreach ($info as $sun) {
 
 
         <example id="zend.date.additional.timezones.example-1">
         <example id="zend.date.additional.timezones.example-1">
             <title>Working with Time Zones</title>
             <title>Working with Time Zones</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Set a default timezone... this has to be done within the bootstrap
 // Set a default timezone... this has to be done within the bootstrap
 // file or php.ini.
 // file or php.ini.
 // We do this here just for having a complete example.
 // We do this here just for having a complete example.
@@ -282,7 +282,7 @@ print $date->getIso();
 
 
         <example id="zend.date.additional.timezones.example-2">
         <example id="zend.date.additional.timezones.example-2">
             <title>Multiple Time Zones</title>
             <title>Multiple Time Zones</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Set a default timezone... this has to be done within the bootstrap
 // Set a default timezone... this has to be done within the bootstrap
 // file or php.ini.
 // file or php.ini.
 // We do this here just for having a complete example.
 // We do this here just for having a complete example.

+ 6 - 6
documentation/manual/en/module_specs/Zend_Date-Basic.xml

@@ -35,7 +35,7 @@
 
 
         <example id="zend.date.basic.creation.example-1">
         <example id="zend.date.basic.creation.example-1">
             <title>Creating the Current Date</title>
             <title>Creating the Current Date</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $date = new Zend_Date();
 $date = new Zend_Date();
 
 
 // Output of the current timestamp
 // Output of the current timestamp
@@ -65,7 +65,7 @@ print $date;
 
 
             <example id="zend.date.simple.functions.get.example-1">
             <example id="zend.date.simple.functions.get.example-1">
                 <title>get() - Output a Date</title>
                 <title>get() - Output a Date</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $date = new Zend_Date();
 $date = new Zend_Date();
 
 
 // Output of the desired date
 // Output of the desired date
@@ -86,7 +86,7 @@ print $date->get();
 
 
             <example id="zend.date.simple.functions.set.example-1">
             <example id="zend.date.simple.functions.set.example-1">
                 <title>set() - Set a Date</title>
                 <title>set() - Set a Date</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $date = new Zend_Date();
 $date = new Zend_Date();
 
 
 // Setting of a new time
 // Setting of a new time
@@ -110,7 +110,7 @@ print $date->get(Zend_Date::W3C);
 
 
             <example id="zend.date.simple.functions.add.example-1">
             <example id="zend.date.simple.functions.add.example-1">
                 <title>add() - Adding Dates</title>
                 <title>add() - Adding Dates</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $date = new Zend_Date();
 $date = new Zend_Date();
 
 
 // changes $date by adding 12 hours
 // changes $date by adding 12 hours
@@ -138,7 +138,7 @@ echo "Date via toString() = ", $date, "\n";
 
 
             <example id="zend.date.simple.functions.compare.example-1">
             <example id="zend.date.simple.functions.compare.example-1">
                 <title>compare() - Compare Dates</title>
                 <title>compare() - Compare Dates</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $date = new Zend_Date();
 $date = new Zend_Date();
 
 
 // Comparation of both times
 // Comparation of both times
@@ -156,7 +156,7 @@ if ($date->compare(10, Zend_Date::MINUTE) == -1) {
 
 
             <example id="zend.date.simple.functions.compare.example-2">
             <example id="zend.date.simple.functions.compare.example-2">
                 <title>equals() - Identify a Date or Date Part</title>
                 <title>equals() - Identify a Date or Date Part</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $date = new Zend_Date();
 $date = new Zend_Date();
 
 
 // Comparation of the two dates
 // Comparation of the two dates

+ 2 - 2
documentation/manual/en/module_specs/Zend_Date-Constants.xml

@@ -683,7 +683,7 @@
 
 
         <example id="zend.date.constants.selfdefinedformats.example-1">
         <example id="zend.date.constants.selfdefinedformats.example-1">
             <title>Self-Defined ISO Formats</title>
             <title>Self-Defined ISO Formats</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $locale = new Zend_Locale('de_AT');
 $locale = new Zend_Locale('de_AT');
 $date = new Zend_Date(1234567890, false, $locale);
 $date = new Zend_Date(1234567890, false, $locale);
 print $date->toString("'Era:GGGG='GGGG, ' Date:yy.MMMM.dd'yy.MMMM.dd");
 print $date->toString("'Era:GGGG='GGGG, ' Date:yy.MMMM.dd'yy.MMMM.dd");
@@ -1127,7 +1127,7 @@ print $date->toString("'Era:GGGG='GGGG, ' Date:yy.MMMM.dd'yy.MMMM.dd");
 
 
         <example id="zend.date.constants.phpformats.example-1">
         <example id="zend.date.constants.phpformats.example-1">
             <title>Self-Defined Formats with PHP Specifier</title>
             <title>Self-Defined Formats with PHP Specifier</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $locale = new Zend_Locale('de_AT');
 $locale = new Zend_Locale('de_AT');
 Zend_Date::setOptions(array('format_type' => 'php'));
 Zend_Date::setOptions(array('format_type' => 'php'));
 $date = new Zend_Date(1234567890, false, $locale);
 $date = new Zend_Date(1234567890, false, $locale);

+ 6 - 6
documentation/manual/en/module_specs/Zend_Date-Creation.xml

@@ -31,7 +31,7 @@
                 most used way to get the actual date as <classname>Zend_Date</classname> instance.
                 most used way to get the actual date as <classname>Zend_Date</classname> instance.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $date = new Zend_Date();
 $date = new Zend_Date();
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -48,7 +48,7 @@ $date = new Zend_Date();
                 always return the actual date and can not be changed by giving optional parameters.
                 always return the actual date and can not be changed by giving optional parameters.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $date = Zend_Date::now();
 $date = Zend_Date::now();
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -89,7 +89,7 @@ $date = Zend_Date::now();
                 for creating a timestamp through a query is much smaller than converting it to a specified format.
                 for creating a timestamp through a query is much smaller than converting it to a specified format.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // SELECT UNIX_TIMESTAMP(my_datetime_column) FROM my_table
 // SELECT UNIX_TIMESTAMP(my_datetime_column) FROM my_table
 $date = new Zend_Date($unixtimestamp, Zend_Date::TIMESTAMP);
 $date = new Zend_Date($unixtimestamp, Zend_Date::TIMESTAMP);
 ]]></programlisting>
 ]]></programlisting>
@@ -112,7 +112,7 @@ $date = new Zend_Date($unixtimestamp, Zend_Date::TIMESTAMP);
                 for dates after 1 January 1970.
                 for dates after 1 January 1970.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // SELECT datecolumn FROM my_table
 // SELECT datecolumn FROM my_table
 $date = new Zend_Date($datecolumn, Zend_Date::ISO_8601);
 $date = new Zend_Date($datecolumn, Zend_Date::ISO_8601);
 ]]></programlisting>
 ]]></programlisting>
@@ -175,7 +175,7 @@ $date = new Zend_Date($datecolumn, Zend_Date::ISO_8601);
                 given the hour <emphasis>0</emphasis> is used.
                 given the hour <emphasis>0</emphasis> is used.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $datearray = array('year' => 2006,
 $datearray = array('year' => 2006,
                    'month' => 4,
                    'month' => 4,
                    'day' => 18,
                    'day' => 18,
@@ -185,7 +185,7 @@ $datearray = array('year' => 2006,
 $date = new Zend_Date($datearray);
 $date = new Zend_Date($datearray);
 ]]></programlisting>
 ]]></programlisting>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $datearray = array('year' => 2006, 'month' => 4, 'day' => 18);
 $datearray = array('year' => 2006, 'month' => 4, 'day' => 18);
 $date = new Zend_Date($datearray);
 $date = new Zend_Date($datearray);
 ]]></programlisting>
 ]]></programlisting>

+ 1 - 1
documentation/manual/en/module_specs/Zend_Date-Introduction.xml

@@ -45,7 +45,7 @@
             .
             .
             <example id="zend.date.setdefaulttimezone.example-1">
             <example id="zend.date.setdefaulttimezone.example-1">
                 <title>Setting a Default Timezone</title>
                 <title>Setting a Default Timezone</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // timezone for an American in California
 // timezone for an American in California
 date_default_timezone_set('America/Los_Angeles');
 date_default_timezone_set('America/Los_Angeles');
 // timezone for a German in Germany
 // timezone for a German in Germany

+ 3 - 3
documentation/manual/en/module_specs/Zend_Date-Overview.xml

@@ -153,7 +153,7 @@
 
 
         <example id="zend.date.values.example-1">
         <example id="zend.date.values.example-1">
             <title>User-Specified Input Date Format</title>
             <title>User-Specified Input Date Format</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $date1 = new Zend_Date('Feb 31, 2007', null, 'en_US');
 $date1 = new Zend_Date('Feb 31, 2007', null, 'en_US');
 echo $date1, "\n"; // outputs "Mar 3, 2007 12:00:00 AM"
 echo $date1, "\n"; // outputs "Mar 3, 2007 12:00:00 AM"
 
 
@@ -190,7 +190,7 @@ echo $date3, "\n"; // outputs "Mar 3, 2007 12:00:00 AM"
             you want to use the same locale multiple times.
             you want to use the same locale multiple times.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // in your bootstrap file
 // in your bootstrap file
 $locale = new Zend_Locale('de_AT');
 $locale = new Zend_Locale('de_AT');
 Zend_Registry::set('Zend_Locale', $locale);
 Zend_Registry::set('Zend_Locale', $locale);
@@ -218,7 +218,7 @@ $date = new Zend_Date('31.Feb.2007');
 
 
         <example id="zend.date.basic.example-1">
         <example id="zend.date.basic.example-1">
             <title>Operating on Parts of Dates</title>
             <title>Operating on Parts of Dates</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $date = new Zend_Date(); // $date's timestamp === time()
 $date = new Zend_Date(); // $date's timestamp === time()
 
 
 // changes $date by adding 12 hours
 // changes $date by adding 12 hours

+ 36 - 36
documentation/manual/en/module_specs/Zend_Db_Adapter.xml

@@ -120,7 +120,7 @@
 
 
             <example id="zend.db.adapter.connecting.constructor.example">
             <example id="zend.db.adapter.connecting.constructor.example">
                 <title>Using an Adapter Constructor</title>
                 <title>Using an Adapter Constructor</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $db = new Zend_Db_Adapter_Pdo_Mysql(array(
 $db = new Zend_Db_Adapter_Pdo_Mysql(array(
     'host'     => '127.0.0.1',
     'host'     => '127.0.0.1',
     'username' => 'webuser',
     'username' => 'webuser',
@@ -154,7 +154,7 @@ $db = new Zend_Db_Adapter_Pdo_Mysql(array(
 
 
             <example id="zend.db.adapter.connecting.factory.example">
             <example id="zend.db.adapter.connecting.factory.example">
                 <title>Using the Adapter Factory Method</title>
                 <title>Using the Adapter Factory Method</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // We don't need the following statement because the
 // We don't need the following statement because the
 // Zend_Db_Adapter_Pdo_Mysql file will be loaded for us by the Zend_Db
 // Zend_Db_Adapter_Pdo_Mysql file will be loaded for us by the Zend_Db
 // factory method.
 // factory method.
@@ -183,7 +183,7 @@ $db = Zend_Db::factory('Pdo_Mysql', array(
 
 
             <example id="zend.db.adapter.connecting.factory.example2">
             <example id="zend.db.adapter.connecting.factory.example2">
                 <title>Using the Adapter Factory Method for a Custom Adapter Class</title>
                 <title>Using the Adapter Factory Method for a Custom Adapter Class</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // We don't need to load the adapter class file
 // We don't need to load the adapter class file
 // because it will be loaded for us by the Zend_Db factory method.
 // because it will be loaded for us by the Zend_Db factory method.
 
 
@@ -229,7 +229,7 @@ $db = Zend_Db::factory('Pdo_Mysql', array(
                     <link linkend="zend.config.adapters.ini">Zend_Config_Ini</link>
                     <link linkend="zend.config.adapters.ini">Zend_Config_Ini</link>
                     and <link linkend="zend.config.adapters.xml">Zend_Config_Xml</link>.
                     and <link linkend="zend.config.adapters.xml">Zend_Config_Xml</link>.
                 </para>
                 </para>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $config = new Zend_Config(
 $config = new Zend_Config(
     array(
     array(
         'database' => array(
         'database' => array(
@@ -345,7 +345,7 @@ $db = Zend_Db::factory($config->database);
                     <classname>Zend_Db::CASE_UPPER</classname>, and
                     <classname>Zend_Db::CASE_UPPER</classname>, and
                     <classname>Zend_Db::CASE_LOWER</classname>.
                     <classname>Zend_Db::CASE_LOWER</classname>.
                 </para>
                 </para>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $options = array(
 $options = array(
     Zend_Db::CASE_FOLDING => Zend_Db::CASE_UPPER
     Zend_Db::CASE_FOLDING => Zend_Db::CASE_UPPER
 );
 );
@@ -376,7 +376,7 @@ $db = Zend_Db::factory('Db2', $params);
                     to delimit identifiers, you must do so yourself using the
                     to delimit identifiers, you must do so yourself using the
                     <code>quoteIdentifier()</code> method.
                     <code>quoteIdentifier()</code> method.
                 </para>
                 </para>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $options = array(
 $options = array(
     Zend_Db::AUTO_QUOTE_IDENTIFIERS => false
     Zend_Db::AUTO_QUOTE_IDENTIFIERS => false
 );
 );
@@ -395,7 +395,7 @@ $db = Zend_Db::factory('Pdo_Mysql', $params);
 
 
             <example id="zend.db.adapter.connecting.parameters.example3">
             <example id="zend.db.adapter.connecting.parameters.example3">
                 <title>Passing PDO Driver Options to the Factory</title>
                 <title>Passing PDO Driver Options to the Factory</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $pdoParams = array(
 $pdoParams = array(
     PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true
     PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true
 );
 );
@@ -417,7 +417,7 @@ echo $db->getConnection()
 
 
             <example id="zend.db.adapter.connecting.parameters.example4">
             <example id="zend.db.adapter.connecting.parameters.example4">
                 <title>Passing Serialization Options to the Factory</title>
                 <title>Passing Serialization Options to the Factory</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $options = array(
 $options = array(
     Zend_Db::ALLOW_SERIALIZATION => false
     Zend_Db::ALLOW_SERIALIZATION => false
 );
 );
@@ -486,7 +486,7 @@ $db = Zend_Db::factory('Pdo_Mysql', $params);
 
 
             <example id="zend.db.adapter.connecting.getconnection.example">
             <example id="zend.db.adapter.connecting.getconnection.example">
                 <title>Handling Connection Exceptions</title>
                 <title>Handling Connection Exceptions</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 try {
 try {
     $db = Zend_Db::factory('Pdo_Mysql', $parameters);
     $db = Zend_Db::factory('Pdo_Mysql', $parameters);
     $db->getConnection();
     $db->getConnection();
@@ -553,7 +553,7 @@ try {
             extensively by the automated unit tests for <classname>Zend_Db</classname>.
             extensively by the automated unit tests for <classname>Zend_Db</classname>.
         </para>
         </para>
 
 
-        <programlisting role="sql"><![CDATA[
+        <programlisting language="sql"><![CDATA[
 CREATE TABLE accounts (
 CREATE TABLE accounts (
   account_name      VARCHAR(100) NOT NULL PRIMARY KEY
   account_name      VARCHAR(100) NOT NULL PRIMARY KEY
 );
 );
@@ -632,7 +632,7 @@ CREATE TABLE bugs_products (
 
 
             <example id="zend.db.adapter.select.fetchall.example">
             <example id="zend.db.adapter.select.fetchall.example">
                 <title>Using fetchAll()</title>
                 <title>Using fetchAll()</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $sql = 'SELECT * FROM bugs WHERE bug_id = ?';
 $sql = 'SELECT * FROM bugs WHERE bug_id = ?';
 
 
 $result = $db->fetchAll($sql, 2);
 $result = $db->fetchAll($sql, 2);
@@ -725,7 +725,7 @@ $result = $db->fetchAll($sql, 2);
 
 
             <example id="zend.db.adapter.select.fetch-mode.example">
             <example id="zend.db.adapter.select.fetch-mode.example">
                 <title>Using setFetchMode()</title>
                 <title>Using setFetchMode()</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $db->setFetchMode(Zend_Db::FETCH_OBJ);
 $db->setFetchMode(Zend_Db::FETCH_OBJ);
 
 
 $result = $db->fetchAll('SELECT * FROM bugs WHERE bug_id = ?', 2);
 $result = $db->fetchAll('SELECT * FROM bugs WHERE bug_id = ?', 2);
@@ -749,7 +749,7 @@ echo $result[0]->bug_description;
 
 
             <example id="zend.db.adapter.select.fetchassoc.example">
             <example id="zend.db.adapter.select.fetchassoc.example">
                 <title>Using fetchAssoc()</title>
                 <title>Using fetchAssoc()</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $db->setFetchMode(Zend_Db::FETCH_OBJ);
 $db->setFetchMode(Zend_Db::FETCH_OBJ);
 
 
 $result = $db->fetchAssoc('SELECT * FROM bugs WHERE bug_id = ?', 2);
 $result = $db->fetchAssoc('SELECT * FROM bugs WHERE bug_id = ?', 2);
@@ -775,7 +775,7 @@ echo $result[0]['bug_description'];
 
 
             <example id="zend.db.adapter.select.fetchcol.example">
             <example id="zend.db.adapter.select.fetchcol.example">
                 <title>Using fetchCol()</title>
                 <title>Using fetchCol()</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $db->setFetchMode(Zend_Db::FETCH_OBJ);
 $db->setFetchMode(Zend_Db::FETCH_OBJ);
 
 
 $result = $db->fetchCol(
 $result = $db->fetchCol(
@@ -810,7 +810,7 @@ echo $result[0];
 
 
             <example id="zend.db.adapter.select.fetchpairs.example">
             <example id="zend.db.adapter.select.fetchpairs.example">
                 <title>Using fetchPairs()</title>
                 <title>Using fetchPairs()</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $db->setFetchMode(Zend_Db::FETCH_OBJ);
 $db->setFetchMode(Zend_Db::FETCH_OBJ);
 
 
 $result = $db->fetchPairs('SELECT bug_id, bug_status FROM bugs');
 $result = $db->fetchPairs('SELECT bug_id, bug_status FROM bugs');
@@ -832,7 +832,7 @@ echo $result[2];
 
 
             <example id="zend.db.adapter.select.fetchrow.example">
             <example id="zend.db.adapter.select.fetchrow.example">
                 <title>Using fetchRow()</title>
                 <title>Using fetchRow()</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $db->setFetchMode(Zend_Db::FETCH_OBJ);
 $db->setFetchMode(Zend_Db::FETCH_OBJ);
 
 
 $result = $db->fetchRow('SELECT * FROM bugs WHERE bug_id = 2');
 $result = $db->fetchRow('SELECT * FROM bugs WHERE bug_id = 2');
@@ -858,7 +858,7 @@ echo $result->bug_description;
 
 
             <example id="zend.db.adapter.select.fetchone.example">
             <example id="zend.db.adapter.select.fetchone.example">
                 <title>Using fetchOne()</title>
                 <title>Using fetchOne()</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $result = $db->fetchOne('SELECT bug_status FROM bugs WHERE bug_id = 2');
 $result = $db->fetchOne('SELECT bug_status FROM bugs WHERE bug_id = 2');
 
 
 // this is a single string value
 // this is a single string value
@@ -892,7 +892,7 @@ echo $result;
 
 
             <example id="zend.db.adapter.write.insert.example">
             <example id="zend.db.adapter.write.insert.example">
                 <title>Inserting in a Table</title>
                 <title>Inserting in a Table</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $data = array(
 $data = array(
     'created_on'      => '2007-03-22',
     'created_on'      => '2007-03-22',
     'bug_description' => 'Something wrong',
     'bug_description' => 'Something wrong',
@@ -930,7 +930,7 @@ $db->insert('bugs', $data);
 
 
             <example id="zend.db.adapter.write.insert.example2">
             <example id="zend.db.adapter.write.insert.example2">
                 <title>Inserting Expressions in a Table</title>
                 <title>Inserting Expressions in a Table</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $data = array(
 $data = array(
     'created_on'      => new Zend_Db_Expr('CURDATE()'),
     'created_on'      => new Zend_Db_Expr('CURDATE()'),
     'bug_description' => 'Something wrong',
     'bug_description' => 'Something wrong',
@@ -966,7 +966,7 @@ $db->insert('bugs', $data);
 
 
             <example id="zend.db.adapter.write.lastinsertid.example-1">
             <example id="zend.db.adapter.write.lastinsertid.example-1">
                 <title>Using lastInsertId() for an Auto-Increment Key</title>
                 <title>Using lastInsertId() for an Auto-Increment Key</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $db->insert('bugs', $data);
 $db->insert('bugs', $data);
 
 
 // return the last value generated by an auto-increment column
 // return the last value generated by an auto-increment column
@@ -990,7 +990,7 @@ $id = $db->lastInsertId();
 
 
             <example id="zend.db.adapter.write.lastinsertid.example-2">
             <example id="zend.db.adapter.write.lastinsertid.example-2">
                 <title>Using lastInsertId() for a Sequence</title>
                 <title>Using lastInsertId() for a Sequence</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $db->insert('bugs', $data);
 $db->insert('bugs', $data);
 
 
 // return the last value generated by sequence 'bugs_bug_id_seq'.
 // return the last value generated by sequence 'bugs_bug_id_seq'.
@@ -1010,7 +1010,7 @@ $id = $db->lastInsertId('bugs');
 
 
             <example id="zend.db.adapter.write.lastinsertid.example-3">
             <example id="zend.db.adapter.write.lastinsertid.example-3">
                 <title>Using lastSequenceId()</title>
                 <title>Using lastSequenceId()</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $db->insert('bugs', $data);
 $db->insert('bugs', $data);
 
 
 // return the last value generated by sequence 'bugs_id_gen'.
 // return the last value generated by sequence 'bugs_id_gen'.
@@ -1102,7 +1102,7 @@ $id = $db->lastSequenceId('bugs_id_gen');
 
 
             <example id="zend.db.adapter.write.update.example">
             <example id="zend.db.adapter.write.update.example">
                 <title>Updating Rows</title>
                 <title>Updating Rows</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $data = array(
 $data = array(
     'updated_on'      => '2007-03-23',
     'updated_on'      => '2007-03-23',
     'bug_status'      => 'FIXED'
     'bug_status'      => 'FIXED'
@@ -1125,7 +1125,7 @@ $n = $db->update('bugs', $data, 'bug_id = 2');
 
 
             <example id="zend.db.adapter.write.update.example-array">
             <example id="zend.db.adapter.write.update.example-array">
                 <title>Updating Rows Using an Array of Expressions</title>
                 <title>Updating Rows Using an Array of Expressions</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $data = array(
 $data = array(
     'updated_on'      => '2007-03-23',
     'updated_on'      => '2007-03-23',
     'bug_status'      => 'FIXED'
     'bug_status'      => 'FIXED'
@@ -1169,7 +1169,7 @@ $n = $db->update('bugs', $data, $where);
 
 
             <example id="zend.db.adapter.write.delete.example">
             <example id="zend.db.adapter.write.delete.example">
                 <title>Deleting Rows</title>
                 <title>Deleting Rows</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $n = $db->delete('bugs', 'bug_id = 3');
 $n = $db->delete('bugs', 'bug_id = 3');
 ]]></programlisting>
 ]]></programlisting>
             </example>
             </example>
@@ -1200,7 +1200,7 @@ $n = $db->delete('bugs', 'bug_id = 3');
             symbols, such as the quote symbol, it could result in invalid SQL.
             symbols, such as the quote symbol, it could result in invalid SQL.
             For example, notice the imbalanced quote characters in the
             For example, notice the imbalanced quote characters in the
             following query:
             following query:
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $name = "O'Reilly";
 $name = "O'Reilly";
 $sql = "SELECT * FROM bugs WHERE reported_by = '$name'";
 $sql = "SELECT * FROM bugs WHERE reported_by = '$name'";
 
 
@@ -1245,7 +1245,7 @@ echo $sql;
 
 
             <example id="zend.db.adapter.quoting.quote.example">
             <example id="zend.db.adapter.quoting.quote.example">
                 <title>Using quote()</title>
                 <title>Using quote()</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $name = $db->quote("O'Reilly");
 $name = $db->quote("O'Reilly");
 echo $name;
 echo $name;
 // 'O\'Reilly'
 // 'O\'Reilly'
@@ -1274,7 +1274,7 @@ echo $sql;
                 implementations, assuming <code>intColumn</code> has a SQL
                 implementations, assuming <code>intColumn</code> has a SQL
                 datatype of <code>INTEGER</code>
                 datatype of <code>INTEGER</code>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 SELECT * FROM atable WHERE intColumn = '123'
 SELECT * FROM atable WHERE intColumn = '123'
 ]]></programlisting>
 ]]></programlisting>
             </para>
             </para>
@@ -1287,7 +1287,7 @@ SELECT * FROM atable WHERE intColumn = '123'
 
 
             <example id="zend.db.adapter.quoting.quote.example-2">
             <example id="zend.db.adapter.quoting.quote.example-2">
                 <title>Using quote() with a SQL Type</title>
                 <title>Using quote() with a SQL Type</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $value = '1234';
 $value = '1234';
 $sql = 'SELECT * FROM atable WHERE intColumn = '
 $sql = 'SELECT * FROM atable WHERE intColumn = '
      . $db->quote($value, 'INTEGER');
      . $db->quote($value, 'INTEGER');
@@ -1338,7 +1338,7 @@ $sql = 'SELECT * FROM atable WHERE intColumn = '
 
 
             <example id="zend.db.adapter.quoting.quote-into.example">
             <example id="zend.db.adapter.quoting.quote-into.example">
                 <title>Using quoteInto()</title>
                 <title>Using quoteInto()</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $sql = $db->quoteInto("SELECT * FROM bugs WHERE reported_by = ?", "O'Reilly");
 $sql = $db->quoteInto("SELECT * FROM bugs WHERE reported_by = ?", "O'Reilly");
 
 
 echo $sql;
 echo $sql;
@@ -1354,7 +1354,7 @@ echo $sql;
 
 
             <example id="zend.db.adapter.quoting.quote-into.example-2">
             <example id="zend.db.adapter.quoting.quote-into.example-2">
                 <title>Using quoteInto() with a SQL Type</title>
                 <title>Using quoteInto() with a SQL Type</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $sql = $db
 $sql = $db
     ->quoteInto("SELECT * FROM bugs WHERE bug_id = ?", '1234', 'INTEGER');
     ->quoteInto("SELECT * FROM bugs WHERE bug_id = ?", '1234', 'INTEGER');
 
 
@@ -1404,7 +1404,7 @@ echo $sql;
 
 
             <example id="zend.db.adapter.quoting.quote-identifier.example">
             <example id="zend.db.adapter.quoting.quote-identifier.example">
                 <title>Using quoteIdentifier()</title>
                 <title>Using quoteIdentifier()</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // we might have a table name that is an SQL reserved word
 // we might have a table name that is an SQL reserved word
 $tableName = $db->quoteIdentifier("order");
 $tableName = $db->quoteIdentifier("order");
 
 
@@ -1486,7 +1486,7 @@ echo $sql
 
 
         <example id="zend.db.adapter.transactions.example">
         <example id="zend.db.adapter.transactions.example">
             <title>Managing a Transaction to Ensure Consistency</title>
             <title>Managing a Transaction to Ensure Consistency</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Start a transaction explicitly.
 // Start a transaction explicitly.
 $db->beginTransaction();
 $db->beginTransaction();
 
 
@@ -1690,7 +1690,7 @@ try {
 
 
         <example id="zend.db.adapter.closing.example">
         <example id="zend.db.adapter.closing.example">
             <title>Closing a Database Connection</title>
             <title>Closing a Database Connection</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $db->closeConnection();
 $db->closeConnection();
 ]]></programlisting>
 ]]></programlisting>
         </example>
         </example>
@@ -1749,7 +1749,7 @@ $db->closeConnection();
 
 
         <example id="zend.db.adapter.other-statements.example">
         <example id="zend.db.adapter.other-statements.example">
             <title>Running a Non-Prepared Statement in a PDO Adapter</title>
             <title>Running a Non-Prepared Statement in a PDO Adapter</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $result = $db->getConnection()->exec('DROP TABLE bugs');
 $result = $db->getConnection()->exec('DROP TABLE bugs');
 ]]></programlisting>
 ]]></programlisting>
         </example>
         </example>
@@ -1781,7 +1781,7 @@ $result = $db->getConnection()->exec('DROP TABLE bugs');
 
 
         <example id="zend.db.adapter.server-version.example">
         <example id="zend.db.adapter.server-version.example">
             <title>Verifying server version before running a query</title>
             <title>Verifying server version before running a query</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $version = $db->getServerVersion();
 $version = $db->getServerVersion();
 if (!is_null($version)) {
 if (!is_null($version)) {
     if (version_compare($version, '5.0.0', '>=')) {
     if (version_compare($version, '5.0.0', '>=')) {

+ 2 - 2
documentation/manual/en/module_specs/Zend_Db_Profiler-Firebug.xml

@@ -39,7 +39,7 @@
     <example id="zend.db.profiler.profilers.firebug.example.with_front_controller">
     <example id="zend.db.profiler.profilers.firebug.example.with_front_controller">
         <title>DB Profiling with Zend_Controller_Front</title>
         <title>DB Profiling with Zend_Controller_Front</title>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // In your bootstrap file
 // In your bootstrap file
 
 
 $profiler = new Zend_Db_Profiler_Firebug('All DB Queries');
 $profiler = new Zend_Db_Profiler_Firebug('All DB Queries');
@@ -58,7 +58,7 @@ $db->setProfiler($profiler)
     <example id="zend.db.profiler.profilers.firebug.example.without_front_controller">
     <example id="zend.db.profiler.profilers.firebug.example.without_front_controller">
         <title>DB Profiling without Zend_Controller_Front</title>
         <title>DB Profiling without Zend_Controller_Front</title>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $profiler = new Zend_Db_Profiler_Firebug('All DB Queries');
 $profiler = new Zend_Db_Profiler_Firebug('All DB Queries');
 $profiler->setEnabled(true);
 $profiler->setEnabled(true);
 
 

+ 13 - 13
documentation/manual/en/module_specs/Zend_Db_Profiler.xml

@@ -22,7 +22,7 @@
             constructor, or by asking the adapter to enable it later.
             constructor, or by asking the adapter to enable it later.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $params = array(
 $params = array(
     'host'     => '127.0.0.1',
     'host'     => '127.0.0.1',
     'username' => 'webuser',
     'username' => 'webuser',
@@ -51,7 +51,7 @@ $db->getProfiler()->setEnabled(true);
             A boolean argument sets the profiler to enabled if it is a <code>true</code> value, or disabled if
             A boolean argument sets the profiler to enabled if it is a <code>true</code> value, or disabled if
             <code>false</code>. The profiler class is the adapter's default profiler class,
             <code>false</code>. The profiler class is the adapter's default profiler class,
             <classname>Zend_Db_Profiler</classname>.
             <classname>Zend_Db_Profiler</classname>.
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $params['profiler'] = true;
 $params['profiler'] = true;
 $db = Zend_Db::factory('PDO_MYSQL', $params);
 $db = Zend_Db::factory('PDO_MYSQL', $params);
 ]]></programlisting>
 ]]></programlisting>
@@ -60,7 +60,7 @@ $db = Zend_Db::factory('PDO_MYSQL', $params);
         <para>
         <para>
             An instance of a profiler object makes the adapter use that object. The object type must be
             An instance of a profiler object makes the adapter use that object. The object type must be
             <classname>Zend_Db_Profiler</classname> or a subclass thereof. Enabling the profiler is done separately.
             <classname>Zend_Db_Profiler</classname> or a subclass thereof. Enabling the profiler is done separately.
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $profiler = MyProject_Db_Profiler();
 $profiler = MyProject_Db_Profiler();
 $profiler->setEnabled(true);
 $profiler->setEnabled(true);
 $params['profiler'] = $profiler;
 $params['profiler'] = $profiler;
@@ -75,7 +75,7 @@ $db = Zend_Db::factory('PDO_MYSQL', $params);
             to name a class to use for a custom profiler. The class must be <classname>Zend_Db_Profiler</classname> or a
             to name a class to use for a custom profiler. The class must be <classname>Zend_Db_Profiler</classname> or a
             subclass. The class is instantiated with no constructor arguments. The '<code>class</code>' option is
             subclass. The class is instantiated with no constructor arguments. The '<code>class</code>' option is
             ignored when the '<code>instance</code>' option is supplied.
             ignored when the '<code>instance</code>' option is supplied.
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $params['profiler'] = array(
 $params['profiler'] = array(
     'enabled' => true,
     'enabled' => true,
     'class'   => 'MyProject_Db_Profiler'
     'class'   => 'MyProject_Db_Profiler'
@@ -86,7 +86,7 @@ $db = Zend_Db::factory('PDO_MYSQL', $params);
 
 
         <para>
         <para>
             Finally, the argument can be an object of type <classname>Zend_Config</classname> containing properties, which are treated as the array keys described above. For example, a file "config.ini" might contain the following data:
             Finally, the argument can be an object of type <classname>Zend_Config</classname> containing properties, which are treated as the array keys described above. For example, a file "config.ini" might contain the following data:
-            <programlisting role="ini"><![CDATA[
+            <programlisting language="ini"><![CDATA[
 [main]
 [main]
 db.profiler.class   = "MyProject_Db_Profiler"
 db.profiler.class   = "MyProject_Db_Profiler"
 db.profiler.enabled = true
 db.profiler.enabled = true
@@ -94,14 +94,14 @@ db.profiler.enabled = true
 
 
             This configuration can be applied by the following PHP code:
             This configuration can be applied by the following PHP code:
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $config = new Zend_Config_Ini('config.ini', 'main');
 $config = new Zend_Config_Ini('config.ini', 'main');
 $params['profiler'] = $config->db->profiler;
 $params['profiler'] = $config->db->profiler;
 $db = Zend_Db::factory('PDO_MYSQL', $params);
 $db = Zend_Db::factory('PDO_MYSQL', $params);
 ]]></programlisting>
 ]]></programlisting>
 
 
             The '<code>instance</code>' property may be used as in the following:
             The '<code>instance</code>' property may be used as in the following:
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $profiler = new MyProject_Db_Profiler();
 $profiler = new MyProject_Db_Profiler();
 $profiler->setEnabled(true);
 $profiler->setEnabled(true);
 $configData = array(
 $configData = array(
@@ -125,7 +125,7 @@ $db = Zend_Db::factory('PDO_MYSQL', $params);
             <code>getProfiler()</code> method:
             <code>getProfiler()</code> method:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $profiler = $db->getProfiler();
 $profiler = $db->getProfiler();
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -211,7 +211,7 @@ $profiler = $db->getProfiler();
             last run:
             last run:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $query = $profiler->getLastQueryProfile();
 $query = $profiler->getLastQueryProfile();
 
 
 echo $query->getQuery();
 echo $query->getQuery();
@@ -223,7 +223,7 @@ echo $query->getQuery();
             through the queries to find the one that ran longest:
             through the queries to find the one that ran longest:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $totalTime    = $profiler->getTotalElapsedSecs();
 $totalTime    = $profiler->getTotalElapsedSecs();
 $queryCount   = $profiler->getTotalNumQueries();
 $queryCount   = $profiler->getTotalNumQueries();
 $longestTime  = 0;
 $longestTime  = 0;
@@ -266,7 +266,7 @@ echo "Longest query: \n" . $longestQuery . "\n";
                 filter, pass the method a null value.
                 filter, pass the method a null value.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Only profile queries that take at least 5 seconds:
 // Only profile queries that take at least 5 seconds:
 $profiler->setFilterElapsedSecs(5);
 $profiler->setFilterElapsedSecs(5);
 
 
@@ -337,7 +337,7 @@ $profiler->setFilterElapsedSecs(null);
                 argument.
                 argument.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // profile only SELECT queries
 // profile only SELECT queries
 $profiler->setFilterQueryType(Zend_Db_Profiler::SELECT);
 $profiler->setFilterQueryType(Zend_Db_Profiler::SELECT);
 
 
@@ -369,7 +369,7 @@ $profiler->setFilterQueryType(null);
                 for a list of the query type constants.
                 for a list of the query type constants.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Retrieve only SELECT query profiles
 // Retrieve only SELECT query profiles
 $profiles = $profiler->getQueryProfiles(Zend_Db_Profiler::SELECT);
 $profiles = $profiler->getQueryProfiles(Zend_Db_Profiler::SELECT);
 
 

+ 31 - 31
documentation/manual/en/module_specs/Zend_Db_Select.xml

@@ -70,7 +70,7 @@
 
 
             <title>Example of the database adapter's select() method</title>
             <title>Example of the database adapter's select() method</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $db = Zend_Db::factory( ...options... );
 $db = Zend_Db::factory( ...options... );
 $select = $db->select();
 $select = $db->select();
 ]]></programlisting>
 ]]></programlisting>
@@ -86,7 +86,7 @@ $select = $db->select();
 
 
             <title>Example of creating a new Select object</title>
             <title>Example of creating a new Select object</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $db = Zend_Db::factory( ...options... );
 $db = Zend_Db::factory( ...options... );
 $select = new Zend_Db_Select($db);
 $select = new Zend_Db_Select($db);
 ]]></programlisting>
 ]]></programlisting>
@@ -108,7 +108,7 @@ $select = new Zend_Db_Select($db);
 
 
             <title>Example of the using methods to add clauses</title>
             <title>Example of the using methods to add clauses</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Create the Zend_Db_Select object
 // Create the Zend_Db_Select object
 $select = $db->select();
 $select = $db->select();
 
 
@@ -134,7 +134,7 @@ $select->order( ...specify sorting criteria... );
 
 
             <title>Example of the using the fluent interface</title>
             <title>Example of the using the fluent interface</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $select = $db->select()
 $select = $db->select()
     ->from( ...specify table and columns... )
     ->from( ...specify table and columns... )
     ->where( ...specify search criteria... )
     ->where( ...specify search criteria... )
@@ -164,7 +164,7 @@ $select = $db->select()
 
 
                 <title>Example of the from() method</title>
                 <title>Example of the from() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT *
 //   SELECT *
 //   FROM "products"
 //   FROM "products"
@@ -188,7 +188,7 @@ $select = $db->select()
 
 
                 <title>Example of specifying a table correlation name</title>
                 <title>Example of specifying a table correlation name</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT p.*
 //   SELECT p.*
 //   FROM "products" AS p
 //   FROM "products" AS p
@@ -211,7 +211,7 @@ $select = $db->select()
 
 
                 <title>Example of specifying a schema name</title>
                 <title>Example of specifying a schema name</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT *
 //   SELECT *
 //   FROM "myschema"."products"
 //   FROM "myschema"."products"
@@ -264,7 +264,7 @@ $select = $db->select()
 
 
                 <title>Examples of specifying columns</title>
                 <title>Examples of specifying columns</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT p."product_id", p."product_name"
 //   SELECT p."product_id", p."product_name"
 //   FROM "products" AS p
 //   FROM "products" AS p
@@ -326,7 +326,7 @@ $select = $db->select()
 
 
                 <title>Examples of specifying columns containing expressions</title>
                 <title>Examples of specifying columns containing expressions</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT p."product_id", LOWER(product_name)
 //   SELECT p."product_id", LOWER(product_name)
 //   FROM "products" AS p
 //   FROM "products" AS p
@@ -389,7 +389,7 @@ $select = $db->select()
 
 
                 <title>Examples of quoting columns in an expression</title>
                 <title>Examples of quoting columns in an expression</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query,
 // Build this query,
 // quoting the special column name "from" in the expression:
 // quoting the special column name "from" in the expression:
 //   SELECT p."from" + 10 AS origin
 //   SELECT p."from" + 10 AS origin
@@ -424,7 +424,7 @@ $select = $db->select()
 
 
                 <title>Examples of adding columns with the columns() method</title>
                 <title>Examples of adding columns with the columns() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT p."product_id", p."product_name"
 //   SELECT p."product_id", p."product_name"
 //   FROM "products" AS p
 //   FROM "products" AS p
@@ -462,7 +462,7 @@ $select = $db->select()
 
 
                 <title>Example of the join() method</title>
                 <title>Example of the join() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT p."product_id", p."product_name", l.*
 //   SELECT p."product_id", p."product_name", l.*
 //   FROM "products" AS p JOIN "line_items" AS l
 //   FROM "products" AS p JOIN "line_items" AS l
@@ -511,7 +511,7 @@ $select = $db->select()
 
 
                 <title>Example of specifying no columns</title>
                 <title>Example of specifying no columns</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT p."product_id", p."product_name"
 //   SELECT p."product_id", p."product_name"
 //   FROM "products" AS p JOIN "line_items" AS l
 //   FROM "products" AS p JOIN "line_items" AS l
@@ -664,7 +664,7 @@ $select = $db->select()
 
 
                 <title>Example of the joinUsing() method</title>
                 <title>Example of the joinUsing() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT *
 //   SELECT *
 //   FROM "table1"
 //   FROM "table1"
@@ -728,7 +728,7 @@ $select = $db->select()
 
 
                 <title>Example of the where() method</title>
                 <title>Example of the where() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT product_id, product_name, price
 //   SELECT product_id, product_name, price
 //   FROM "products"
 //   FROM "products"
@@ -769,7 +769,7 @@ $select = $db->select()
 
 
                 <title>Example of a parameter in the where() method</title>
                 <title>Example of a parameter in the where() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT product_id, product_name, price
 //   SELECT product_id, product_name, price
 //   FROM "products"
 //   FROM "products"
@@ -795,7 +795,7 @@ $select = $db->select()
 
 
                 <title>Example of multiple where() methods</title>
                 <title>Example of multiple where() methods</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT product_id, product_name, price
 //   SELECT product_id, product_name, price
 //   FROM "products"
 //   FROM "products"
@@ -825,7 +825,7 @@ $select = $db->select()
 
 
                 <title>Example of the orWhere() method</title>
                 <title>Example of the orWhere() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT product_id, product_name, price
 //   SELECT product_id, product_name, price
 //   FROM "products"
 //   FROM "products"
@@ -854,7 +854,7 @@ $select = $db->select()
 
 
                 <title>Example of parenthesizing Boolean expressions</title>
                 <title>Example of parenthesizing Boolean expressions</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT product_id, product_name, price
 //   SELECT product_id, product_name, price
 //   FROM "products"
 //   FROM "products"
@@ -904,7 +904,7 @@ $select = $db->select()
 
 
                 <title>Example of the group() method</title>
                 <title>Example of the group() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT p."product_id", COUNT(*) AS line_items_per_product
 //   SELECT p."product_id", COUNT(*) AS line_items_per_product
 //   FROM "products" AS p JOIN "line_items" AS l
 //   FROM "products" AS p JOIN "line_items" AS l
@@ -957,7 +957,7 @@ $select = $db->select()
 
 
                 <title>Example of the having() method</title>
                 <title>Example of the having() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT p."product_id", COUNT(*) AS line_items_per_product
 //   SELECT p."product_id", COUNT(*) AS line_items_per_product
 //   FROM "products" AS p JOIN "line_items" AS l
 //   FROM "products" AS p JOIN "line_items" AS l
@@ -1021,7 +1021,7 @@ $select = $db->select()
 
 
                 <title>Example of the order() method</title>
                 <title>Example of the order() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT p."product_id", COUNT(*) AS line_items_per_product
 //   SELECT p."product_id", COUNT(*) AS line_items_per_product
 //   FROM "products" AS p JOIN "line_items" AS l
 //   FROM "products" AS p JOIN "line_items" AS l
@@ -1066,7 +1066,7 @@ $select = $db->select()
 
 
                 <title>Example of the limit() method</title>
                 <title>Example of the limit() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT p."product_id", p."product_name"
 //   SELECT p."product_id", p."product_name"
 //   FROM "products" AS p
 //   FROM "products" AS p
@@ -1105,7 +1105,7 @@ $select = $db->select()
 
 
                 <title>Example of the limitPage() method</title>
                 <title>Example of the limitPage() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT p."product_id", p."product_name"
 //   SELECT p."product_id", p."product_name"
 //   FROM "products" AS p
 //   FROM "products" AS p
@@ -1134,7 +1134,7 @@ $select = $db->select()
 
 
                 <title>Example of the distinct() method</title>
                 <title>Example of the distinct() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT DISTINCT p."product_name"
 //   SELECT DISTINCT p."product_name"
 //   FROM "products" AS p
 //   FROM "products" AS p
@@ -1161,7 +1161,7 @@ $select = $db->select()
 
 
                 <title>Example of forUpdate() method</title>
                 <title>Example of forUpdate() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT FOR UPDATE p.*
 //   SELECT FOR UPDATE p.*
 //   FROM "products" AS p
 //   FROM "products" AS p
@@ -1204,7 +1204,7 @@ $select = $db->select()
 
 
                 <title>Example using the Db adapter's query() method</title>
                 <title>Example using the Db adapter's query() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $select = $db->select()
 $select = $db->select()
              ->from('products');
              ->from('products');
 
 
@@ -1231,7 +1231,7 @@ $result = $stmt->fetchAll();
 
 
                 <title>Example using the Select object's query method</title>
                 <title>Example using the Select object's query method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $select = $db->select()
 $select = $db->select()
              ->from('products');
              ->from('products');
 
 
@@ -1256,7 +1256,7 @@ $result = $stmt->fetchAll();
 
 
                 <title>Example of the __toString() method</title>
                 <title>Example of the __toString() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $select = $db->select()
 $select = $db->select()
              ->from('products');
              ->from('products');
 
 
@@ -1384,7 +1384,7 @@ echo "$sql\n";
 
 
                 <title>Example of the getPart() method</title>
                 <title>Example of the getPart() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $select = $db->select()
 $select = $db->select()
              ->from('products')
              ->from('products')
              ->order('product_id');
              ->order('product_id');
@@ -1429,7 +1429,7 @@ print_r( $orderData );
 
 
                 <title>Example of the reset() method</title>
                 <title>Example of the reset() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Build this query:
 // Build this query:
 //   SELECT p.*
 //   SELECT p.*
 //   FROM "products" AS p
 //   FROM "products" AS p

+ 11 - 11
documentation/manual/en/module_specs/Zend_Db_Statement.xml

@@ -32,7 +32,7 @@
 
 
         <example id="zend.db.statement.creating.example1">
         <example id="zend.db.statement.creating.example1">
             <title>Creating a SQL statement object with query()</title>
             <title>Creating a SQL statement object with query()</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $stmt = $db->query(
 $stmt = $db->query(
             'SELECT * FROM bugs WHERE reported_by = ? AND bug_status = ?',
             'SELECT * FROM bugs WHERE reported_by = ? AND bug_status = ?',
             array('goofy', 'FIXED')
             array('goofy', 'FIXED')
@@ -58,7 +58,7 @@ $stmt = $db->query(
 
 
         <example id="zend.db.statement.creating.example2">
         <example id="zend.db.statement.creating.example2">
             <title>Using a SQL statement constructor</title>
             <title>Using a SQL statement constructor</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $sql = 'SELECT * FROM bugs WHERE reported_by = ? AND bug_status = ?';
 $sql = 'SELECT * FROM bugs WHERE reported_by = ? AND bug_status = ?';
 
 
 $stmt = new Zend_Db_Statement_Mysqli($db, $sql);
 $stmt = new Zend_Db_Statement_Mysqli($db, $sql);
@@ -87,7 +87,7 @@ $stmt = new Zend_Db_Statement_Mysqli($db, $sql);
 
 
         <example id="zend.db.statement.executing.example1">
         <example id="zend.db.statement.executing.example1">
             <title>Executing a statement with positional parameters</title>
             <title>Executing a statement with positional parameters</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $sql = 'SELECT * FROM bugs WHERE reported_by = ? AND bug_status = ?';
 $sql = 'SELECT * FROM bugs WHERE reported_by = ? AND bug_status = ?';
 
 
 $stmt = new Zend_Db_Statement_Mysqli($db, $sql);
 $stmt = new Zend_Db_Statement_Mysqli($db, $sql);
@@ -105,7 +105,7 @@ $stmt->execute(array('goofy', 'FIXED'));
 
 
         <example id="zend.db.statement.executing.example2">
         <example id="zend.db.statement.executing.example2">
             <title>Executing a statement with named parameters</title>
             <title>Executing a statement with named parameters</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $sql = 'SELECT * FROM bugs WHERE ' .
 $sql = 'SELECT * FROM bugs WHERE ' .
        'reported_by = :reporter AND bug_status = :status';
        'reported_by = :reporter AND bug_status = :status';
 
 
@@ -189,7 +189,7 @@ $stmt->execute(array(':reporter' => 'goofy', ':status' => 'FIXED'));
 
 
             <example id="zend.db.statement.fetching.fetch.example">
             <example id="zend.db.statement.fetching.fetch.example">
                 <title>Using fetch() in a loop</title>
                 <title>Using fetch() in a loop</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $stmt = $db->query('SELECT * FROM bugs');
 $stmt = $db->query('SELECT * FROM bugs');
 
 
 while ($row = $stmt->fetch()) {
 while ($row = $stmt->fetch()) {
@@ -220,7 +220,7 @@ while ($row = $stmt->fetch()) {
 
 
             <example id="zend.db.statement.fetching.fetchall.example">
             <example id="zend.db.statement.fetching.fetchall.example">
                 <title>Using fetchAll()</title>
                 <title>Using fetchAll()</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $stmt = $db->query('SELECT * FROM bugs');
 $stmt = $db->query('SELECT * FROM bugs');
 
 
 $rows = $stmt->fetchAll();
 $rows = $stmt->fetchAll();
@@ -256,7 +256,7 @@ echo $rows[0]['bug_description'];
 
 
             <example id="zend.db.statement.fetching.fetch-mode.example">
             <example id="zend.db.statement.fetching.fetch-mode.example">
                 <title>Setting the fetch mode</title>
                 <title>Setting the fetch mode</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $stmt = $db->query('SELECT * FROM bugs');
 $stmt = $db->query('SELECT * FROM bugs');
 
 
 $stmt->setFetchMode(Zend_Db::FETCH_NUM);
 $stmt->setFetchMode(Zend_Db::FETCH_NUM);
@@ -297,7 +297,7 @@ echo $rows[0][0];
 
 
             <example id="zend.db.statement.fetching.fetchcolumn.example">
             <example id="zend.db.statement.fetching.fetchcolumn.example">
                 <title>Using fetchColumn()</title>
                 <title>Using fetchColumn()</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $stmt = $db->query('SELECT bug_id, bug_description, bug_status FROM bugs');
 $stmt = $db->query('SELECT bug_id, bug_description, bug_status FROM bugs');
 
 
 $bug_status = $stmt->fetchColumn(2);
 $bug_status = $stmt->fetchColumn(2);
@@ -325,7 +325,7 @@ $bug_status = $stmt->fetchColumn(2);
 
 
             <example id="zend.db.statement.fetching.fetchobject.example">
             <example id="zend.db.statement.fetching.fetchobject.example">
                 <title>Using fetchObject()</title>
                 <title>Using fetchObject()</title>
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $stmt = $db->query('SELECT bug_id, bug_description, bug_status FROM bugs');
 $stmt = $db->query('SELECT bug_id, bug_description, bug_status FROM bugs');
 
 
 $obj = $stmt->fetchObject();
 $obj = $stmt->fetchObject();
@@ -354,7 +354,7 @@ echo $obj->bug_description;
 
 
         <example id="zend.db.statement.binding-param.example">
         <example id="zend.db.statement.binding-param.example">
             <title>Binding parameters from PHP variables</title>
             <title>Binding parameters from PHP variables</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 ]]></programlisting>
 ]]></programlisting>
         </example>
         </example>
 
 
@@ -376,7 +376,7 @@ echo $obj->bug_description;
 
 
         <example id="zend.db.statement.binding-column.example">
         <example id="zend.db.statement.binding-column.example">
             <title>Binding results to PHP variables</title>
             <title>Binding results to PHP variables</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 ]]></programlisting>
 ]]></programlisting>
         </example>
         </example>
 
 

+ 16 - 16
documentation/manual/en/module_specs/Zend_Db_Table-Relationships.xml

@@ -35,7 +35,7 @@
             Below are the PHP class definitions for these tables:
             Below are the PHP class definitions for these tables:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class Accounts extends Zend_Db_Table_Abstract
 class Accounts extends Zend_Db_Table_Abstract
 {
 {
     protected $_name            = 'accounts';
     protected $_name            = 'accounts';
@@ -212,7 +212,7 @@ class BugsProducts extends Zend_Db_Table_Abstract
             from dependent tables that reference the current row. Use the method:
             from dependent tables that reference the current row. Use the method:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $row->findDependentRowset($table, [$rule]);
 $row->findDependentRowset($table, [$rule]);
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -237,7 +237,7 @@ $row->findDependentRowset($table, [$rule]);
                 finding the <code>Bugs</code> reported by that account.
                 finding the <code>Bugs</code> reported by that account.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $accountsTable = new Accounts();
 $accountsTable = new Accounts();
 $accountsRowset = $accountsTable->find(1234);
 $accountsRowset = $accountsTable->find(1234);
 $user1234 = $accountsRowset->current();
 $user1234 = $accountsRowset->current();
@@ -271,7 +271,7 @@ $bugsReportedByUser = $user1234->findDependentRowset('Bugs');
                 <code>'Engineer'</code>.
                 <code>'Engineer'</code>.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $accountsTable = new Accounts();
 $accountsTable = new Accounts();
 $accountsRowset = $accountsTable->find(1234);
 $accountsRowset = $accountsTable->find(1234);
 $user1234 = $accountsRowset->current();
 $user1234 = $accountsRowset->current();
@@ -298,7 +298,7 @@ $bugsAssignedToUser = $user1234->findDependentRowset('Bugs', 'Engineer');
                     account, limited only to 3 rows and ordered by name.
                     account, limited only to 3 rows and ordered by name.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $accountsTable = new Accounts();
 $accountsTable = new Accounts();
 $accountsRowset = $accountsTable->find(1234);
 $accountsRowset = $accountsTable->find(1234);
 $user1234 = $accountsRowset->current();
 $user1234 = $accountsRowset->current();
@@ -360,7 +360,7 @@ $bugsAssignedToUser = $user1234->findDependentRowset('Bugs',
                 specifying the table and rule as strings.
                 specifying the table and rule as strings.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $accountsTable = new Accounts();
 $accountsTable = new Accounts();
 $accountsRowset = $accountsTable->find(1234);
 $accountsRowset = $accountsTable->find(1234);
 $user1234 = $accountsRowset->current();
 $user1234 = $accountsRowset->current();
@@ -385,7 +385,7 @@ $bugsAssignedTo = $user1234->findBugsByEngineer();
             the row in the parent to which the dependent row refers. Use the method:
             the row in the parent to which the dependent row refers. Use the method:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $row->findParentRow($table, [$rule]);
 $row->findParentRow($table, [$rule]);
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -410,7 +410,7 @@ $row->findParentRow($table, [$rule]);
                 <code>Accounts</code> table for the user who reported the bug.
                 <code>Accounts</code> table for the user who reported the bug.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugsTable = new Bugs();
 $bugsTable = new Bugs();
 $bugsRowset = $bugsTable->fetchAll(array('bug_status = ?' => 'NEW'));
 $bugsRowset = $bugsTable->fetchAll(array('bug_status = ?' => 'NEW'));
 $bug1 = $bugsRowset->current();
 $bug1 = $bugsRowset->current();
@@ -443,7 +443,7 @@ $reporter = $bug1->findParentRow('Accounts');
                 <code>'Engineer'</code>.
                 <code>'Engineer'</code>.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugsTable = new Bugs();
 $bugsTable = new Bugs();
 $bugsRowset = $bugsTable->fetchAll(array('bug_status = ?', 'NEW'));
 $bugsRowset = $bugsTable->fetchAll(array('bug_status = ?', 'NEW'));
 $bug1 = $bugsRowset->current();
 $bug1 = $bugsRowset->current();
@@ -500,7 +500,7 @@ $engineer = $bug1->findParentRow('Accounts', 'Engineer');
                 specifying the table and rule as strings.
                 specifying the table and rule as strings.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugsTable = new Bugs();
 $bugsTable = new Bugs();
 $bugsRowset = $bugsTable->fetchAll(array('bug_status = ?', 'NEW'));
 $bugsRowset = $bugsTable->fetchAll(array('bug_status = ?', 'NEW'));
 $bug1 = $bugsRowset->current();
 $bug1 = $bugsRowset->current();
@@ -527,7 +527,7 @@ $engineer = $bug1->findParentAccountsByEngineer();
             intersection table. Use the method:
             intersection table. Use the method:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $row->findManyToManyRowset($table,
 $row->findManyToManyRowset($table,
                            $intersectionTable,
                            $intersectionTable,
                            [$rule1,
                            [$rule1,
@@ -567,7 +567,7 @@ $row->findManyToManyRowset($table,
                 <code>Products</code>, representing products related to that bug.
                 <code>Products</code>, representing products related to that bug.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugsTable = new Bugs();
 $bugsTable = new Bugs();
 $bugsRowset = $bugsTable->find(1234);
 $bugsRowset = $bugsTable->find(1234);
 $bug1234 = $bugsRowset->current();
 $bug1234 = $bugsRowset->current();
@@ -619,7 +619,7 @@ $productsRowset = $bug1234->findManyToManyRowset('Products',
                 <code>Products</code>, representing products related to that bug.
                 <code>Products</code>, representing products related to that bug.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugsTable = new Bugs();
 $bugsTable = new Bugs();
 $bugsRowset = $bugsTable->find(1234);
 $bugsRowset = $bugsTable->find(1234);
 $bug1234 = $bugsRowset->current();
 $bug1234 = $bugsRowset->current();
@@ -689,7 +689,7 @@ $productsRowset = $bug1234->findManyToManyRowset('Products',
                 relationship representing products related to a given bug.
                 relationship representing products related to a given bug.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugsTable = new Bugs();
 $bugsTable = new Bugs();
 $bugsRowset = $bugsTable->find(1234);
 $bugsRowset = $bugsTable->find(1234);
 $bug1234 = $bugsRowset->current();
 $bug1234 = $bugsRowset->current();
@@ -754,7 +754,7 @@ $products = $bug1234->findProductsViaBugsProductsByBug();
                 configured to automatically delete dependent rows in the <code>Bugs</code> table.
                 configured to automatically delete dependent rows in the <code>Bugs</code> table.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $productsTable = new Products();
 $productsTable = new Products();
 $productsRowset = $productsTable->find(1234);
 $productsRowset = $productsTable->find(1234);
 $product1234 = $productsRowset->current();
 $product1234 = $productsRowset->current();
@@ -806,7 +806,7 @@ $product1234->delete();
                 the <code>'onUpdate'</code> entry.
                 the <code>'onUpdate'</code> entry.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class BugsProducts extends Zend_Db_Table_Abstract
 class BugsProducts extends Zend_Db_Table_Abstract
 {
 {
     ...
     ...

+ 38 - 38
documentation/manual/en/module_specs/Zend_Db_Table.xml

@@ -47,7 +47,7 @@
 
 
                 <title>Declaring a table class with explicit table name</title>
                 <title>Declaring a table class with explicit table name</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class Bugs extends Zend_Db_Table_Abstract
 class Bugs extends Zend_Db_Table_Abstract
 {
 {
     protected $_name = 'bugs';
     protected $_name = 'bugs';
@@ -66,7 +66,7 @@ class Bugs extends Zend_Db_Table_Abstract
 
 
                 <title>Declaring a table class with implicit table name</title>
                 <title>Declaring a table class with implicit table name</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class bugs extends Zend_Db_Table_Abstract
 class bugs extends Zend_Db_Table_Abstract
 {
 {
     // table name matches class name
     // table name matches class name
@@ -88,7 +88,7 @@ class bugs extends Zend_Db_Table_Abstract
 
 
                 <title>Declaring a table class with schema</title>
                 <title>Declaring a table class with schema</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // First alternative:
 // First alternative:
 class Bugs extends Zend_Db_Table_Abstract
 class Bugs extends Zend_Db_Table_Abstract
 {
 {
@@ -126,7 +126,7 @@ class Bugs extends Zend_Db_Table_Abstract
 
 
                 <title>Declaring table and schema names upon instantiation</title>
                 <title>Declaring table and schema names upon instantiation</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class Bugs extends Zend_Db_Table_Abstract
 class Bugs extends Zend_Db_Table_Abstract
 {
 {
 }
 }
@@ -170,7 +170,7 @@ $tableBugs = new Bugs(array('name' => 'bug_db.bugs',
 
 
                 <title>Example of specifying the primary key</title>
                 <title>Example of specifying the primary key</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class Bugs extends Zend_Db_Table_Abstract
 class Bugs extends Zend_Db_Table_Abstract
 {
 {
     protected $_name = 'bugs';
     protected $_name = 'bugs';
@@ -215,7 +215,7 @@ class Bugs extends Zend_Db_Table_Abstract
 
 
                 <title>Example of overriding the _setupTableName() method</title>
                 <title>Example of overriding the _setupTableName() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class Bugs extends Zend_Db_Table_Abstract
 class Bugs extends Zend_Db_Table_Abstract
 {
 {
     protected function _setupTableName()
     protected function _setupTableName()
@@ -287,7 +287,7 @@ class Bugs extends Zend_Db_Table_Abstract
 
 
                 <title>Example usage of init() method</title>
                 <title>Example usage of init() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class Bugs extends Zend_Db_Table_Abstract
 class Bugs extends Zend_Db_Table_Abstract
 {
 {
     protected $_observer;
     protected $_observer;
@@ -331,7 +331,7 @@ class Bugs extends Zend_Db_Table_Abstract
 
 
                 <title>Example of constructing a Table using an Adapter object</title>
                 <title>Example of constructing a Table using an Adapter object</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $db = Zend_Db::factory('PDO_MYSQL', $options);
 $db = Zend_Db::factory('PDO_MYSQL', $options);
 
 
 $table = new Bugs(array('db' => $db));
 $table = new Bugs(array('db' => $db));
@@ -357,7 +357,7 @@ $table = new Bugs(array('db' => $db));
 
 
                 <title>Example of constructing a Table using a the Default Adapter</title>
                 <title>Example of constructing a Table using a the Default Adapter</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $db = Zend_Db::factory('PDO_MYSQL', $options);
 $db = Zend_Db::factory('PDO_MYSQL', $options);
 Zend_Db_Table_Abstract::setDefaultAdapter($db);
 Zend_Db_Table_Abstract::setDefaultAdapter($db);
 
 
@@ -393,7 +393,7 @@ $table = new Bugs();
 
 
                 <title>Example of constructing a Table using a Registry key</title>
                 <title>Example of constructing a Table using a Registry key</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $db = Zend_Db::factory('PDO_MYSQL', $options);
 $db = Zend_Db::factory('PDO_MYSQL', $options);
 Zend_Registry::set('my_db', $db);
 Zend_Registry::set('my_db', $db);
 
 
@@ -431,7 +431,7 @@ $table = new Bugs(array('db' => 'my_db'));
 
 
             <title>Example of inserting to a Table</title>
             <title>Example of inserting to a Table</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $data = array(
 $data = array(
@@ -455,7 +455,7 @@ $table->insert($data);
 
 
             <title>Example of inserting expressions to a Table</title>
             <title>Example of inserting expressions to a Table</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $data = array(
 $data = array(
@@ -493,7 +493,7 @@ $data = array(
 
 
                 <title>Example of declaring a Table with auto-incrementing primary key</title>
                 <title>Example of declaring a Table with auto-incrementing primary key</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class Bugs extends Zend_Db_Table_Abstract
 class Bugs extends Zend_Db_Table_Abstract
 {
 {
     protected $_name = 'bugs';
     protected $_name = 'bugs';
@@ -542,7 +542,7 @@ class Bugs extends Zend_Db_Table_Abstract
 
 
                 <title>Example of declaring a Table with a sequence</title>
                 <title>Example of declaring a Table with a sequence</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class Bugs extends Zend_Db_Table_Abstract
 class Bugs extends Zend_Db_Table_Abstract
 {
 {
     protected $_name = 'bugs';
     protected $_name = 'bugs';
@@ -589,7 +589,7 @@ class Bugs extends Zend_Db_Table_Abstract
 
 
                 <title>Example of declaring a Table with a natural key</title>
                 <title>Example of declaring a Table with a natural key</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class BugStatus extends Zend_Db_Table_Abstract
 class BugStatus extends Zend_Db_Table_Abstract
 {
 {
     protected $_name = 'bug_status';
     protected $_name = 'bug_status';
@@ -630,7 +630,7 @@ class BugStatus extends Zend_Db_Table_Abstract
 
 
             <title>Example of updating rows in a Table</title>
             <title>Example of updating rows in a Table</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $data = array(
 $data = array(
@@ -679,7 +679,7 @@ $table->update($data, $where);
 
 
             <title>Example of deleting rows from a Table</title>
             <title>Example of deleting rows from a Table</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $where = $table->getAdapter()->quoteInto('bug_id = ?', 1235);
 $where = $table->getAdapter()->quoteInto('bug_id = ?', 1235);
@@ -723,7 +723,7 @@ $table->delete($where);
 
 
             <title>Example of finding rows by primary key values</title>
             <title>Example of finding rows by primary key values</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 // Find a single row
 // Find a single row
@@ -777,7 +777,7 @@ $rows = $table->find(array(1234, 5678));
                 second row must have primary key value (5678, 'DEF').
                 second row must have primary key value (5678, 'DEF').
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class BugsProducts extends Zend_Db_Table_Abstract
 class BugsProducts extends Zend_Db_Table_Abstract
 {
 {
     protected $_name = 'bugs_products';
     protected $_name = 'bugs_products';
@@ -826,7 +826,7 @@ $rows = $table->find(array(1234, 5678), array('ABC', 'DEF'));
 
 
                     <para>
                     <para>
 
 
-                        <programlisting role="php"><![CDATA[
+                        <programlisting language="php"><![CDATA[
 // Fetching a rowset
 // Fetching a rowset
 $rows = $table->fetchAll('bug_status = "NEW"', 'bug_id ASC', 10, 0);
 $rows = $table->fetchAll('bug_status = "NEW"', 'bug_id ASC', 10, 0);
 $rows = $table->fetchAll($table->select()->where('bug_status = ?', 'NEW')
 $rows = $table->fetchAll($table->select()->where('bug_status = ?', 'NEW')
@@ -895,7 +895,7 @@ $row = $table->fetchRow($table->select()->where('bug_status = ?', 'NEW')
 
 
                     <title>Simple usage</title>
                     <title>Simple usage</title>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $select = $table->select();
 $select = $table->select();
@@ -919,7 +919,7 @@ $rows = $table->fetchAll($select);
 
 
                     <title>Example of fluent interface</title>
                     <title>Example of fluent interface</title>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $rows =
 $rows =
@@ -946,7 +946,7 @@ $rows =
 
 
                 <title>Example of finding rows by an expression</title>
                 <title>Example of finding rows by an expression</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $select = $table->select()->where('bug_status = ?', 'NEW');
 $select = $table->select()->where('bug_status = ?', 'NEW');
@@ -967,7 +967,7 @@ $rows = $table->fetchAll($select);
 
 
                 <title>Example of finding rows by an expression</title>
                 <title>Example of finding rows by an expression</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $order  = 'bug_id';
 $order  = 'bug_id';
@@ -1011,7 +1011,7 @@ $rows = $table->fetchAll($select);
 
 
                     <title>Retrieving specific columns</title>
                     <title>Retrieving specific columns</title>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $select = $table->select();
 $select = $table->select();
@@ -1050,7 +1050,7 @@ $rows = $table->fetchAll($select);
 
 
                     <title>Retrieving expressions as columns</title>
                     <title>Retrieving expressions as columns</title>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $select = $table->select();
 $select = $table->select();
@@ -1075,7 +1075,7 @@ $rows = $table->fetchAll($select);
 
 
                     <title>Using a lookup table to refine the results of fetchAll()</title>
                     <title>Using a lookup table to refine the results of fetchAll()</title>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $select = $table->select();
 $select = $table->select();
@@ -1137,7 +1137,7 @@ $rows = $table->fetchAll($select);
 
 
             <title>Example of finding a single row by an expression</title>
             <title>Example of finding a single row by an expression</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $select  = $table->select()->where('bug_status = ?', 'NEW')
 $select  = $table->select()->where('bug_status = ?', 'NEW')
@@ -1170,7 +1170,7 @@ $row = $table->fetchRow($select);
 
 
             <title>Example of getting the table name</title>
             <title>Example of getting the table name</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $info = $table->info();
 $info = $table->info();
@@ -1322,7 +1322,7 @@ echo "The table name is " . $info['name'] . "\n";
                 all table objects:
                 all table objects:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // First, set up the Cache
 // First, set up the Cache
 $frontendOptions = array(
 $frontendOptions = array(
     'automatic_serialization' => true
     'automatic_serialization' => true
@@ -1361,7 +1361,7 @@ $bugs = new Bugs();
                 object instance:
                 object instance:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // First, set up the Cache
 // First, set up the Cache
 $frontendOptions = array(
 $frontendOptions = array(
     'automatic_serialization' => true
     'automatic_serialization' => true
@@ -1421,7 +1421,7 @@ $bugs = new Bugs(array('metadataCache' => $cache));
                 The metadata structure is as follows:
                 The metadata structure is as follows:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 protected $_metadata = array(
 protected $_metadata = array(
     '<column_name>' => array(
     '<column_name>' => array(
         'SCHEMA_NAME'      => <string>,
         'SCHEMA_NAME'      => <string>,
@@ -1453,7 +1453,7 @@ protected $_metadata = array(
                 <code>metadataCacheInClass</code> flag:
                 <code>metadataCacheInClass</code> flag:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // At instantiation:
 // At instantiation:
 $bugs = new Bugs(array('metadataCacheInClass' => false));
 $bugs = new Bugs(array('metadataCacheInClass' => false));
 
 
@@ -1495,7 +1495,7 @@ $bugs->setMetadataCacheInClass(false);
 
 
                 <title>Example of specifying the Row and Rowset classes</title>
                 <title>Example of specifying the Row and Rowset classes</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class My_Row extends Zend_Db_Table_Row_Abstract
 class My_Row extends Zend_Db_Table_Row_Abstract
 {
 {
     ...
     ...
@@ -1533,7 +1533,7 @@ $rows = $table->fetchAll($where);
 
 
                 <title>Example of changing the Row and Rowset classes</title>
                 <title>Example of changing the Row and Rowset classes</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $where = $table->getAdapter()->quoteInto('bug_status = ?', 'NEW')
 $where = $table->getAdapter()->quoteInto('bug_status = ?', 'NEW')
@@ -1576,7 +1576,7 @@ $rowsCustom = $table->fetchAll($where);
 
 
                 <title>Custom logic to manage timestamps</title>
                 <title>Custom logic to manage timestamps</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class Bugs extends Zend_Db_Table_Abstract
 class Bugs extends Zend_Db_Table_Abstract
 {
 {
     protected $_name = 'bugs';
     protected $_name = 'bugs';
@@ -1626,7 +1626,7 @@ class Bugs extends Zend_Db_Table_Abstract
 
 
                 <title>Custom method to find bugs by status</title>
                 <title>Custom method to find bugs by status</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class Bugs extends Zend_Db_Table_Abstract
 class Bugs extends Zend_Db_Table_Abstract
 {
 {
     protected $_name = 'bugs';
     protected $_name = 'bugs';
@@ -1691,7 +1691,7 @@ class Bugs extends Zend_Db_Table_Abstract
 
 
                 <title>Example of an abstract table class that implements inflection</title>
                 <title>Example of an abstract table class that implements inflection</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 abstract class MyAbstractTable extends Zend_Db_Table_Abstract
 abstract class MyAbstractTable extends Zend_Db_Table_Abstract
 {
 {
     protected function _setupTableName()
     protected function _setupTableName()

+ 17 - 17
documentation/manual/en/module_specs/Zend_Db_Table_Row.xml

@@ -37,7 +37,7 @@
 
 
             <title>Example of fetching a row</title>
             <title>Example of fetching a row</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugs = new Bugs();
 $bugs = new Bugs();
 $row = $bugs->fetchRow($bugs->select()->where('bug_id = ?', 1));
 $row = $bugs->fetchRow($bugs->select()->where('bug_id = ?', 1));
 ]]></programlisting>
 ]]></programlisting>
@@ -53,7 +53,7 @@ $row = $bugs->fetchRow($bugs->select()->where('bug_id = ?', 1));
 
 
             <title>Example of reading a row in a rowset</title>
             <title>Example of reading a row in a rowset</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugs = new Bugs();
 $bugs = new Bugs();
 $rowset = $bugs->fetchAll($bugs->select()->where('bug_status = ?', 1));
 $rowset = $bugs->fetchAll($bugs->select()->where('bug_status = ?', 1));
 $row = $rowset->current();
 $row = $rowset->current();
@@ -74,7 +74,7 @@ $row = $rowset->current();
 
 
                 <title>Example of reading a column in a row</title>
                 <title>Example of reading a column in a row</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $bugs = new Bugs();
 $bugs = new Bugs();
 $row = $bugs->fetchRow($bugs->select()->where('bug_id = ?', 1));
 $row = $bugs->fetchRow($bugs->select()->where('bug_id = ?', 1));
 
 
@@ -116,7 +116,7 @@ echo $row->bug_description;
 
 
                 <title>Example of using the toArray() method</title>
                 <title>Example of using the toArray() method</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $bugs = new Bugs();
 $bugs = new Bugs();
 $row = $bugs->fetchRow($bugs->select()->where('bug_id = ?', 1));
 $row = $bugs->fetchRow($bugs->select()->where('bug_id = ?', 1));
 
 
@@ -177,7 +177,7 @@ foreach ($rowArray as $column => $value) {
 
 
                 <title>Example of changing a column in a row</title>
                 <title>Example of changing a column in a row</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $bugs = new Bugs();
 $bugs = new Bugs();
 $row = $bugs->fetchRow($bugs->select()->where('bug_id = ?', 1));
 $row = $bugs->fetchRow($bugs->select()->where('bug_id = ?', 1));
 
 
@@ -207,7 +207,7 @@ $row->save();
 
 
                 <title>Example of creating a new row for a table</title>
                 <title>Example of creating a new row for a table</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $bugs = new Bugs();
 $bugs = new Bugs();
 $newRow = $bugs->createRow();
 $newRow = $bugs->createRow();
 
 
@@ -230,7 +230,7 @@ $newRow->save();
 
 
                 <title>Example of populating a new row for a table</title>
                 <title>Example of populating a new row for a table</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $data = array(
 $data = array(
     'bug_description' => '...description...',
     'bug_description' => '...description...',
     'bug_status'      => 'NEW'
     'bug_status'      => 'NEW'
@@ -273,7 +273,7 @@ $newRow->save();
 
 
                 <title>Example of using setFromArray() to set values in a new Row</title>
                 <title>Example of using setFromArray() to set values in a new Row</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $bugs = new Bugs();
 $bugs = new Bugs();
 $newRow = $bugs->createRow();
 $newRow = $bugs->createRow();
 
 
@@ -307,7 +307,7 @@ $newRow->save();
 
 
                 <title>Example of deleting a row</title>
                 <title>Example of deleting a row</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $bugs = new Bugs();
 $bugs = new Bugs();
 $row = $bugs->fetchRow('bug_id = 1');
 $row = $bugs->fetchRow('bug_id = 1');
 
 
@@ -350,7 +350,7 @@ $row->delete();
 
 
                 <title>Example of serializing a row</title>
                 <title>Example of serializing a row</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $bugs = new Bugs();
 $bugs = new Bugs();
 $row = $bugs->fetchRow('bug_id = 1');
 $row = $bugs->fetchRow('bug_id = 1');
 
 
@@ -384,7 +384,7 @@ $serializedRow = serialize($row);
 
 
                 <title>Example of unserializing a serialized row</title>
                 <title>Example of unserializing a serialized row</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $rowClone = unserialize($serializedRow);
 $rowClone = unserialize($serializedRow);
 
 
 // Now you can use object properties, but read-only
 // Now you can use object properties, but read-only
@@ -428,7 +428,7 @@ echo $rowClone->bug_description;
 
 
                 <title>Example of reactivating a row</title>
                 <title>Example of reactivating a row</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $rowClone = unserialize($serializedRow);
 $rowClone = unserialize($serializedRow);
 
 
 $bugs = new Bugs();
 $bugs = new Bugs();
@@ -465,7 +465,7 @@ $rowClone->save();
 
 
             <title>Specifying a custom Row class</title>
             <title>Specifying a custom Row class</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class MyRow extends Zend_Db_Table_Row_Abstract
 class MyRow extends Zend_Db_Table_Row_Abstract
 {
 {
     // ...customizations
     // ...customizations
@@ -501,7 +501,7 @@ $bugs = new Bugs(array('rowClass' => 'MyRow'));
 
 
                     <title>Example usage of init() method</title>
                     <title>Example usage of init() method</title>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 class MyApplicationRow extends Zend_Db_Table_Row_Abstract
 class MyApplicationRow extends Zend_Db_Table_Row_Abstract
 {
 {
     protected $_role;
     protected $_role;
@@ -561,7 +561,7 @@ class MyApplicationRow extends Zend_Db_Table_Row_Abstract
                     behavior.
                     behavior.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class MyLoggingRow extends Zend_Db_Table_Row_Abstract
 class MyLoggingRow extends Zend_Db_Table_Row_Abstract
 {
 {
     protected function _insert()
     protected function _insert()
@@ -600,7 +600,7 @@ if ($loggingEnabled) {
                     In this example, the logging code is identical in all table classes.
                     In this example, the logging code is identical in all table classes.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class MyLoggingRow extends Zend_Db_Table_Row_Abstract
 class MyLoggingRow extends Zend_Db_Table_Row_Abstract
 {
 {
     protected function _insert()
     protected function _insert()
@@ -661,7 +661,7 @@ class Products extends Zend_Db_Table_Abstract
                     change the name you use to the native column name in the database table.
                     change the name you use to the native column name in the database table.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 class MyInflectedRow extends Zend_Db_Table_Row_Abstract
 class MyInflectedRow extends Zend_Db_Table_Row_Abstract
 {
 {
     protected function _transformColumn($columnName)
     protected function _transformColumn($columnName)

+ 12 - 12
documentation/manual/en/module_specs/Zend_Db_Table_Rowset.xml

@@ -30,7 +30,7 @@
 
 
             <title>Example of fetching a rowset</title>
             <title>Example of fetching a rowset</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugs   = new Bugs();
 $bugs   = new Bugs();
 $rowset = $bugs->fetchAll("bug_status = 'NEW'");
 $rowset = $bugs->fetchAll("bug_status = 'NEW'");
 ]]></programlisting>
 ]]></programlisting>
@@ -59,7 +59,7 @@ $rowset = $bugs->fetchAll("bug_status = 'NEW'");
 
 
             <title>Counting the Rows in a Rowset</title>
             <title>Counting the Rows in a Rowset</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $rowset   = $bugs->fetchAll("bug_status = 'FIXED'");
 $rowset   = $bugs->fetchAll("bug_status = 'FIXED'");
 
 
 $rowCount = count($rowset);
 $rowCount = count($rowset);
@@ -82,7 +82,7 @@ if ($rowCount > 0) {
                 particularly appropriate when the Rowset contains exactly one Row.
                 particularly appropriate when the Rowset contains exactly one Row.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugs   = new Bugs();
 $bugs   = new Bugs();
 $rowset = $bugs->fetchAll("bug_id = 1");
 $rowset = $bugs->fetchAll("bug_id = 1");
 $row    = $rowset->current();
 $row    = $rowset->current();
@@ -106,7 +106,7 @@ $row    = $rowset->current();
                 record from the table.
                 record from the table.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugs = new Bugs();
 $bugs = new Bugs();
 
 
 // fetch all records from the table
 // fetch all records from the table
@@ -142,7 +142,7 @@ foreach ($rowset as $row) {
                 results before seeking to a position.
                 results before seeking to a position.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugs = new Bugs();
 $bugs = new Bugs();
 
 
 // fetch all records from the table
 // fetch all records from the table
@@ -169,7 +169,7 @@ $row9->save();
                 object by default. If the position requested does not exist, an exception will be thrown. Here is an example :
                 object by default. If the position requested does not exist, an exception will be thrown. Here is an example :
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugs = new Bugs();
 $bugs = new Bugs();
 
 
 // fetch all records from the table
 // fetch all records from the table
@@ -204,7 +204,7 @@ $row9->save();
 
 
             <title>Using toArray()</title>
             <title>Using toArray()</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugs   = new Bugs();
 $bugs   = new Bugs();
 $rowset = $bugs->fetchAll();
 $rowset = $bugs->fetchAll();
 
 
@@ -247,7 +247,7 @@ foreach ($rowsetArray as $rowArray) {
                 representation of the Rowset object argument.
                 representation of the Rowset object argument.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $bugs   = new Bugs();
 $bugs   = new Bugs();
 $rowset = $bugs->fetchAll();
 $rowset = $bugs->fetchAll();
 
 
@@ -275,7 +275,7 @@ $serializedRowset = serialize($rowset);
                 tables).
                 tables).
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $rowsetDisconnected = unserialize($serializedRowset);
 $rowsetDisconnected = unserialize($serializedRowset);
 
 
 // Now you can use object methods and properties, but read-only
 // Now you can use object methods and properties, but read-only
@@ -308,7 +308,7 @@ echo $row->bug_description;
 
 
             <title>Reactivating a Rowset as Live Data</title>
             <title>Reactivating a Rowset as Live Data</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $rowset = unserialize($serializedRowset);
 $rowset = unserialize($serializedRowset);
 
 
 $bugs = new Bugs();
 $bugs = new Bugs();
@@ -347,7 +347,7 @@ $row->save();
 
 
         <example id="zend.db.table.rowset.extending.example">
         <example id="zend.db.table.rowset.extending.example">
             <title>Specifying a custom Rowset class</title>
             <title>Specifying a custom Rowset class</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class MyRowset extends Zend_Db_Table_Rowset_Abstract
 class MyRowset extends Zend_Db_Table_Rowset_Abstract
 {
 {
     // ...customizations
     // ...customizations
@@ -377,7 +377,7 @@ $bugs = new Bugs(array('rowsetClass' => 'MyRowset'));
 
 
         <example id="zend.db.table.rowset.extending.example-aggregate">
         <example id="zend.db.table.rowset.extending.example-aggregate">
             <title>Example of Rowset class with a new method</title>
             <title>Example of Rowset class with a new method</title>
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class MyBugsRowset extends Zend_Db_Table_Rowset_Abstract
 class MyBugsRowset extends Zend_Db_Table_Rowset_Abstract
 {
 {
     /**
     /**

+ 1 - 1
documentation/manual/en/module_specs/Zend_Debug.xml

@@ -13,7 +13,7 @@
 
 
     <example id="zend.debug.dumping.example">
     <example id="zend.debug.dumping.example">
         <title>Example of dump() method</title>
         <title>Example of dump() method</title>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 Zend_Debug::dump($var, $label=null, $echo=true);
 Zend_Debug::dump($var, $label=null, $echo=true);
 ]]></programlisting>
 ]]></programlisting>
     </example>
     </example>

+ 12 - 12
documentation/manual/en/module_specs/Zend_Dojo-Data.xml

@@ -18,7 +18,7 @@
         server side then returns data in the following JSON format:
         server side then returns data in the following JSON format:
     </para>
     </para>
 
 
-    <programlisting role="javascript"><![CDATA[
+    <programlisting language="javascript"><![CDATA[
 {
 {
     identifier: '<name>',
     identifier: '<name>',
     <label: '<label>',>
     <label: '<label>',>
@@ -47,7 +47,7 @@
         <example id="zend.dojo.data.usage.constructor">
         <example id="zend.dojo.data.usage.constructor">
             <title>Zend_Dojo_Data initialization via constructor</title>
             <title>Zend_Dojo_Data initialization via constructor</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $data = new Zend_Dojo_Data('id', $items);
 $data = new Zend_Dojo_Data('id', $items);
 ]]></programlisting>
 ]]></programlisting>
         </example>
         </example>
@@ -55,7 +55,7 @@ $data = new Zend_Dojo_Data('id', $items);
         <example id="zend.dojo.data.usage.mutators">
         <example id="zend.dojo.data.usage.mutators">
             <title>Zend_Dojo_Data initialization via mutators</title>
             <title>Zend_Dojo_Data initialization via mutators</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $data = new Zend_Dojo_Data();
 $data = new Zend_Dojo_Data();
 $data->setIdentifier('id')
 $data->setIdentifier('id')
      ->addItems($items);
      ->addItems($items);
@@ -70,7 +70,7 @@ $data->setIdentifier('id')
         <example id="zend.dojo.data.usage.append">
         <example id="zend.dojo.data.usage.append">
             <title>Appending data to Zend_Dojo_Data</title>
             <title>Appending data to Zend_Dojo_Data</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $data = new Zend_Dojo_Data($identifier, $items);
 $data = new Zend_Dojo_Data($identifier, $items);
 $data->addItem($someItem);
 $data->addItem($someItem);
 
 
@@ -133,7 +133,7 @@ $data->addItems($someMoreItems);
         <example id="zend.dojo.data.usage.label">
         <example id="zend.dojo.data.usage.label">
             <title>Specifying a label field in Zend_Dojo_Data</title>
             <title>Specifying a label field in Zend_Dojo_Data</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $data->setLabel('name');
 $data->setLabel('name');
 ]]></programlisting>
 ]]></programlisting>
         </example>
         </example>
@@ -146,7 +146,7 @@ $data->setLabel('name');
         <example id="zend.dojo.data.usage.populate">
         <example id="zend.dojo.data.usage.populate">
             <title>Populating Zend_Dojo_Data from JSON</title>
             <title>Populating Zend_Dojo_Data from JSON</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $data->fromJson($json);
 $data->fromJson($json);
 ]]></programlisting>
 ]]></programlisting>
         </example>
         </example>
@@ -174,7 +174,7 @@ $data->fromJson($json);
             to the object. The following illustrates usage:
             to the object. The following illustrates usage:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Set the "numRows" to 100
 // Set the "numRows" to 100
 $data->setMetadata('numRows', 100);
 $data->setMetadata('numRows', 100);
 
 
@@ -221,7 +221,7 @@ $data->clearMetadata();
             <code>getItem()</code> method, or via array notation.
             <code>getItem()</code> method, or via array notation.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Using getItem():
 // Using getItem():
 $item = $data->getItem('foo');
 $item = $data->getItem('foo');
 
 
@@ -234,7 +234,7 @@ $item = $data['foo'];
             update it, delete it, create it, or test for it:
             update it, delete it, create it, or test for it:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Update or create an item:
 // Update or create an item:
 $data['foo'] = array('title' => 'Foo', 'email' => 'foo@foo.com');
 $data['foo'] = array('title' => 'Foo', 'email' => 'foo@foo.com');
 
 
@@ -251,7 +251,7 @@ if (isset($data[foo])) {
             stored as arrays.
             stored as arrays.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 foreach ($data as $item) {
 foreach ($data as $item) {
     echo $item['title'] . ': ' . $item['description'] . "\n";
     echo $item['title'] . ': ' . $item['description'] . "\n";
 }
 }
@@ -261,7 +261,7 @@ foreach ($data as $item) {
             Or even count to see how many items you have:
             Or even count to see how many items you have:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 echo count($data), " items found!";
 echo count($data), " items found!";
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -270,7 +270,7 @@ echo count($data), " items found!";
             also cast it to JSON simply by echoing it or casting to string:
             also cast it to JSON simply by echoing it or casting to string:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 echo $data; // echo as JSON string
 echo $data; // echo as JSON string
 
 
 $json = (string) $data; // cast to string == cast to JSON
 $json = (string) $data; // cast to string == cast to JSON

+ 2 - 2
documentation/manual/en/module_specs/Zend_Dojo-Form-Decorators.xml

@@ -48,7 +48,7 @@
         <example id="zend.dojo.form.decorators.dijitElement.usage">
         <example id="zend.dojo.form.decorators.dijitElement.usage">
             <title>DijitElement Decorator Usage</title>
             <title>DijitElement Decorator Usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $element->setDecorators(array(
 $element->setDecorators(array(
     'DijitElement',
     'DijitElement',
     'Errors',
     'Errors',
@@ -113,7 +113,7 @@ $element->setDecorators(array(
         <example id="zend.dojo.form.decorators.dijitContainer.usage">
         <example id="zend.dojo.form.decorators.dijitContainer.usage">
             <title>DijitContainer Decorator Usage</title>
             <title>DijitContainer Decorator Usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // Use a TabContainer for your form:
 // Use a TabContainer for your form:
 $form->setDecorators(array(
 $form->setDecorators(array(
     'FormElements',
     'FormElements',

+ 20 - 20
documentation/manual/en/module_specs/Zend_Dojo-Form-Elements.xml

@@ -59,7 +59,7 @@
         decorators, corresponding to the following:
         decorators, corresponding to the following:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $element->addDecorator('DijitElement')
 $element->addDecorator('DijitElement')
         ->addDecorator('Errors')
         ->addDecorator('Errors')
         ->addDecorator('HtmlTag', array('tag' => 'dd'))
         ->addDecorator('HtmlTag', array('tag' => 'dd'))
@@ -121,7 +121,7 @@ $element->addDecorator('DijitElement')
         <example id="zend.dojo.form.elements.button.example">
         <example id="zend.dojo.form.elements.button.example">
             <title>Example Button dijit element usage</title>
             <title>Example Button dijit element usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'Button',
     'Button',
     'foo',
     'foo',
@@ -178,7 +178,7 @@ $form->addElement(
         <example id="zend.dojo.form.elements.checkBox.example">
         <example id="zend.dojo.form.elements.checkBox.example">
             <title>Example CheckBox dijit element usage</title>
             <title>Example CheckBox dijit element usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'CheckBox',
     'CheckBox',
     'foo',
     'foo',
@@ -291,7 +291,7 @@ $form->addElement(
         <example id="zend.dojo.form.elements.comboBox.selectExample">
         <example id="zend.dojo.form.elements.comboBox.selectExample">
             <title>ComboBox dijit element usage as select input</title>
             <title>ComboBox dijit element usage as select input</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'ComboBox',
     'ComboBox',
     'foo',
     'foo',
@@ -315,7 +315,7 @@ $form->addElement(
         <example id="zend.dojo.form.elements.comboBox.datastoreExample">
         <example id="zend.dojo.form.elements.comboBox.datastoreExample">
             <title>ComboBox dijit element usage with datastore</title>
             <title>ComboBox dijit element usage with datastore</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'ComboBox',
     'ComboBox',
     'foo',
     'foo',
@@ -395,7 +395,7 @@ $form->addElement(
         <example id="zend.dojo.form.elements.currencyTextBox.example">
         <example id="zend.dojo.form.elements.currencyTextBox.example">
             <title>Example CurrencyTextBox dijit element usage</title>
             <title>Example CurrencyTextBox dijit element usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'CurrencyTextBox',
     'CurrencyTextBox',
     'foo',
     'foo',
@@ -470,7 +470,7 @@ $form->addElement(
         <example id="zend.dojo.form.elements.dateTextBox.example">
         <example id="zend.dojo.form.elements.dateTextBox.example">
             <title>Example DateTextBox dijit element usage</title>
             <title>Example DateTextBox dijit element usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'DateTextBox',
     'DateTextBox',
     'foo',
     'foo',
@@ -632,7 +632,7 @@ $form->addElement(
         <example id="zend.dojo.form.elements.editor.example">
         <example id="zend.dojo.form.elements.editor.example">
             <title>Example Editor dijit element usage</title>
             <title>Example Editor dijit element usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement('editor', 'content', array(
 $form->addElement('editor', 'content', array(
     'plugins'            => array('undo', '|', 'bold', 'italic'),
     'plugins'            => array('undo', '|', 'bold', 'italic'),
     'editActionInterval' => 2,
     'editActionInterval' => 2,
@@ -732,7 +732,7 @@ $form->addElement('editor', 'content', array(
                 element storing the value will be updated.
                 element storing the value will be updated.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'HorizontalSlider',
     'HorizontalSlider',
     'horizontal',
     'horizontal',
@@ -848,7 +848,7 @@ $form->addElement(
         <example id="zend.dojo.form.elements.numberSpinner.example">
         <example id="zend.dojo.form.elements.numberSpinner.example">
             <title>Example NumberSpinner dijit element usage</title>
             <title>Example NumberSpinner dijit element usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'NumberSpinner',
     'NumberSpinner',
     'foo',
     'foo',
@@ -923,7 +923,7 @@ $form->addElement(
         <example id="zend.dojo.form.elements.numberTextBox.example">
         <example id="zend.dojo.form.elements.numberTextBox.example">
             <title>Example NumberTextBox dijit element usage</title>
             <title>Example NumberTextBox dijit element usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'NumberTextBox',
     'NumberTextBox',
     'elevation',
     'elevation',
@@ -961,7 +961,7 @@ $form->addElement(
         <example id="zend.dojo.form.elements.passwordTextBox.example">
         <example id="zend.dojo.form.elements.passwordTextBox.example">
             <title>Example PasswordTextBox dijit element usage</title>
             <title>Example PasswordTextBox dijit element usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'PasswordTextBox',
     'PasswordTextBox',
     'password',
     'password',
@@ -1006,7 +1006,7 @@ $form->addElement(
         <example id="zend.dojo.form.elements.radioButton.example">
         <example id="zend.dojo.form.elements.radioButton.example">
             <title>Example RadioButton dijit element usage</title>
             <title>Example RadioButton dijit element usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'RadioButton',
     'RadioButton',
     'foo',
     'foo',
@@ -1037,7 +1037,7 @@ $form->addElement(
         <example id="zend.dojo.form.elements.simpletextarea.example">
         <example id="zend.dojo.form.elements.simpletextarea.example">
             <title>Example SimpleTextarea dijit element usage</title>
             <title>Example SimpleTextarea dijit element usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'SimpleTextarea',
     'SimpleTextarea',
     'simpletextarea',
     'simpletextarea',
@@ -1128,7 +1128,7 @@ $form->addElement(
         <example id="zend.dojo.form.elements.submitButton.example">
         <example id="zend.dojo.form.elements.submitButton.example">
             <title>Example SubmitButton dijit element usage</title>
             <title>Example SubmitButton dijit element usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'SubmitButton',
     'SubmitButton',
     'foo',
     'foo',
@@ -1186,7 +1186,7 @@ $form->addElement(
         <example id="zend.dojo.form.elements.textBox.example">
         <example id="zend.dojo.form.elements.textBox.example">
             <title>Example TextBox dijit element usage</title>
             <title>Example TextBox dijit element usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'TextBox',
     'TextBox',
     'foo',
     'foo',
@@ -1215,7 +1215,7 @@ $form->addElement(
         <example id="zend.dojo.form.elements.textarea.example">
         <example id="zend.dojo.form.elements.textarea.example">
             <title>Example Textarea dijit element usage</title>
             <title>Example Textarea dijit element usage</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'Textarea',
     'Textarea',
     'textarea',
     'textarea',
@@ -1286,7 +1286,7 @@ $form->addElement(
                 at a time, with increments of 10 minutes.
                 at a time, with increments of 10 minutes.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'TimeTextBox',
     'TimeTextBox',
     'foo',
     'foo',
@@ -1365,7 +1365,7 @@ $form->addElement(
                 spaces, most punctuation is invalid).
                 spaces, most punctuation is invalid).
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'ValidationTextBox',
     'ValidationTextBox',
     'foo',
     'foo',
@@ -1404,7 +1404,7 @@ $form->addElement(
                 element storing the value will be updated.
                 element storing the value will be updated.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $form->addElement(
 $form->addElement(
     'VerticalSlider',
     'VerticalSlider',
     'foo',
     'foo',

+ 3 - 3
documentation/manual/en/module_specs/Zend_Dojo-Form-Examples.xml

@@ -15,7 +15,7 @@
             in its own tab.
             in its own tab.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class My_Form_Test extends Zend_Dojo_Form
 class My_Form_Test extends Zend_Dojo_Form
 {
 {
     /**
     /**
@@ -363,7 +363,7 @@ class My_Form_Test extends Zend_Dojo_Form
             This first example shows decorating an existing form instance:
             This first example shows decorating an existing form instance:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $form = new My_Custom_Form();
 $form = new My_Custom_Form();
 Zend_Dojo::enableForm($form);
 Zend_Dojo::enableForm($form);
 $form->addElement(
 $form->addElement(
@@ -390,7 +390,7 @@ array(
             initialization:
             initialization:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class My_Custom_Form extends Zend_Form
 class My_Custom_Form extends Zend_Form
 {
 {
     public function init()
     public function init()

+ 1 - 1
documentation/manual/en/module_specs/Zend_Dojo-Form.xml

@@ -72,7 +72,7 @@
             them:
             them:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 class My_Form_Custom extends Zend_Form
 class My_Form_Custom extends Zend_Form
 {
 {
     public function init()
     public function init()

+ 9 - 9
documentation/manual/en/module_specs/Zend_Dojo-View-Dojo.xml

@@ -45,7 +45,7 @@
             plugin; simply grab your view object and execute the following:
             plugin; simply grab your view object and execute the following:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $view->addHelperPath('Zend/Dojo/View/Helper/', 'Zend_Dojo_View_Helper');
 $view->addHelperPath('Zend/Dojo/View/Helper/', 'Zend_Dojo_View_Helper');
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -56,7 +56,7 @@ $view->addHelperPath('Zend/Dojo/View/Helper/', 'Zend_Dojo_View_Helper');
             'PairedStore' and store in our 'custom' module.
             'PairedStore' and store in our 'custom' module.
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 <?php // setup data store for FilteringSelect ?>
 <?php // setup data store for FilteringSelect ?>
 <div dojoType="custom.PairedStore" jsId="stateStore"
 <div dojoType="custom.PairedStore" jsId="stateStore"
     url="/data/autocomplete/type/state/format/ajax"
     url="/data/autocomplete/type/state/format/ajax"
@@ -80,7 +80,7 @@ $this->dojo()->enable()
             it:
             it:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 <?php echo $this->doctype() ?>
 <?php echo $this->doctype() ?>
 <html>
 <html>
 <head>
 <head>
@@ -159,7 +159,7 @@ $this->dojo()->enable()
                 <code>setUseDeclarative()</code> method:
                 <code>setUseDeclarative()</code> method:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 Zend_Dojo_View_Helper_Dojo::setUseDeclarative();
 Zend_Dojo_View_Helper_Dojo::setUseDeclarative();
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -168,7 +168,7 @@ Zend_Dojo_View_Helper_Dojo::setUseDeclarative();
                 <code>setUseProgrammatic()</code> method:
                 <code>setUseProgrammatic()</code> method:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 Zend_Dojo_View_Helper_Dojo::setUseProgrammatic();
 Zend_Dojo_View_Helper_Dojo::setUseProgrammatic();
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -179,7 +179,7 @@ Zend_Dojo_View_Helper_Dojo::setUseProgrammatic();
                 will be created.
                 will be created.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 Zend_Dojo_View_Helper_Dojo::setUseProgrammatic(-1);
 Zend_Dojo_View_Helper_Dojo::setUseProgrammatic(-1);
 ]]></programlisting>
 ]]></programlisting>
         </example>
         </example>
@@ -193,7 +193,7 @@ Zend_Dojo_View_Helper_Dojo::setUseProgrammatic(-1);
             select one by passing in a module path:
             select one by passing in a module path:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $view->dojo()->addStylesheetModule('dijit.themes.tundra');
 $view->dojo()->addStylesheetModule('dijit.themes.tundra');
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -211,7 +211,7 @@ $view->dojo()->addStylesheetModule('dijit.themes.tundra');
             using; the most common use case is to pass it in the body:
             using; the most common use case is to pass it in the body:
         </para>
         </para>
 
 
-        <programlisting role="html"><![CDATA[
+        <programlisting language="html"><![CDATA[
 <body class="tundra">
 <body class="tundra">
 ]]></programlisting>
 ]]></programlisting>
     </sect3>
     </sect3>
@@ -262,7 +262,7 @@ $view->dojo()->addStylesheetModule('dijit.themes.tundra');
             <code>addLayer()</code> method for adding paths to required layers:
             <code>addLayer()</code> method for adding paths to required layers:
         </para>
         </para>
 
 
-        <programlisting role="html"><![CDATA[
+        <programlisting language="html"><![CDATA[
 $view->dojo()->addLayer('/js/foo/foo.js');
 $view->dojo()->addLayer('/js/foo/foo.js');
 ]]></programlisting>
 ]]></programlisting>
 
 

+ 29 - 29
documentation/manual/en/module_specs/Zend_Dojo-View-Helpers.xml

@@ -143,7 +143,7 @@
     <example id="zend.dojo.view.dijit.prefixpath">
     <example id="zend.dojo.view.dijit.prefixpath">
         <title>Registering the Dojo View Helper Prefix Path</title>
         <title>Registering the Dojo View Helper Prefix Path</title>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $view->addHelperPath('Zend/Dojo/View/Helper', 'Zend_Dojo_View_Helper');
 $view->addHelperPath('Zend/Dojo/View/Helper', 'Zend_Dojo_View_Helper');
 ]]></programlisting>
 ]]></programlisting>
     </example>
     </example>
@@ -178,7 +178,7 @@ $view->addHelperPath('Zend/Dojo/View/Helper', 'Zend_Dojo_View_Helper');
                     display that particular pane.
                     display that particular pane.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 <?php echo $view->accordionContainer(
 <?php echo $view->accordionContainer(
     'foo',
     'foo',
     $content,
     $content,
@@ -198,7 +198,7 @@ $view->addHelperPath('Zend/Dojo/View/Helper', 'Zend_Dojo_View_Helper');
                     For use within AccordionContainer.
                     For use within AccordionContainer.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 <?php echo $view->accordionPane(
 <?php echo $view->accordionPane(
     'foo',
     'foo',
     $content,
     $content,
@@ -220,7 +220,7 @@ $view->addHelperPath('Zend/Dojo/View/Helper', 'Zend_Dojo_View_Helper');
                     traditional application.
                     traditional application.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 <?php echo $view->borderContainer(
 <?php echo $view->borderContainer(
     'foo',
     'foo',
     $content,
     $content,
@@ -240,7 +240,7 @@ $view->addHelperPath('Zend/Dojo/View/Helper', 'Zend_Dojo_View_Helper');
                     inside any container except AccordionContainer.
                     inside any container except AccordionContainer.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 <?php echo $view->contentPane(
 <?php echo $view->contentPane(
     'foo',
     'foo',
     $content,
     $content,
@@ -262,7 +262,7 @@ $view->addHelperPath('Zend/Dojo/View/Helper', 'Zend_Dojo_View_Helper');
                     panes; deprecated in Dojo in favor of BorderContainer.
                     panes; deprecated in Dojo in favor of BorderContainer.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 <?php echo $view->splitContainer(
 <?php echo $view->splitContainer(
     'foo',
     'foo',
     $content,
     $content,
@@ -286,7 +286,7 @@ $view->addHelperPath('Zend/Dojo/View/Helper', 'Zend_Dojo_View_Helper');
                     functionality to reveal one at a time.
                     functionality to reveal one at a time.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 <?php echo $view->stackContainer(
 <?php echo $view->stackContainer(
     'foo',
     'foo',
     $content,
     $content,
@@ -306,7 +306,7 @@ $view->addHelperPath('Zend/Dojo/View/Helper', 'Zend_Dojo_View_Helper');
                     one side for switching between them.
                     one side for switching between them.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 <?php echo $view->tabContainer(
 <?php echo $view->tabContainer(
     'foo',
     'foo',
     $content,
     $content,
@@ -361,7 +361,7 @@ $view->addHelperPath('Zend/Dojo/View/Helper', 'Zend_Dojo_View_Helper');
                 layout effects.
                 layout effects.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $view->borderContainer()->captureStart('masterLayout',
 $view->borderContainer()->captureStart('masterLayout',
                                        array('design' => 'headline'));
                                        array('design' => 'headline'));
 
 
@@ -423,7 +423,7 @@ echo $view->borderContainer()->captureEnd('masterLayout');
                     form button.
                     form button.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 <?php echo $view->button(
 <?php echo $view->button(
     'foo',
     'foo',
     'Show Me!',
     'Show Me!',
@@ -457,7 +457,7 @@ echo $view->borderContainer()->captureEnd('masterLayout');
                     are assumed.
                     are assumed.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 <?php echo $view->checkBox(
 <?php echo $view->checkBox(
     'foo',
     'foo',
     'bar',
     'bar',
@@ -550,7 +550,7 @@ echo $view->borderContainer()->captureEnd('masterLayout');
                     </listitem>
                     </listitem>
                 </itemizedlist>
                 </itemizedlist>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // As a select element:
 // As a select element:
 echo $view->comboBox(
 echo $view->comboBox(
     'foo',
     'foo',
@@ -591,7 +591,7 @@ echo $view->comboBox(
                     ValidationTextBox and TextBox.
                     ValidationTextBox and TextBox.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 echo $view->currencyTextBox(
 echo $view->currencyTextBox(
     'foo',
     'foo',
     '$25.00',
     '$25.00',
@@ -612,7 +612,7 @@ echo $view->currencyTextBox(
                         character set to utf-8, which you can do by calling:
                         character set to utf-8, which you can do by calling:
                     </para>
                     </para>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 $view->headMeta()->appendHttpEquiv('Content-Type',
 $view->headMeta()->appendHttpEquiv('Content-Type',
                                    'text/html; charset=utf-8');
                                    'text/html; charset=utf-8');
 ]]></programlisting>
 ]]></programlisting>
@@ -635,7 +635,7 @@ $view->headMeta()->appendHttpEquiv('Content-Type',
                     ValidationTextBox or TextBox.
                     ValidationTextBox or TextBox.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 echo $view->dateTextBox(
 echo $view->dateTextBox(
     'foo',
     'foo',
     '2008-07-11',
     '2008-07-11',
@@ -654,7 +654,7 @@ echo $view->dateTextBox(
                     dijit.Editor documentation</ulink> for more details.
                     dijit.Editor documentation</ulink> for more details.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 echo $view->editor('foo');
 echo $view->editor('foo');
 ]]></programlisting>
 ]]></programlisting>
             </listitem>
             </listitem>
@@ -777,7 +777,7 @@ echo $view->editor('foo');
                     </para></listitem>
                     </para></listitem>
                 </itemizedlist>
                 </itemizedlist>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 echo $view->horizontalSlider(
 echo $view->horizontalSlider(
     'foo',
     'foo',
     1,
     1,
@@ -844,7 +844,7 @@ echo $view->horizontalSlider(
                     decrement.
                     decrement.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 echo $view->numberSpinner(
 echo $view->numberSpinner(
     'foo',
     'foo',
     5,
     5,
@@ -869,7 +869,7 @@ echo $view->numberSpinner(
                     against given constraints.
                     against given constraints.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 echo $view->numberTextBox(
 echo $view->numberTextBox(
     'foo',
     'foo',
     5,
     5,
@@ -893,7 +893,7 @@ echo $view->numberTextBox(
                     dijit theme, as well as allow for client-side validation.
                     dijit theme, as well as allow for client-side validation.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 echo $view->passwordTextBox(
 echo $view->passwordTextBox(
     'foo',
     'foo',
     '',
     '',
@@ -922,7 +922,7 @@ echo $view->passwordTextBox(
                     the <code>$attribs</code> key <code>options</code>.
                     the <code>$attribs</code> key <code>options</code>.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 echo $view->radioButton(
 echo $view->radioButton(
     'foo',
     'foo',
     'bar',
     'bar',
@@ -946,7 +946,7 @@ echo $view->radioButton(
                     percentages for the width and height, instead.
                     percentages for the width and height, instead.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 echo $view->simpleTextarea(
 echo $view->simpleTextarea(
     'foo',
     'foo',
     'Start writing here...',
     'Start writing here...',
@@ -973,7 +973,7 @@ echo $view->simpleTextarea(
                     width should be specified via a style setting.
                     width should be specified via a style setting.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 echo $view->textarea(
 echo $view->textarea(
     'foo',
     'foo',
     'Start writing here...',
     'Start writing here...',
@@ -1001,7 +1001,7 @@ echo $view->textarea(
                     may specifiy the parameters 'size' and 'maxLength'.
                     may specifiy the parameters 'size' and 'maxLength'.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 echo $view->textBox(
 echo $view->textBox(
     'foo',
     'foo',
     'some text',
     'some text',
@@ -1027,7 +1027,7 @@ echo $view->textBox(
                     range of times available.
                     range of times available.
                 </para>
                 </para>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 echo $view->timeTextBox(
 echo $view->timeTextBox(
     'foo',
     'foo',
     '',
     '',
@@ -1079,7 +1079,7 @@ echo $view->timeTextBox(
                     </para></listitem>
                     </para></listitem>
                 </itemizedlist>
                 </itemizedlist>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 echo $view->validationTextBox(
 echo $view->validationTextBox(
     'foo',
     'foo',
     '',
     '',
@@ -1143,7 +1143,7 @@ echo $view->validationTextBox(
                 At its most basic, you can do the following:
                 At its most basic, you can do the following:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 <?php echo $this->customDijit(
 <?php echo $this->customDijit(
     'foo',
     'foo',
     $content,
     $content,
@@ -1161,7 +1161,7 @@ echo $view->validationTextBox(
                 the "params" argument:
                 the "params" argument:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 <?php $this->customDijit()->captureStart(
 <?php $this->customDijit()->captureStart(
     'foo',
     'foo',
     array(
     array(
@@ -1182,7 +1182,7 @@ This is the content of the pane
                 following helper to support it:
                 following helper to support it:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 class My_View_Helper_FooContentPane
 class My_View_Helper_FooContentPane
     extends Zend_Dojo_View_Helper_CustomDijit
     extends Zend_Dojo_View_Helper_CustomDijit
 {
 {

+ 2 - 2
documentation/manual/en/module_specs/Zend_Dojo-View.xml

@@ -24,7 +24,7 @@
             <code>addHelperPath()</code>:
             <code>addHelperPath()</code>:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $view->addHelperPath('Zend/Dojo/View/Helper/', 'Zend_Dojo_View_Helper');
 $view->addHelperPath('Zend/Dojo/View/Helper/', 'Zend_Dojo_View_Helper');
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -33,7 +33,7 @@ $view->addHelperPath('Zend/Dojo/View/Helper/', 'Zend_Dojo_View_Helper');
             <code>enableView()</code> method to do the work for you:
             <code>enableView()</code> method to do the work for you:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 Zend_Dojo::enableView($view);
 Zend_Dojo::enableView($view);
 ]]></programlisting>
 ]]></programlisting>
     </example>
     </example>

+ 2 - 2
documentation/manual/en/module_specs/Zend_Dom-Query.xml

@@ -110,7 +110,7 @@
                     the word 'One' in the listing below:
                     the word 'One' in the listing below:
                 </para>
                 </para>
 
 
-                <programlisting role="html"><![CDATA[
+                <programlisting language="html"><![CDATA[
 <div>
 <div>
 <table>
 <table>
     <tr>
     <tr>
@@ -141,7 +141,7 @@
             that selects against the HTML above:
             that selects against the HTML above:
         </para>
         </para>
 
 
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $dom = new Zend_Dom_Query($html);
 $dom = new Zend_Dom_Query($html);
 $results = $dom->query('.foo .bar a');
 $results = $dom->query('.foo .bar a');
 
 

+ 1 - 1
documentation/manual/en/module_specs/Zend_Exception.xml

@@ -13,7 +13,7 @@
         <para>
         <para>
             The following code listing demonstrates how to catch an exception thrown in a Zend Framework class:
             The following code listing demonstrates how to catch an exception thrown in a Zend Framework class:
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 try {
 try {
     // Calling Zend_Loader::loadClass() with a non-existant class will cause
     // Calling Zend_Loader::loadClass() with a non-existant class will cause
     // an exception to be thrown in Zend_Loader
     // an exception to be thrown in Zend_Loader

+ 1 - 1
documentation/manual/en/module_specs/Zend_Feed-ConsumingAtom.xml

@@ -17,7 +17,7 @@
         <para>
         <para>
             Read an Atom feed and print the <code>title</code> and <code>summary</code> of each entry:
             Read an Atom feed and print the <code>title</code> and <code>summary</code> of each entry:
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $feed = new Zend_Feed_Atom('http://atom.example.com/feed/');
 $feed = new Zend_Feed_Atom('http://atom.example.com/feed/');
 echo 'The feed contains ' . $feed->count() . ' entries.' . "\n\n";
 echo 'The feed contains ' . $feed->count() . ' entries.' . "\n\n";
 foreach ($feed as $entry) {
 foreach ($feed as $entry) {

+ 2 - 2
documentation/manual/en/module_specs/Zend_Feed-ConsumingAtomSingle.xml

@@ -16,7 +16,7 @@
 
 
     <example id="zend.feed.consuming-atom-single-entry.example.atom">
     <example id="zend.feed.consuming-atom-single-entry.example.atom">
         <title>Reading a Single-Entry Atom Feed</title>
         <title>Reading a Single-Entry Atom Feed</title>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $feed = new Zend_Feed_Atom('http://atom.example.com/feed/1');
 $feed = new Zend_Feed_Atom('http://atom.example.com/feed/1');
 echo 'The feed has: ' . $feed->count() . ' entry.';
 echo 'The feed has: ' . $feed->count() . ' entry.';
 
 
@@ -31,7 +31,7 @@ $entry = $feed->current();
 
 
     <example id="zend.feed.consuming-atom-single-entry.example.entryatom">
     <example id="zend.feed.consuming-atom-single-entry.example.entryatom">
         <title>Using the Entry Object Directly for a Single-Entry Atom Feed</title>
         <title>Using the Entry Object Directly for a Single-Entry Atom Feed</title>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $entry = new Zend_Feed_Entry_Atom('http://atom.example.com/feed/1');
 $entry = new Zend_Feed_Entry_Atom('http://atom.example.com/feed/1');
 echo $entry->title();
 echo $entry->title();
 ]]></programlisting>
 ]]></programlisting>

+ 5 - 5
documentation/manual/en/module_specs/Zend_Feed-ConsumingRss.xml

@@ -6,7 +6,7 @@
         Reading an RSS feed is as simple as instantiating a <classname>Zend_Feed_Rss</classname> object with the URL
         Reading an RSS feed is as simple as instantiating a <classname>Zend_Feed_Rss</classname> object with the URL
         of the feed:
         of the feed:
     </para>
     </para>
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $channel = new Zend_Feed_Rss('http://rss.example.com/channelName');
 $channel = new Zend_Feed_Rss('http://rss.example.com/channelName');
 ]]></programlisting>
 ]]></programlisting>
     <para>
     <para>
@@ -17,7 +17,7 @@ $channel = new Zend_Feed_Rss('http://rss.example.com/channelName');
         Once you have a feed object, you can access any of the standard RSS "channel" properties directly
         Once you have a feed object, you can access any of the standard RSS "channel" properties directly
         on the object:
         on the object:
     </para>
     </para>
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 echo $channel->title();
 echo $channel->title();
 ]]></programlisting>
 ]]></programlisting>
     <para>
     <para>
@@ -30,7 +30,7 @@ echo $channel->title();
     <para>
     <para>
         If channel properties have attributes, they are accessible using PHP's array syntax:
         If channel properties have attributes, they are accessible using PHP's array syntax:
     </para>
     </para>
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 echo $channel->category['domain'];
 echo $channel->category['domain'];
 ]]></programlisting>
 ]]></programlisting>
     <para>
     <para>
@@ -43,7 +43,7 @@ echo $channel->category['domain'];
         <classname>Zend_Feed_Abstract</classname> implements PHP's <code>Iterator</code> interface, so printing all
         <classname>Zend_Feed_Abstract</classname> implements PHP's <code>Iterator</code> interface, so printing all
         titles of articles in a channel is just a matter of:
         titles of articles in a channel is just a matter of:
     </para>
     </para>
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 foreach ($channel as $item) {
 foreach ($channel as $item) {
     echo $item->title() . "\n";
     echo $item->title() . "\n";
 }
 }
@@ -129,7 +129,7 @@ foreach ($channel as $item) {
     <para>
     <para>
         In your code you can always test to see if an element is non-empty with:
         In your code you can always test to see if an element is non-empty with:
     </para>
     </para>
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 if ($item->propname()) {
 if ($item->propname()) {
     // ... proceed.
     // ... proceed.
 }
 }

+ 2 - 2
documentation/manual/en/module_specs/Zend_Feed-CustomFeed.xml

@@ -16,7 +16,7 @@
 
 
     <example id="zend.feed.custom-feed.example.extending">
     <example id="zend.feed.custom-feed.example.extending">
         <title>Extending the Atom Entry Class with Custom Namespaces</title>
         <title>Extending the Atom Entry Class with Custom Namespaces</title>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 /**
 /**
  * The custom entry class automatically knows the feed URI (optional) and
  * The custom entry class automatically knows the feed URI (optional) and
  * can automatically add extra namespaces.
  * can automatically add extra namespaces.
@@ -75,7 +75,7 @@ class MyEntry extends Zend_Feed_Entry_Atom
             Then to use this class, you'd just instantiate it directly and set the <code>myUpdated</code>
             Then to use this class, you'd just instantiate it directly and set the <code>myUpdated</code>
             property:
             property:
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $entry = new MyEntry();
 $entry = new MyEntry();
 $entry->myUpdated = '2005-04-19T15:30';
 $entry->myUpdated = '2005-04-19T15:30';
 
 

+ 1 - 1
documentation/manual/en/module_specs/Zend_Feed-FindFeeds.xml

@@ -7,7 +7,7 @@
         the particular page. <classname>Zend_Feed</classname> enables you to retrieve all feeds referenced by a web
         the particular page. <classname>Zend_Feed</classname> enables you to retrieve all feeds referenced by a web
         page with one simple method call:
         page with one simple method call:
     </para>
     </para>
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $feedArray = Zend_Feed::findFeeds('http://www.example.com/news.html');
 $feedArray = Zend_Feed::findFeeds('http://www.example.com/news.html');
 ]]></programlisting>
 ]]></programlisting>
     <para>
     <para>

+ 6 - 6
documentation/manual/en/module_specs/Zend_Feed-Importing.xml

@@ -9,7 +9,7 @@
         use the <classname>Zend_Feed::import()</classname> method:
         use the <classname>Zend_Feed::import()</classname> method:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $feed = Zend_Feed::import('http://feeds.example.com/feedName');
 $feed = Zend_Feed::import('http://feeds.example.com/feedName');
 ]]></programlisting>
 ]]></programlisting>
 
 
@@ -18,7 +18,7 @@ $feed = Zend_Feed::import('http://feeds.example.com/feedName');
         string variable:
         string variable:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 // importing a feed from a text file
 // importing a feed from a text file
 $feedFromFile = Zend_Feed::importFile('feed.xml');
 $feedFromFile = Zend_Feed::importFile('feed.xml');
 
 
@@ -49,7 +49,7 @@ $feedFromPHP = Zend_Feed::importString($feedString);
 
 
             <title>Importing a custom array</title>
             <title>Importing a custom array</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // importing a feed from an array
 // importing a feed from an array
 $atomFeedFromArray = Zend_Feed::importArray($array);
 $atomFeedFromArray = Zend_Feed::importArray($array);
 
 
@@ -65,7 +65,7 @@ $rssFeedFromArray = Zend_Feed::importArray($array, 'rss');
                 The format of the array must conform to this structure:
                 The format of the array must conform to this structure:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 array(
 array(
     //required
     //required
     'title' => 'title of the feed',
     'title' => 'title of the feed',
@@ -305,7 +305,7 @@ array(
                 Here is an example of <classname>Zend_Feed::importBuilder()</classname> usage:
                 Here is an example of <classname>Zend_Feed::importBuilder()</classname> usage:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 // importing a feed from a custom builder source
 // importing a feed from a custom builder source
 $atomFeedFromArray =
 $atomFeedFromArray =
     Zend_Feed::importBuilder(new Zend_Feed_Builder($array));
     Zend_Feed::importBuilder(new Zend_Feed_Builder($array));
@@ -331,7 +331,7 @@ $rssFeedFromArray =
                 <code>saveXml()</code> methods.
                 <code>saveXml()</code> methods.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 assert($feed instanceof Zend_Feed_Abstract);
 assert($feed instanceof Zend_Feed_Abstract);
 
 
 // dump the feed to standard output
 // dump the feed to standard output

+ 1 - 1
documentation/manual/en/module_specs/Zend_Feed-Introduction.xml

@@ -33,7 +33,7 @@
 
 
     <example id="zend.feed.introduction.example.rss">
     <example id="zend.feed.introduction.example.rss">
         <title>Putting Zend_Feed to Work on RSS Feed Data</title>
         <title>Putting Zend_Feed to Work on RSS Feed Data</title>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 // Fetch the latest Slashdot headlines
 // Fetch the latest Slashdot headlines
 try {
 try {
     $slashdotRss =
     $slashdotRss =

+ 2 - 2
documentation/manual/en/module_specs/Zend_Feed-ModifyingFeed.xml

@@ -11,7 +11,7 @@
 
 
     <example id="zend.feed.modifying-feed.example.modifying">
     <example id="zend.feed.modifying-feed.example.modifying">
         <title>Modifying an Existing Feed Entry</title>
         <title>Modifying an Existing Feed Entry</title>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $feed = new Zend_Feed_Atom('http://atom.example.com/feed/1');
 $feed = new Zend_Feed_Atom('http://atom.example.com/feed/1');
 $entry = $feed->current();
 $entry = $feed->current();
 
 
@@ -41,7 +41,7 @@ echo $entry->saveXML();
 
 
     <example id="zend.feed.modifying-feed.example.creating">
     <example id="zend.feed.modifying-feed.example.creating">
         <title>Creating an Atom Entry with Elements of Custom Namespaces</title>
         <title>Creating an Atom Entry with Elements of Custom Namespaces</title>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $entry = new Zend_Feed_Entry_Atom();
 $entry = new Zend_Feed_Entry_Atom();
 // id is always assigned by the server in Atom
 // id is always assigned by the server in Atom
 $entry->title = 'my custom entry';
 $entry->title = 'my custom entry';

+ 10 - 10
documentation/manual/en/module_specs/Zend_File_Transfer-Filters.xml

@@ -123,7 +123,7 @@
         <example id="zend.file.transfer.filters.usage.example">
         <example id="zend.file.transfer.filters.usage.example">
             <title>Add filters to a file transfer</title>
             <title>Add filters to a file transfer</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Set a new destination path
 // Set a new destination path
@@ -147,7 +147,7 @@ $upload->addFilter('Rename',
                 given filter.
                 given filter.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Set a new destination path and limits it only to 'file2'
 // Set a new destination path and limits it only to 'file2'
@@ -169,7 +169,7 @@ $upload->addFilter('Rename', 'C:\picture\uploads', 'file2');
                 methods provide a fluent interface you can couple the calls as shown below:
                 methods provide a fluent interface you can couple the calls as shown below:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Set a filesize with 20000 bytes
 // Set a filesize with 20000 bytes
@@ -211,7 +211,7 @@ $upload->addFilter('Rename', 'C:\picture\newjpg', 'file1')
         <example id="zend.file.transfer.filters.decrypt.example1">
         <example id="zend.file.transfer.filters.decrypt.example1">
             <title>Using the Decrypt filter with Mcrypt</title>
             <title>Using the Decrypt filter with Mcrypt</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 
 
 // Adds a filter to decrypt the uploaded encrypted file
 // Adds a filter to decrypt the uploaded encrypted file
@@ -225,7 +225,7 @@ $upload->addFilter('Decrypt',
         <example id="zend.file.transfer.filters.decrypt.example2">
         <example id="zend.file.transfer.filters.decrypt.example2">
             <title>Using the Decrypt filter with OpenSSL</title>
             <title>Using the Decrypt filter with OpenSSL</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 
 
 // Adds a filter to decrypt the uploaded encrypted file
 // Adds a filter to decrypt the uploaded encrypted file
@@ -261,7 +261,7 @@ $upload->addFilter('Decrypt',
         <example id="zend.file.transfer.filters.encrypt.example1">
         <example id="zend.file.transfer.filters.encrypt.example1">
             <title>Using the Encrypt filter with Mcrypt</title>
             <title>Using the Encrypt filter with Mcrypt</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 
 
 // Adds a filter to encrypt the uploaded file
 // Adds a filter to encrypt the uploaded file
@@ -275,7 +275,7 @@ $upload->addFilter('Encrypt',
         <example id="zend.file.transfer.filters.encrypt.example2">
         <example id="zend.file.transfer.filters.encrypt.example2">
             <title>Using the Encrypt filter with OpenSSL</title>
             <title>Using the Encrypt filter with OpenSSL</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 
 
 // Adds a filter to encrypt the uploaded file
 // Adds a filter to encrypt the uploaded file
@@ -304,7 +304,7 @@ $upload->addFilter('Encrypt',
         <example id="zend.file.transfer.filters.lowercase.example">
         <example id="zend.file.transfer.filters.lowercase.example">
             <title>Using the LowerCase filter</title>
             <title>Using the LowerCase filter</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload->addValidator('MimeType', 'text');
 $upload->addValidator('MimeType', 'text');
 
 
@@ -368,7 +368,7 @@ $upload->addFilter('LowerCase', 'ISO-8859-1');
         <example id="zend.file.transfer.filters.rename.example">
         <example id="zend.file.transfer.filters.rename.example">
             <title>Using the Rename filter</title>
             <title>Using the Rename filter</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 
 
 // Set a new destination path for all files
 // Set a new destination path for all files
@@ -475,7 +475,7 @@ $upload->addFilter('Rename', 'C:\mypics\newgifs', 'uploadfile1');
         <example id="zend.file.transfer.filters.uppercase.example">
         <example id="zend.file.transfer.filters.uppercase.example">
             <title>Using the UpperCase filter</title>
             <title>Using the UpperCase filter</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload->addValidator('MimeType', 'text');
 $upload->addValidator('MimeType', 'text');
 
 

+ 8 - 8
documentation/manual/en/module_specs/Zend_File_Transfer-Introduction.xml

@@ -60,7 +60,7 @@
             <code>/file/upload</code>. So next we will create the <code>file</code> controller
             <code>/file/upload</code>. So next we will create the <code>file</code> controller
             and the <code>upload</code> action.
             and the <code>upload</code> action.
         </para>
         </para>
-        <programlisting role="php"><![CDATA[
+        <programlisting language="php"><![CDATA[
 $adapter = new Zend_File_Transfer_Adapter_Http();
 $adapter = new Zend_File_Transfer_Adapter_Http();
 
 
 $adapter->setDestination('C:\temp');
 $adapter->setDestination('C:\temp');
@@ -157,7 +157,7 @@ if (!$adapter->receive()) {
         <example id="zend.file.transfer.introduction.checking.example">
         <example id="zend.file.transfer.introduction.checking.example">
             <title>Checking Files</title>
             <title>Checking Files</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Returns all known internal file information
 // Returns all known internal file information
@@ -244,7 +244,7 @@ $upload->receive();
         <example id="zend.file.transfer.introduction.informations.example1">
         <example id="zend.file.transfer.introduction.informations.example1">
             <title>Getting the Filename</title>
             <title>Getting the Filename</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 $upload->receive();
 $upload->receive();
 
 
@@ -274,7 +274,7 @@ $names = $upload->getFileName('foo');
         <example id="zend.file.transfer.introduction.informations.example.getfilesize">
         <example id="zend.file.transfer.introduction.informations.example.getfilesize">
             <title>Getting the size of a file</title>
             <title>Getting the size of a file</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 $upload->receive();
 $upload->receive();
 
 
@@ -298,7 +298,7 @@ $size = $upload->getFileSize();
         <example id="zend.file.transfer.introduction.informations.example2">
         <example id="zend.file.transfer.introduction.informations.example2">
             <title>Getting the hash of a file</title>
             <title>Getting the hash of a file</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 $upload->receive();
 $upload->receive();
 
 
@@ -326,7 +326,7 @@ $names = $upload->getHash('crc32', 'foo');
         <example id="zend.file.transfer.introduction.informations.getmimetype">
         <example id="zend.file.transfer.introduction.informations.getmimetype">
             <title>Getting the mimetype of a file</title>
             <title>Getting the mimetype of a file</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 $upload->receive();
 $upload->receive();
 
 
@@ -395,7 +395,7 @@ $names = $upload->getMimeType('foo');
 
 
                 <title>Using the progressbar adapter to retrieve the actual state</title>
                 <title>Using the progressbar adapter to retrieve the actual state</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $adapter = new Zend_ProgressBar_Adapter_Console();
 $adapter = new Zend_ProgressBar_Adapter_Console();
 $upload  = Zend_File_Transfer_Adapter_Http::getProgress($adapter);
 $upload  = Zend_File_Transfer_Adapter_Http::getProgress($adapter);
 
 
@@ -504,7 +504,7 @@ while (!$upload['done']) {
 
 
                 <title>Manual usage of the file progress</title>
                 <title>Manual usage of the file progress</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 $upload  = Zend_File_Transfer_Adapter_Http::getProgress();
 $upload  = Zend_File_Transfer_Adapter_Http::getProgress();
 
 
 while (!$upload['done']) {
 while (!$upload['done']) {

+ 8 - 8
documentation/manual/en/module_specs/Zend_File_Transfer-Migration.xml

@@ -54,7 +54,7 @@
                 <example id="zend.file.transfer.migration.fromonesixonetooneseven.validators.rename.example">
                 <example id="zend.file.transfer.migration.fromonesixonetooneseven.validators.rename.example">
                     <title>Changes for the rename filter from 1.6 to 1.7</title>
                     <title>Changes for the rename filter from 1.6 to 1.7</title>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 // Example for 1.6
 // Example for 1.6
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload->addFilter('Rename',
 $upload->addFilter('Rename',
@@ -89,7 +89,7 @@ $upload->addFilter('Rename',
                 <example id="zend.file.transfer.migration.fromonesixonetooneseven.validators.count.example">
                 <example id="zend.file.transfer.migration.fromonesixonetooneseven.validators.count.example">
                     <title>Changes for the count validator from 1.6 to 1.7</title>
                     <title>Changes for the count validator from 1.6 to 1.7</title>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 // Example for 1.6
 // Example for 1.6
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload->addValidator('Count',
 $upload->addValidator('Count',
@@ -124,7 +124,7 @@ $upload->addValidator('Count',
                 <example id="zend.file.transfer.migration.fromonesixonetooneseven.validators.extension.example">
                 <example id="zend.file.transfer.migration.fromonesixonetooneseven.validators.extension.example">
                     <title>Changes for the extension validator from 1.6 to 1.7</title>
                     <title>Changes for the extension validator from 1.6 to 1.7</title>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 // Example for 1.6
 // Example for 1.6
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload->addValidator('Extension',
 $upload->addValidator('Extension',
@@ -168,7 +168,7 @@ $upload->addValidator('Extension',
                 <example id="zend.file.transfer.migration.fromonesixonetooneseven.validators.filessize.example">
                 <example id="zend.file.transfer.migration.fromonesixonetooneseven.validators.filessize.example">
                     <title>Changes for the filessize validator from 1.6 to 1.7</title>
                     <title>Changes for the filessize validator from 1.6 to 1.7</title>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 // Example for 1.6
 // Example for 1.6
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload->addValidator('FilesSize',
 $upload->addValidator('FilesSize',
@@ -210,7 +210,7 @@ $upload->setUseByteSting(true); // set flag
                 <example id="zend.file.transfer.migration.fromonesixonetooneseven.validators.hash.example">
                 <example id="zend.file.transfer.migration.fromonesixonetooneseven.validators.hash.example">
                     <title>Changes for the hash validator from 1.6 to 1.7</title>
                     <title>Changes for the hash validator from 1.6 to 1.7</title>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 // Example for 1.6
 // Example for 1.6
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload->addValidator('Hash',
 $upload->addValidator('Hash',
@@ -247,7 +247,7 @@ $upload->addValidator('Hash',
                 <example id="zend.file.transfer.migration.fromonesixonetooneseven.validators.imagesize.example">
                 <example id="zend.file.transfer.migration.fromonesixonetooneseven.validators.imagesize.example">
                     <title>Changes for the imagesize validator from 1.6 to 1.7</title>
                     <title>Changes for the imagesize validator from 1.6 to 1.7</title>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 // Example for 1.6
 // Example for 1.6
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload->addValidator('ImageSize',
 $upload->addValidator('ImageSize',
@@ -285,7 +285,7 @@ $upload->addValidator('ImageSize',
                 <example id="zend.file.transfer.migration.fromonesixonetooneseven.validators.size.example">
                 <example id="zend.file.transfer.migration.fromonesixonetooneseven.validators.size.example">
                     <title>Changes for the size validator from 1.6 to 1.7</title>
                     <title>Changes for the size validator from 1.6 to 1.7</title>
 
 
-                    <programlisting role="php"><![CDATA[
+                    <programlisting language="php"><![CDATA[
 // Example for 1.6
 // Example for 1.6
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload->addValidator('Size',
 $upload->addValidator('Size',
@@ -340,7 +340,7 @@ $upload->addValidator('Size',
             <example id="zend.file.transfer.migration.fromonesixonetoonesixtwo.example">
             <example id="zend.file.transfer.migration.fromonesixonetoonesixtwo.example">
                 <title>How to change your file validators from 1.6.1 to 1.6.2</title>
                 <title>How to change your file validators from 1.6.1 to 1.6.2</title>
 
 
-                <programlisting role="php"><![CDATA[
+                <programlisting language="php"><![CDATA[
 // Example for 1.6.1
 // Example for 1.6.1
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload = new Zend_File_Transfer_Adapter_Http();
 $upload->addValidator('FilesSize', array('1B', '100kB'));
 $upload->addValidator('FilesSize', array('1B', '100kB'));

+ 21 - 21
documentation/manual/en/module_specs/Zend_File_Transfer-Validators.xml

@@ -236,7 +236,7 @@
         <example id="zend.file.transfer.validators.usage.example">
         <example id="zend.file.transfer.validators.usage.example">
             <title>Add Validators to a File Transfer Object</title>
             <title>Add Validators to a File Transfer Object</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Set a file size with 20000 bytes
 // Set a file size with 20000 bytes
@@ -265,7 +265,7 @@ $upload->setValidators(array(
                 given validator.
                 given validator.
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Set a file size with 20000 bytes and limits it only to 'file2'
 // Set a file size with 20000 bytes and limits it only to 'file2'
@@ -287,7 +287,7 @@ $upload->addValidator('Size', false, 20000, 'file2');
                 methods provide a fluent interface, so you can couple the calls as shown below:
                 methods provide a fluent interface, so you can couple the calls as shown below:
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Set a file size with 20000 bytes
 // Set a file size with 20000 bytes
@@ -319,7 +319,7 @@ $upload->addValidator('Size', false, 20000)
                 will be validated
                 will be validated
             </para>
             </para>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Set a file size with 20000 bytes
 // Set a file size with 20000 bytes
@@ -398,7 +398,7 @@ if ($upload->isValid()) {
         <example id="zend.file.transfer.validators.count.example">
         <example id="zend.file.transfer.validators.count.example">
             <title>Using the Count Validator</title>
             <title>Using the Count Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Limit the amount of files to maximum 2
 // Limit the amount of files to maximum 2
@@ -443,7 +443,7 @@ $upload->addValidator('Count', false, array('min' =>1, 'max' => 5));
         <example id="zend.file.transfer.validators.crc32.example">
         <example id="zend.file.transfer.validators.crc32.example">
             <title>Using the Crc32 Validator</title>
             <title>Using the Crc32 Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Checks whether the content of the uploaded file has the given hash
 // Checks whether the content of the uploaded file has the given hash
@@ -493,7 +493,7 @@ $upload->addValidator('Crc32', false, array('3b3652f', 'e612b69'));
         <example id="zend.file.transfer.validators.excludeextension.example">
         <example id="zend.file.transfer.validators.excludeextension.example">
             <title>Using the ExcludeExtension Validator</title>
             <title>Using the ExcludeExtension Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Do not allow files with extension php or exe
 // Do not allow files with extension php or exe
@@ -549,7 +549,7 @@ $upload->addValidator('ExcludeExtension',
         <example id="zend.file.transfer.validators.excludemimetype.example">
         <example id="zend.file.transfer.validators.excludemimetype.example">
             <title>Using the ExcludeMimeType Validator</title>
             <title>Using the ExcludeMimeType Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Does not allow MIME type of gif images for all files
 // Does not allow MIME type of gif images for all files
@@ -606,7 +606,7 @@ $upload->addValidator('ExcludeMimeType', false, 'image');
         <example id="zend.file.transfer.validators.exists.example">
         <example id="zend.file.transfer.validators.exists.example">
             <title>Using the Exists Validator</title>
             <title>Using the Exists Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Add the temp directory to check for
 // Add the temp directory to check for
@@ -665,7 +665,7 @@ $upload->addValidator('Exists',
         <example id="zend.file.transfer.validators.extension.example">
         <example id="zend.file.transfer.validators.extension.example">
             <title>Using the Extension Validator</title>
             <title>Using the Extension Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Limit the extensions to jpg and png files
 // Limit the extensions to jpg and png files
@@ -746,7 +746,7 @@ if (!$upload->isValid('C:\temp\myfile.MO')) {
         <example id="zend.file.transfer.validators.filessize.example">
         <example id="zend.file.transfer.validators.filessize.example">
             <title>Using the FilesSize Validator</title>
             <title>Using the FilesSize Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Limit the size of all files to be uploaded to 40000 bytes
 // Limit the size of all files to be uploaded to 40000 bytes
@@ -827,7 +827,7 @@ $upload->addValidator('FilesSize',
         <example id="zend.file.transfer.validators.imagesize.example">
         <example id="zend.file.transfer.validators.imagesize.example">
             <title>Using the ImageSize Validator</title>
             <title>Using the ImageSize Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Limit the size of a image to a height of 100-200 and a width of
 // Limit the size of a image to a height of 100-200 and a width of
@@ -858,7 +858,7 @@ $upload->setImageWidth(array('minwidth' => 20, 'maxwidth' => 200));
         <example id="zend.file.transfer.validators.iscompressed.example">
         <example id="zend.file.transfer.validators.iscompressed.example">
             <title>Using the IsCompressed Validator</title>
             <title>Using the IsCompressed Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Checks is the uploaded file is a compressed archive
 // Checks is the uploaded file is a compressed archive
@@ -894,7 +894,7 @@ $upload->addValidator('IsCompressed', false, 'zip');
         <example id="zend.file.transfer.validators.isimage.example">
         <example id="zend.file.transfer.validators.isimage.example">
             <title>Using the IsImage Validator</title>
             <title>Using the IsImage Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Checks whether the uploaded file is a image file
 // Checks whether the uploaded file is a image file
@@ -950,7 +950,7 @@ $upload->addValidator('IsImage', false, 'jpeg');
         <example id="zend.file.transfer.validators.hash.example">
         <example id="zend.file.transfer.validators.hash.example">
             <title>Using the Hash Validator</title>
             <title>Using the Hash Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Checks if the content of the uploaded file contains the given hash
 // Checks if the content of the uploaded file contains the given hash
@@ -1000,7 +1000,7 @@ $upload->addValidator('Hash',
         <example id="zend.file.transfer.validators.md5.example">
         <example id="zend.file.transfer.validators.md5.example">
             <title>Using the Md5 Validator</title>
             <title>Using the Md5 Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Checks if the content of the uploaded file has the given hash
 // Checks if the content of the uploaded file has the given hash
@@ -1062,7 +1062,7 @@ $upload->addValidator('Md5',
         <example id="zend.file.transfer.validators.mimetype.example">
         <example id="zend.file.transfer.validators.mimetype.example">
             <title>Using the MimeType Validator</title>
             <title>Using the MimeType Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Limit the MIME type of all given files to gif images
 // Limit the MIME type of all given files to gif images
@@ -1138,7 +1138,7 @@ $upload->addValidator('MimeType',
         <example id="zend.file.transfer.validators.notexists.example">
         <example id="zend.file.transfer.validators.notexists.example">
             <title>Using the NotExists Validator</title>
             <title>Using the NotExists Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Add the temp directory to check
 // Add the temp directory to check
@@ -1184,7 +1184,7 @@ $upload->addValidator('NotExists', false,
         <example id="zend.file.transfer.validators.sha1.example">
         <example id="zend.file.transfer.validators.sha1.example">
             <title>Using the sha1 Validator</title>
             <title>Using the sha1 Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Checks if the content of the uploaded file has the given hash
 // Checks if the content of the uploaded file has the given hash
@@ -1249,7 +1249,7 @@ $upload->addValidator('Sha1',
         <example id="zend.file.transfer.validators.size.example">
         <example id="zend.file.transfer.validators.size.example">
             <title>Using the Size Validator</title>
             <title>Using the Size Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Limit the size of a file to 40000 bytes
 // Limit the size of a file to 40000 bytes
@@ -1299,7 +1299,7 @@ $upload->addValidator('Size',
         <example id="zend.file.transfer.validators.wordcount.example">
         <example id="zend.file.transfer.validators.wordcount.example">
             <title>Using the WordCount Validator</title>
             <title>Using the WordCount Validator</title>
 
 
-            <programlisting role="php"><![CDATA[
+            <programlisting language="php"><![CDATA[
 $upload = new Zend_File_Transfer();
 $upload = new Zend_File_Transfer();
 
 
 // Limit the amount of words within files to maximum 2000
 // Limit the amount of words within files to maximum 2000

+ 4 - 4
documentation/manual/en/module_specs/Zend_Filter-Callback.xml

@@ -12,7 +12,7 @@
         Let's expect we want to create a filter which reverses a string.
         Let's expect we want to create a filter which reverses a string.
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $filter = new Zend_Filter_Callback('strrev');
 $filter = new Zend_Filter_Callback('strrev');
 
 
 print $filter->filter('Hello!');
 print $filter->filter('Hello!');
@@ -24,7 +24,7 @@ print $filter->filter('Hello!');
         possible to use a method, which is defined within a class, by giving an array as callback.
         possible to use a method, which is defined within a class, by giving an array as callback.
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 // Our classdefinition
 // Our classdefinition
 class MyClass
 class MyClass
 {
 {
@@ -47,7 +47,7 @@ print $filter->filter('Hello!');
         will be filtered.
         will be filtered.
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $filter = new Zend_Filter_Callback(
 $filter = new Zend_Filter_Callback(
     'MyMethod',
     'MyMethod',
     array('key' => 'param1', 'key2' => 'param2')
     array('key' => 'param1', 'key2' => 'param2')
@@ -59,7 +59,7 @@ $filter->filter(array('value' => 'Hello'));
         When you would call the above method definition manually it would look like this:
         When you would call the above method definition manually it would look like this:
     </para>
     </para>
 
 
-    <programlisting role="php"><![CDATA[
+    <programlisting language="php"><![CDATA[
 $value = MyMethod('Hello', 'param1', 'param2');
 $value = MyMethod('Hello', 'param1', 'param2');
 ]]></programlisting>
 ]]></programlisting>
 
 

Some files were not shown because too many files changed in this diff