PHP Class Horde_Pack_Driver, horde

Author: Michael Slusarz ([email protected])
Exibir arquivo Open project: horde/horde

Protected Properties

Property Type Description
$_id integer Identifer for this driver. Each driver needs a unique priority.
$_phpob boolean Does this driver support packing PHP objects?

Public Methods

Method Description
__get ( $name )
pack ( mixed $data ) : string Pack a string.
supported ( ) : boolean Is this driver supported on this system?
unpack ( string $data ) : mixed Unpack a string.

Method Details

__get() public method

public __get ( $name )

pack() abstract public method

Pack a string.
abstract public pack ( mixed $data ) : string
$data mixed The data to pack.
return string The packed string.

supported() public static method

Is this driver supported on this system?
public static supported ( ) : boolean
return boolean True if supported.

unpack() abstract public method

Unpack a string.
abstract public unpack ( string $data ) : mixed
$data string The packed string.
return mixed The unpacked data.

Property Details

$_id protected_oe property

Identifer for this driver. Each driver needs a unique priority.
protected int $_id
return integer

$_phpob protected_oe property

Does this driver support packing PHP objects?
protected bool $_phpob
return boolean