[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/horde/framework/Horde/Imap/Client/Exception/ -> NoSupportPop3.php (source)

   1  <?php
   2  /**
   3   * Copyright 2012-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 2012-2014 Horde LLC
  10   * @license   http://www.horde.org/licenses/lgpl21 LGPL 2.1
  11   * @package   Imap_Client
  12   */
  13  
  14  /**
  15   * Exception thrown for non-supported IMAP features on POP3 servers.
  16   *
  17   * @author    Michael Slusarz <slusarz@horde.org>
  18   * @category  Horde
  19   * @copyright 2012-2014 Horde LLC
  20   * @license   http://www.horde.org/licenses/lgpl21 LGPL 2.1
  21   * @package   Imap_Client
  22   */
  23  class Horde_Imap_Client_Exception_NoSupportPop3
  24  extends Horde_Imap_Client_Exception
  25  {
  26      /**
  27       * Constructor.
  28       *
  29       * @param string $feature  The feature not supported in POP3.
  30       */
  31      public function __construct($feature)
  32      {
  33          parent::__construct(
  34              sprintf(Horde_Imap_Client_Translation::r("%s not supported on POP3 servers."), $feature),
  35              self::NOT_SUPPORTED
  36          );
  37      }
  38  
  39  }


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