src/UI/Template.php
public function addTemplate( $tag, $fileName, $element = NULL, $overwrite = FALSE )
	{
		$this->addElement( $tag, new self( $fileName, $element ), $overwrite );
	}
public function addTemplate( $tag, $fileName, $element = NULL, $overwrite = FALSE )
	{
		$this->addElement( $tag, new self( $fileName, $element ), $overwrite );
	}
public function addTemplate ( $ tag , $ fileName , $ element = NULL , $ overwrite = FALSE ) { $ this -> addElement ( $ tag , new self ( $ fileName , $ element ) , $ overwrite ) ; }
Adds another Template.
@param		string		tagname
@param		string		template file
@param		array		array containing elements {@link add()}
@param		boolean		if set to TRUE, it will overwrite an existing element with the same label
@return		void
Adds another Template .