stepanets / kww-domstorlib-c
Installs: 200
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/stepanets/kww-domstorlib-c
Requires
- php: >=5.1.0 || >=7.0
README
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);