| 1 | <?php |
||
| 6 | class Theme 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 the project theme |
||
| 20 | * @param string template 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() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Update a theme |
||
| 31 | * @param object Containing all the information of a template |
||
| 32 | * @return object Result of the request |
||
| 33 | */ |
||
| 34 | public function Update($template) |
||
| 38 | } |
||
| 39 |