public function includeTemplate($id, $path, array $args = [], $linear = 'yes', array $properties = []){
		if( !file_exists($path) ){
			return false;
		}
		if( !empty($args) ){
			extract($args);
		}
		ob_start();
		include $path;
		$content = ob_get_contents();
		ob_end_clean();
		return $this->registerHTML($id, $content, $linear, $properties);
	}
public function includeTemplate($id, $path, array $args = [], $linear = 'yes', array $properties = []){
		if( !file_exists($path) ){
			return false;
		}
		if( !empty($args) ){
			extract($args);
		}
		ob_start();
		include $path;
		$content = ob_get_contents();
		ob_end_clean();
		return $this->registerHTML($id, $content, $linear, $properties);
	}
public function includeTemplate ( $ id , $ path , array $ args = [ ] , $ linear = 'yes' , array $ properties = [ ] ) { if ( ! file_exists ( $ path ) ) { return false ; } if ( ! empty ( $ args ) ) { extract ( $ args ) ; } ob_start ( ) ; include $ path ; $ content = ob_get_contents ( ) ; ob_end_clean ( ) ; return $ this -> registerHTML ( $ id , $ content , $ linear , $ properties ) ; }
Load from path

@param string $path
@param array $args
@param string $linear
@param array $properties
@return \DomDocument|false
Load from path