API Documentation

Filter/Compress/Bz2.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Filter
version
$Id: Bz2.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Filter_Compress_Bz2

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Filter_Compress_Bz2

Extends from
Zend_Filter_Compress_CompressAbstract
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Filter
Properties
$_options
Methods
__construct
getBlocksize
setBlocksize
getArchive
setArchive
compress
decompress
toString

Description

Compression adapter for Bz2

Properties

$_options

array $_options = 'array'

Compression Options array( 'blocksize' => Blocksize to use from 0-9 'archive' => Archive to use )

Details

$_options
array
visibility
protected
default
array
final
false
static
false

Methods

__construct

__construct( array|Zend_Config $options = null ) :

Class constructor

Arguments
$options
arrayZend_Config
(Optional) Options to set
Details
visibility
public
final
false
static
false

compress

compress( string $content ) : string

Compresses the given content

Arguments
$content
string
Output
string
Details
visibility
public
final
false
static
false

decompress

decompress( string $content ) : string

Decompresses the given content

Arguments
$content
string
Output
string
Details
visibility
public
final
false
static
false

getArchive

getArchive( ) : string

Returns the set archive

Output
string
Details
visibility
public
final
false
static
false

getBlocksize

getBlocksize( ) : integer

Returns the set blocksize

Output
integer
Details
visibility
public
final
false
static
false

setArchive

setArchive( string $archive ) : Zend_Filter_Compress_Bz2

Sets the archive to use for de-/compression

Arguments
$archive
string
Archive to use
Details
visibility
public
final
false
static
false

setBlocksize

setBlocksize(  $blocksize ) : Zend_Filter_Compress_Bz2

Sets a new blocksize

Arguments
$blocksize
Details
visibility
public
final
false
static
false

toString

toString( ) : string

Returns the adapter name

Output
string
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.