PHP Class Horde_Pack_Driver, horde

Author: Michael Slusarz ([email protected])
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_id integer Identifer for this driver. Each driver needs a unique priority.
$_phpob boolean Does this driver support packing PHP objects?

Méthodes publiques

Méthode 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 méthode

public __get ( $name )

pack() abstract public méthode

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

supported() public static méthode

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

unpack() abstract public méthode

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

Property Details

$_id protected_oe property

Identifer for this driver. Each driver needs a unique priority.
protected int $_id
Résultat integer

$_phpob protected_oe property

Does this driver support packing PHP objects?
protected bool $_phpob
Résultat boolean