Skip to content

domstor-project/kww-domstorlib-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kww-domstorlib-c

Using

First creates domstor builder:

$builder = new Domstor_Builder();

Then build $domstor object, you must define two parameters org_id and location_id:

$domstor = $builder->build(array(
    'org_id' => 1,          // Organisation id
    'location_id' => 2004,  // Location id
));

Get $list object. You must specify $page number by getting it through request or some other way

$list = $domstor->getList($object, $action, $page);