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