PHP Class Horde_Compress_Tar, horde

Copyright 2002-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Michael Cochrane ([email protected])
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Compress_Base
Mostra file Open project: horde/horde

Public Properties

Property Type Description
$canDecompress

Protected Properties

Property Type Description
$_flags array Tar file flags.
$_types array Tar file types.

Public Methods

Method Description
decompress ( $data, array $params = [] ) : array

Method Details

decompress() public method

public decompress ( $data, array $params = [] ) : array
$params array
return array Tar file data:
KEY: Position in the array
VALUES:
  attr - File attributes
  data - Raw file contents
  date - File modification time
  name - Filename
  size - Original file size
  type - File type

Property Details

$_flags protected_oe property

Tar file flags.
protected array $_flags
return array

$_types protected_oe property

Tar file types.
protected array $_types
return array

$canDecompress public_oe property

public $canDecompress