Просмотр исходного кода

[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 лет назад
Родитель
Сommit
7e984a9705
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      documentation/manual/en/tutorials/multiuser-sessions.xml

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

@@ -83,7 +83,7 @@ resources.session.remember_me_seconds = 864000
         </para>
 
         <programlisting language="php"><![CDATA[
-$mysession = Zend_Session_Namespace('mysession');
+$mysession = new Zend_Session_Namespace('mysession');
 
 if (!isset($mysession->counter)) {
     $mysession->counter = 1000;
@@ -98,7 +98,7 @@ if ($mysession->counter > 1999) {
 
         <para>
             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
             $_SESSION['mysession']['counter'].
         </para>
@@ -108,7 +108,7 @@ if ($mysession->counter > 1999) {
         <title>Advanced Usage of Zend_Session</title>
 
         <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:
         </para>