[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/horde/framework/Horde/Imap/Client/Cache/Backend/ -> Null.php (source)

   1  <?php
   2  /**
   3   * Copyright 2013-2014 Horde LLC (http://www.horde.org/)
   4   *
   5   * See the enclosed file COPYING for license information (LGPL). If you
   6   * did not receive this file, see http://www.horde.org/licenses/lgpl21.
   7   *
   8   * @category  Horde
   9   * @copyright 2013-2014 Horde LLC
  10   * @license   http://www.horde.org/licenses/lgpl21 LGPL 2.1
  11   * @package   Imap_Client
  12   */
  13  
  14  /**
  15   * A null backend class for storing cached IMAP/POP data.
  16   *
  17   * @author    Michael Slusarz <slusarz@horde.org>
  18   * @category  Horde
  19   * @copyright 2013-2014 Horde LLC
  20   * @license   http://www.horde.org/licenses/lgpl21 LGPL 2.1
  21   * @package   Imap_Client
  22   */
  23  class Horde_Imap_Client_Cache_Backend_Null extends Horde_Imap_Client_Cache_Backend
  24  {
  25      /**
  26       */
  27      public function get($mailbox, $uids, $fields, $uidvalid)
  28      {
  29          return array();
  30      }
  31  
  32      /**
  33       */
  34      public function getCachedUids($mailbox, $uidvalid)
  35      {
  36          return array();
  37      }
  38  
  39      /**
  40       */
  41      public function set($mailbox, $data, $uidvalid)
  42      {
  43      }
  44  
  45      /**
  46       */
  47      public function getMetaData($mailbox, $uidvalid, $entries)
  48      {
  49          return array(
  50              'uidvalid' => 0
  51          );
  52      }
  53  
  54      /**
  55       */
  56      public function setMetaData($mailbox, $data)
  57      {
  58      }
  59  
  60      /**
  61       */
  62      public function deleteMsgs($mailbox, $uids)
  63      {
  64      }
  65  
  66      /**
  67       */
  68      public function deleteMailbox($mailbox)
  69      {
  70      }
  71  
  72      /**
  73       */
  74      public function clear($lifetime)
  75      {
  76      }
  77  
  78  }


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1