change id validation rule on register
[namibia] / push.php
1 <?php
2 $gearClient = new \GearmanClient();
3 $gearClient->addServer();
4 $gearClient->doBackground(
5         'Broadcast',
6         json_encode(
7                 array(
8                         'id'                => 2,
9                         'current_bid'       => array(
10                                 'id'      => 2,
11                                 'auction' => 2,
12                                 'company' => 1,
13                                 'profile' => 3,
14                                 'autoBid' => null,
15                                 'amount'  => 1003000.00,
16                                 'status'  => 'Active',
17                                 'created' => '2015-10-28 11:39:16'
18                         ),
19                         'current_bid_id'    => 2,
20                         'current_bid_price' => 1003000.00,
21                         'number_of_bids'    => 2,
22                         'expire_datetime'   => '2015-10-29 14:30:00',
23                         'winner'            => 1,
24                         'looser'            => 2,
25                         'basket'            => array(
26                                 'id'       => 1,
27                                 'auction'  => 2,
28                                 'company'  => 1,
29                                 'profile'  => null,
30                                 'created'  => '2015-10-29 11:38:16',
31                                 'updated'  => null,
32                                 'archived' => null
33                         ),
34                         'vehicle'           => 'AUDI, A3 2004 - ON, A3 1.4 TFSI ATTRACTION (2012)'
35                 )
36         )
37 );