web/lib/Zend/Cache/Frontend/Page.php
changeset 1230 68c69c656a2c
parent 807 877f952ae2bd
equal deleted inserted replaced
1229:5a6b6e770365 1230:68c69c656a2c
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Cache
    16  * @package    Zend_Cache
    17  * @subpackage Zend_Cache_Frontend
    17  * @subpackage Zend_Cache_Frontend
    18  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    20  * @version    $Id: Page.php 24593 2012-01-05 20:35:02Z matthew $
    20  * @version    $Id$
    21  */
    21  */
    22 
    22 
    23 
    23 
    24 /**
    24 /**
    25  * @see Zend_Cache_Core
    25  * @see Zend_Cache_Core
    28 
    28 
    29 
    29 
    30 /**
    30 /**
    31  * @package    Zend_Cache
    31  * @package    Zend_Cache
    32  * @subpackage Zend_Cache_Frontend
    32  * @subpackage Zend_Cache_Frontend
    33  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    33  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    34  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    34  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    35  */
    35  */
    36 class Zend_Cache_Frontend_Page extends Zend_Cache_Core
    36 class Zend_Cache_Frontend_Page extends Zend_Cache_Core
    37 {
    37 {
    38     /**
    38     /**
   127      * @throws Zend_Cache_Exception
   127      * @throws Zend_Cache_Exception
   128      * @return void
   128      * @return void
   129      */
   129      */
   130     public function __construct(array $options = array())
   130     public function __construct(array $options = array())
   131     {
   131     {
   132         while (list($name, $value) = each($options)) {
   132         foreach ($options as $name => $value) {
   133             $name = strtolower($name);
   133             $name = strtolower($name);
   134             switch ($name) {
   134             switch ($name) {
   135                 case 'regexps':
   135                 case 'regexps':
   136                     $this->_setRegexps($value);
   136                     $this->_setRegexps($value);
   137                     break;
   137                     break;