File modules/cms/generator/dsl/DslElement.class.php
Last commit: Mon Jun 27 00:40:42 2022 +0200 Jan Dankert New: Marker interface 'Scriptable', Proxy class for MQTT, help() method in Scripts.
1 <?php 2 3 namespace cms\generator\dsl; 4 5 use cms\model\Element; 6 use dsl\context\BaseScriptableObject; 7 8 class DslElement extends BaseScriptableObject 9 { 10 private $element; 11 12 public $name; 13 public $label; 14 public $type; 15 16 /** 17 * @param Element $element 18 */ 19 public function __construct($element) 20 { 21 $this->element = $element; 22 23 $this->name = $element->name; 24 $this->label = $element->label; 25 $this->type = $element->getTypeName(); 26 } 27 28 29 }
Downloadmodules/cms/generator/dsl/DslElement.class.php
History Mon, 27 Jun 2022 00:40:42 +0200 Jan Dankert New: Marker interface 'Scriptable', Proxy class for MQTT, help() method in Scripts. Sat, 25 Jun 2022 14:26:33 +0200 Jan Dankert New: Many Enhancements for the internal script language: More access to the data structure of pages, folders, templates, ...