File modules/cms/api/PageAll.class.php
Last commit: Tue Oct 13 22:52:59 2026 +0200 Jan Dankert New: The UI is now able to send hierarchical form data and the server is converting it into an object. This is a very nice feature, because this enables a better OpenAPI interface.
1 <?php 2 3 namespace cms\api; 4 5 class PageAll 6 { 7 public function __construct( 8 public int $objectId, 9 public int $pageId, 10 11 #[ArrayOf(Language::class)] 12 public array $languages, 13 14 #[ArrayOf(Element::class)] 15 public array $elements, 16 17 ) 18 { 19 } 20 21 }
Downloadmodules/cms/api/PageAll.class.php
History Tue, 13 Oct 2026 22:52:59 +0200 Jan Dankert New: The UI is now able to send hierarchical form data and the server is converting it into an object. This is a very nice feature, because this enables a better OpenAPI interface. Tue, 13 Oct 2026 18:49:59 +0200 Jan Dankert New: Another action which returns an object instead of single output values. This should be the future, but it's a long way to refactore all old action methods...