1 | <?php |
||
6 | class Card extends Base |
||
7 | { |
||
8 | /** |
||
9 | * Private constructor so only the client can create this |
||
10 | * @param Client $client |
||
11 | */ |
||
12 | 16 | public function __construct(Client $client) |
|
17 | |||
18 | /** |
||
19 | * Get one or multiple cards |
||
20 | * @param string card id, leave null for list of boxes |
||
21 | * @param object Containing query arguments |
||
22 | * @return object Result of the request |
||
23 | */ |
||
24 | public function Get($cardId = null, $args = array("limit" => 50)) |
||
31 | |||
32 | /** |
||
33 | * Create new card |
||
34 | * @param object Containing all the information of a card |
||
35 | * @return object Result of the request |
||
36 | */ |
||
37 | public function Create($card) |
||
41 | |||
42 | /** |
||
43 | * Update a card |
||
44 | * @param object Containing all the information of a card |
||
45 | * @return object Result of the request |
||
46 | */ |
||
47 | public function Update($card) |
||
54 | } |
||
55 |