Przeglądaj źródła

[ZF-9114]Error in code example

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20976 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 16 lat temu
rodzic
commit
7e984a9705

+ 3 - 3
documentation/manual/en/tutorials/multiuser-sessions.xml

@@ -83,7 +83,7 @@ resources.session.remember_me_seconds = 864000
         </para>
         </para>
 
 
         <programlisting language="php"><![CDATA[
         <programlisting language="php"><![CDATA[
-$mysession = Zend_Session_Namespace('mysession');
+$mysession = new Zend_Session_Namespace('mysession');
 
 
 if (!isset($mysession->counter)) {
 if (!isset($mysession->counter)) {
     $mysession->counter = 1000;
     $mysession->counter = 1000;
@@ -98,7 +98,7 @@ if ($mysession->counter > 1999) {
 
 
         <para>
         <para>
             As you can see above, the session namespace object uses the magic __get, __set,
             As you can see above, the session namespace object uses the magic __get, __set,
-            __isset, and __unset to allow you to seemlessly and fluently interact with the session.
+            __isset, and __unset to allow you to seamlessly and fluently interact with the session.
             The information stored in the above example is stored at
             The information stored in the above example is stored at
             $_SESSION['mysession']['counter'].
             $_SESSION['mysession']['counter'].
         </para>
         </para>
@@ -108,7 +108,7 @@ if ($mysession->counter > 1999) {
         <title>Advanced Usage of Zend_Session</title>
         <title>Advanced Usage of Zend_Session</title>
 
 
         <para>
         <para>
-            Addionally, if you wanted to use the DbTable
+            Additionally, if you wanted to use the DbTable
             save handler for Zend_Session, you'd add the following code to your application.ini:
             save handler for Zend_Session, you'd add the following code to your application.ini:
         </para>
         </para>