浏览代码

ZF-7417: language consistency surrounding resource plugins verbiage

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17734 44c647ce-9c0f-0410-b52a-842ac1e357ba
matthew 16 年之前
父节点
当前提交
1d711dcc23

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

@@ -148,8 +148,8 @@ class My_Bootstrap_Resource_View
 
     <para>
         To tell the bootstrap to use this, you would need to provide either the
-        class name of the resource, or a combination of a plugin loader prefix
-        path and the short name of the resource (e.g, "view"):
+        class name of the resource plugin, or a combination of a plugin loader prefix
+        path and the short name of the resource plugin (e.g, "view"):
     </para>
 
     <programlisting language="php"><![CDATA[
@@ -174,7 +174,7 @@ $application = new Zend_Application(
 ]]></programlisting>
 
     <para>
-        Resources can call on other resources and initializers by accessing the
+        Resource plugins can call on other resources and initializers by accessing the
         parent bootstrap:
     </para>
 

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

@@ -540,7 +540,7 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
         </para>
 
         <para>
-            Resources need only implement
+            Resource plugins need only implement
             <classname>Zend_Application_Resource_Resource</classname>, or, more simply
             still, extend
             <classname>Zend_Application_Resource_ResourceAbstract</classname>. The basic
@@ -562,7 +562,7 @@ interface Zend_Application_Resource_Resource
 ]]></programlisting>
 
         <para>
-            The interface defines simply that a resource should accept options
+            The interface defines simply that a resource plugin should accept options
             to the constructor, have mechanisms for setting and retrieving
             options, have mechanisms for setting and retrieving the bootstrap
             object, and an initialization method.
@@ -572,7 +572,7 @@ interface Zend_Application_Resource_Resource
             As an example, let's assume you have a common view intialization you
             use in your applications. You have a common doctype, <acronym>CSS</acronym> and
             JavaScript, and you want to be able to pass in a base document title
-            via configuration. Such a resource might look like this:
+            via configuration. Such a resource plugin might look like this:
         </para>
 
         <programlisting language="php"><![CDATA[