Else.class.php (223B)
1 <?php 2 3 namespace template_engine\components; 4 5 class ElseComponent extends Component 6 { 7 8 public function begin() 9 { 10 echo '<?php if(!$if'.$this->getDepth().'){?>'; 11 } 12 13 14 public function end() { 15 echo '<?php } ?>'; 16 } 17 } 18 19 ?>