Add header phpdoc stuff; explicitly declare funcs public.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 31 Dec 2008 18:00:19 +0000 (11:00 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 31 Dec 2008 18:00:19 +0000 (11:00 -0700)
framework/Imap_Client/lib/Horde/Imap/Client/Base.php
framework/Imap_Client/lib/Horde/Imap/Client/Cache.php
framework/Imap_Client/lib/Horde/Imap/Client/Cclient.php
framework/Imap_Client/lib/Horde/Imap/Client/Exception.php
framework/Imap_Client/lib/Horde/Imap/Client/Search/Query.php
framework/Imap_Client/lib/Horde/Imap/Client/Socket.php
framework/Imap_Client/lib/Horde/Imap/Client/Thread.php

index 6f578f5..07b7a05 100644 (file)
@@ -123,7 +123,7 @@ abstract class Horde_Imap_Client_Base extends Horde_Imap_Client
     /**
      * Destructor.
      */
-    function __destruct()
+    public function __destruct()
     {
         $this->_closeDebug();
     }
@@ -131,7 +131,7 @@ abstract class Horde_Imap_Client_Base extends Horde_Imap_Client
     /**
      * Do cleanup prior to serialization.
      */
-    function __sleep()
+    public function __sleep()
     {
         $this->_closeDebug();
 
@@ -151,7 +151,7 @@ abstract class Horde_Imap_Client_Base extends Horde_Imap_Client
     /**
      * Do re-initialization on unserialize().
      */
-    function __wakeup()
+    public function __wakeup()
     {
         if (isset($this->_params['_passencrypt']) &&
             !is_null(Horde_Imap_Client::$encryptKey)) {
index 281e0c8..f25d3bd 100644 (file)
@@ -104,7 +104,7 @@ class Horde_Imap_Client_Cache
      *
      * @param array $params  The configuration parameters.
      */
-    function __construct($params = array())
+    public function __construct($params = array())
     {
         if (empty($params['driver']) ||
             empty($params['driver_params']) ||
@@ -153,7 +153,7 @@ class Horde_Imap_Client_Cache
     /**
      * Saves items to the cache at shutdown.
      */
-    function __destruct()
+    public function __destruct()
     {
         $compress = $this->_params['compress'];
         $lifetime = $this->_params['lifetime'];
index 26bae5f..84ae2e2 100644 (file)
@@ -115,7 +115,7 @@ class Horde_Imap_Client_Cclient extends Horde_Imap_Client_Base
      * Do cleanup prior to serialization and provide a list of variables
      * to serialize.
      */
-    function __sleep()
+    public function __sleep()
     {
         $this->logout();
         parent::__sleep();
index 4d6b3cb..fbea4b8 100644 (file)
@@ -64,7 +64,7 @@ class Horde_Imap_Client_Exception extends Exception
     /**
      * Constructor.
      */
-    function __construct($message = null, $code = 0)
+    public function __construct($message = null, $code = 0)
     {
         parent::__construct($message, $code);
 
index 5490976..d62893f 100644 (file)
@@ -4,6 +4,15 @@
  * class allows translation between abstracted search criteria and a
  * generated IMAP search criteria string suitable for sending to a remote
  * IMAP server.
+ *
+ * Copyright 2008 The Horde Project (http://www.horde.org/)
+ *
+ * See the enclosed file COPYING for license information (GPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
+ *
+ * @author   Michael Slusarz <slusarz@horde.org>
+ * @category Horde
+ * @package  Horde_Imap_Client
  */
 class Horde_Imap_Client_Search_Query
 {
index e4bc3e3..8658e4e 100644 (file)
@@ -103,7 +103,7 @@ class Horde_Imap_Client_Socket extends Horde_Imap_Client_Base
      * Do cleanup prior to serialization and provide a list of variables
      * to serialize.
      */
-    function __sleep()
+    public function __sleep()
     {
         $this->logout();
         $this->_temp = array();
index f73acce..2071934 100644 (file)
@@ -2,6 +2,15 @@
 /**
  * A class allowing easy access to threaded sort results from
  * Horde_Imap_Client::thread().
+ *
+ * Copyright 2008 The Horde Project (http://www.horde.org/)
+ *
+ * See the enclosed file COPYING for license information (GPL). If you
+ * did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
+ *
+ * @author   Michael Slusarz <slusarz@horde.org>
+ * @category Horde
+ * @package  Horde_Imap_Client
  */
 class Horde_Imap_Client_Thread
 {
@@ -26,7 +35,7 @@ class Horde_Imap_Client_Thread
      *                      Horde_Imap_Client_Base::_thread().
      * @param string $type  Either 'uid' or 'sequence'.
      */
-    function __construct($data, $type)
+    public function __construct($data, $type)
     {
         $this->_thread = $data;
         $this->_type = $type;