1 | <?php |
||
19 | class PulseColumn extends ApiObject |
||
20 | { |
||
21 | const API_PREFIX = "boards"; |
||
22 | |||
23 | const Date = "date"; |
||
|
|||
24 | const Numeric = "numeric"; |
||
25 | const Person = "person"; |
||
26 | const Status = "status"; |
||
27 | const Text = "text"; |
||
28 | const Timeline = "timerange"; |
||
29 | |||
30 | protected $title; |
||
31 | protected $type; |
||
32 | protected $empty_text; |
||
33 | protected $labels; |
||
34 | protected $board_id; |
||
35 | |||
36 | 38 | public function __construct ($idOrArray) |
|
42 | |||
43 | public function getId () |
||
47 | |||
48 | public function getTitle () |
||
54 | |||
55 | 11 | public function getType () |
|
67 | |||
68 | public function getEmptyText () |
||
74 | |||
75 | public function getLabels () |
||
81 | |||
82 | public function getBoardId () |
||
88 | |||
89 | public function editTitle ($title) |
||
93 | |||
94 | public function editLabels ($labels) |
||
98 | |||
99 | public function deleteColumn () |
||
107 | |||
108 | private function editField ($field, $value) |
||
120 | |||
121 | private function getColumnsUrl () |
||
125 | } |