<?php
/**
* @author Benjamin Gillissen <hide@address.com>
*
* **************************************************************
Copyright (C) 2007 Benjamin Gillissen
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details at:
http://www.gnu.org/copyleft/gpl.html
* **************************************************************
*/
class block_logic_else extends tpl_parser {
public function __construct($hdl, $tag, $epos, $depth, $of){
//echo "$depth] New block Logic_Else @ ".$tag->start()."<br/>\n";
parent::__construct($hdl, $tag->end(), $epos, $depth, $of);
$this->otag=$tag;
}
public function end(){ return $this->otag->end(); }
public function load_tagargs($tag=NULL){ return TRUE; }
public function recurloads(){ return TRUE; }
public function parse($l, $g){ return ''; }
}
return 1;