| 1 | <?php |
||
| 16 | class CustomPages extends Api |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Available Custom Pages (permission needed: #zone_settings:read) |
||
| 20 | * |
||
| 21 | * @param string $zone_identifier API item identifier tag |
||
| 22 | */ |
||
| 23 | public function custom_pages($zone_identifier) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Custom Page details (permission needed: #zone_settings:read) |
||
| 30 | * Details about a specific Custom page details |
||
| 31 | * |
||
| 32 | * @param string $zone_identifier API item identifier tag |
||
| 33 | * @param string $identifier |
||
| 34 | */ |
||
| 35 | public function details($zone_identifier, $identifier) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Update Custom page URL (permission needed: #zone_settings:edit) |
||
| 42 | * Update Custom page URL |
||
| 43 | * |
||
| 44 | * @param string $zone_identifier API item identifier tag |
||
| 45 | * @param string $identifier |
||
| 46 | * @param string $url A URL that is associated with the Custom Page. |
||
| 47 | * @param string $state The Custom Page state |
||
| 48 | */ |
||
| 49 | public function update($zone_identifier, $identifier, $url, $state) |
||
| 58 | } |
||
| 59 |