当前位置: 首页>>代码示例>>PHP>>正文


PHP Zend_Filter_Compress_CompressAbstract类代码示例

本文整理汇总了PHP中Zend_Filter_Compress_CompressAbstract的典型用法代码示例。如果您正苦于以下问题:PHP Zend_Filter_Compress_CompressAbstract类的具体用法?PHP Zend_Filter_Compress_CompressAbstract怎么用?PHP Zend_Filter_Compress_CompressAbstract使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了Zend_Filter_Compress_CompressAbstract类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 /**
  * Class constructor
  *
  * @param array|Zend_Config|null $options (Optional) Options to set
  */
 public function __construct($options = null)
 {
     if (!extension_loaded('zlib')) {
         throw new Zend_Filter_Exception('This filter needs the zlib extension');
     }
     parent::__construct($options);
 }
开发者ID:trigoesrodrigo,项目名称:icingaweb2,代码行数:12,代码来源:Gz.php

示例2: __construct

 /**
  * Class constructor
  *
  * @param string|array $options (Optional) Options to set
  */
 public function __construct($options = null)
 {
     if (!extension_loaded('zip')) {
         //require_once 'Zend/Filter/Exception.php';
         throw new Zend_Filter_Exception('This filter needs the zip extension');
     }
     parent::__construct($options);
 }
开发者ID:tenstone,项目名称:wecenter,代码行数:13,代码来源:Zip.php

示例3: __construct

 /**
  * Class constructor
  *
  * @param array $options (Optional) Options to set
  */
 public function __construct($options = null)
 {
     if (!extension_loaded('rar')) {
         require_once PHP_LIBRARY_PATH . 'Zend/Filter/Exception.php';
         throw new Zend_Filter_Exception('This filter needs the rar extension');
     }
     parent::__construct($options);
 }
开发者ID:netixx,项目名称:Stock,代码行数:13,代码来源:Rar.php

示例4: __construct

 /**
  * Class constructor
  *
  * @param array|Zend_Config $options (Optional) Options to set
  */
 public function __construct($options = null)
 {
     if (!extension_loaded('bz2')) {
         //$1 'Zend/Filter/Exception.php';
         throw new Zend_Filter_Exception('This filter needs the bz2 extension');
     }
     parent::__construct($options);
 }
开发者ID:netconstructor,项目名称:Centurion,代码行数:13,代码来源:Bz2.php

示例5: __construct

 /**
  * Class constructor
  *
  * @param array|Zend_Config|null $options (Optional) Options to set
  */
 public function __construct($options = null)
 {
     if (!extension_loaded('zlib')) {
         require_once LIB_DIR . '/Zend/Filter/Exception.php';
         throw new Zend_Filter_Exception('This filter needs the zlib extension');
     }
     parent::__construct($options);
 }
开发者ID:Kliwer,项目名称:lms,代码行数:13,代码来源:Gz.php

示例6: __construct

 /**
  * Class constructor
  *
  * @param array $options (Optional) Options to set
  */
 public function __construct($options = null)
 {
     if (!class_exists('Archive_Tar')) {
         try {
             Zend_Loader::loadClass('Archive_Tar');
         } catch (Zend_Exception $e) {
             throw new Zend_Filter_Exception('This filter needs PEARs Archive_Tar', 0, $e);
         }
     }
     parent::__construct($options);
 }
开发者ID:kobmaki,项目名称:icingaweb2,代码行数:16,代码来源:Tar.php

示例7: __construct

 /**
  * Class constructor
  *
  * @param array $options (Optional) Options to set
  */
 public function __construct($options = null)
 {
     if (!class_exists('Archive_Tar')) {
         require_once LIB_DIR . '/Zend/Loader.php';
         try {
             Zend_Loader::loadClass('Archive_Tar');
         } catch (Zend_Exception $e) {
             require_once LIB_DIR . '/Zend/Filter/Exception.php';
             throw new Zend_Filter_Exception('This filter needs PEARs Archive_Tar', 0, $e);
         }
     }
     parent::__construct($options);
 }
开发者ID:Kliwer,项目名称:lms,代码行数:18,代码来源:Tar.php


注:本文中的Zend_Filter_Compress_CompressAbstract类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。