ZapMachine/lib/ZAPHome.class.php

33 lines
455 B
PHP
Raw Normal View History

<?php
/**
* Index class
*/
2026-07-18 11:56:54 +02:00
class ZAPHome implements ZAPHandler {
/**
* Template file prefix
*/
private $template = 'index';
/**
* Parsable content
*/
private $tpl = '';
/**
* Constructor
*/
public function __construct() {
ob_start();
$ver = ZAP_VERSION;
include getZAPTemplate($this->template);
$this->tpl .= ob_get_clean();
}
/**
* @return cotent string
*/
public function getContent() {
return $this->tpl;
}
}
?>