1 | <?php |
||
4 | class Card extends Base |
||
5 | { |
||
6 | /** |
||
7 | * Private constructor so only the client can create this |
||
8 | * @param string $apikey |
||
9 | * @param string $projectid |
||
10 | */ |
||
11 | public function __construct($apikey, $projectid) |
||
15 | |||
16 | /** |
||
17 | * Get one or multiple cards |
||
18 | * @param string card id, leave null for list of boxes |
||
19 | * @param object Containing query arguments |
||
20 | * @return object Result of the request |
||
21 | */ |
||
22 | public function Get($cardId = null, $args = array("limit" => 50)) |
||
26 | |||
27 | /** |
||
28 | * Create new card |
||
29 | * @param object Containing all the information of a card |
||
30 | * @return object Result of the request |
||
31 | */ |
||
32 | public function Create($card) |
||
36 | |||
37 | /** |
||
38 | * Create new card |
||
39 | * @param id of the card |
||
40 | * @param object Containing all the information of a card |
||
41 | * @return object Result of the request |
||
42 | */ |
||
43 | public function Update($cardId, $card) |
||
47 | } |
||
48 |