PageRenderTime 22ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/framework/vendor/zend/Zend/Pdf/Filter/Interface.php

http://zoop.googlecode.com/
PHP | 50 lines | 6 code | 2 blank | 42 comment | 0 complexity | 13612337c5e1df2fd6ed0fd99cb4f263 MD5 | raw file
 1<?php
 2/**
 3 * Zend Framework
 4 *
 5 * LICENSE
 6 *
 7 * This source file is subject to the new BSD license that is bundled
 8 * with this package in the file LICENSE.txt.
 9 * It is also available through the world-wide-web at this URL:
10 * http://framework.zend.com/license/new-bsd
11 * If you did not receive a copy of the license and are unable to
12 * obtain it through the world-wide-web, please send an email
13 * to license@zend.com so we can send you a copy immediately.
14 *
15 * @category   Zend
16 * @package    Zend_Pdf
17 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $
20 */
21
22/**
23 * PDF stream filter
24 *
25 * @package    Zend_Pdf
26 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
27 * @license    http://framework.zend.com/license/new-bsd     New BSD License
28 */
29interface Zend_Pdf_Filter_Interface
30{
31    /**
32     * Encode data
33     *
34     * @param string $data
35     * @param array $params
36     * @return string
37     * @throws Zend_Pdf_Exception
38     */
39    public static function encode($data, $params = null);
40
41    /**
42     * Decode data
43     *
44     * @param string $data
45     * @param array $params
46     * @return string
47     * @throws Zend_Pdf_Exception
48     */
49    public static function decode($data, $params = null);
50}