PHP Class opensrs\Request

Afficher le fichier Open project: opensrs/osrs-toolkit-php Class Usage Examples

Méthodes publiques

Méthode Description
array2object ( hash $data ) : stdClass Method to convert Array -> Object -> Array.
array_filter_recursive ( $input )
convertArray2Formatted ( $type = '', $data = '' )
convertFormatted2array ( $type = '', $data = '' )
process ( string $format = '', string $data = '' ) Process an OpenSRS Request.

Method Details

array2object() public méthode

Method to convert Array -> Object -> Array.
Since: 3.4
public array2object ( hash $data ) : stdClass
$data hash Containing array object
Résultat stdClass Object $object Containing stdClass object

array_filter_recursive() public méthode

public array_filter_recursive ( $input )

convertArray2Formatted() public méthode

public convertArray2Formatted ( $type = '', $data = '' )

convertFormatted2array() public méthode

public convertFormatted2array ( $type = '', $data = '' )

process() public méthode

Process an OpenSRS Request.
public process ( string $format = '', string $data = '' )
$format string input format (xml, json, array)
$data string data