Commit b93dacfe authored by ZZZ[GONE] frebault's avatar ZZZ[GONE] frebault
Browse files


parent 30157135
# Lavoisier Query
# GGUS Helpdesk
A simple PHP static library to query a Lavoisier service and map the results to objects via hydrators.
Some basics hydrators are provided, but you will easily create your own.
A simple PHP static library to GGUS Soap service.
## Requirements
* PHP 5.3
* enable cURL PHP extension
## Get Started
### Hydrate with SimpleXMLHydrator
$lquery = new \Lavoisier\Query('localhost','example');
$lquery->setHydrator(new \Lavoisier\Hydrators\SimpleXMLHydrator());
$result = $lquery->execute();
// var_dump(results);
object(SimpleXMLElement)#2 (1) {
object(SimpleXMLElement)#4 (4) {
array(1) {
string(7) "January"
string(4) "8343"
string(4) "2446"
string(6) "5394.5"
### EntriesHydrator
EntriesHydrator is an XML Hydrator which allows you to map any XML files which is matching to [ex_entries xsd schema](
You can customize default binding by setting default|root|key binding to your own class.
Implement GgusObject class
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment