1 <?php
2
3 namespace rpf\api\module;
4 use rpf\api\apiModule;
5
6 class customer extends apiModule{
7
8 public function loadOrdersAdresses()
9 {
10 $result = $this->system->call('bbCustomer::readEntry', ['return_array' => 1, 'return_orders' => 1, 'return_adress' => 1]);
11 foreach ($result as $id => &$row)
12 {
13 $this->data[$row['cusnr']] = &$row;
14 }
15 return $this;
16 }
17
18
19
20 }