File indexing completed on 2025-01-19 05:21:21
0001 <?php 0002 /** 0003 * Zend Framework 0004 * 0005 * LICENSE 0006 * 0007 * This source file is subject to the new BSD license that is bundled 0008 * with this package in the file LICENSE.txt. 0009 * It is also available through the world-wide-web at this URL: 0010 * http://framework.zend.com/license/new-bsd 0011 * If you did not receive a copy of the license and are unable to 0012 * obtain it through the world-wide-web, please send an email 0013 * to license@zend.com so we can send you a copy immediately. 0014 * 0015 * @category Zend 0016 * @package Zend_Pdf 0017 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0018 * @license http://framework.zend.com/license/new-bsd New BSD License 0019 * @version $Id$ 0020 */ 0021 0022 /** 0023 * PDF stream filter 0024 * 0025 * @package Zend_Pdf 0026 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0027 * @license http://framework.zend.com/license/new-bsd New BSD License 0028 */ 0029 interface Zend_Pdf_Filter_Interface 0030 { 0031 /** 0032 * Encode data 0033 * 0034 * @param string $data 0035 * @param array $params 0036 * @return string 0037 * @throws Zend_Pdf_Exception 0038 */ 0039 public static function encode($data, $params = null); 0040 0041 /** 0042 * Decode data 0043 * 0044 * @param string $data 0045 * @param array $params 0046 * @return string 0047 * @throws Zend_Pdf_Exception 0048 */ 0049 public static function decode($data, $params = null); 0050 }