Tree.class.php (262B)
1 <?php 2 3 namespace template_engine\components; 4 5 class TreeComponent extends Component 6 { 7 public $tree; 8 9 public function begin() 10 { 11 parent::includeResource('tree/component-tree.php'); 12 echo '<?php component_tree('.$this->value($this->tree).') ?>'; 13 14 } 15 } 16 17 18 ?>