Date.class.php (288B)
1 <?php 2 3 namespace template_engine\components; 4 5 class DateComponent extends Component 6 { 7 public $date; 8 9 protected function begin() 10 { 11 $date = $this->date; 12 13 $this->includeResource( 'date/component-date.php'); 14 echo '<?php component_date('.$this->value($this->date).') ?>'; 15 } 16 } 17 18 19 ?>