File modules/cms/api/Notice.class.php
Last commit: Sat Oct 17 01:14:30 2026 +0200 Jan Dankert New: Using a structured class for the API-Response. The output for GET-Requests is now without the "output" layer.
1 <?php 2 3 namespace cms\api; 4 5 use cms\base\Language as L; 6 7 /** 8 * Notice to tell about something. 9 */ 10 class Notice 11 { 12 public function __construct ( 13 /** Object type */ 14 public string $type, 15 /** 16 * ID of the object 17 */ 18 public int $id, 19 /** 20 * Name of the object 21 */ 22 public string $name, 23 public string $key, 24 public array $vars, 25 public string $text, 26 public array $log, 27 public string $status, 28 ){ 29 } 30 31 }
Downloadmodules/cms/api/Notice.class.php
History Sat, 17 Oct 2026 01:14:30 +0200 Jan Dankert New: Using a structured class for the API-Response. The output for GET-Requests is now without the "output" layer.