1
0
mirror of https://github.com/php/phd.git synced 2026-03-24 07:02:07 +01:00
Files
archived-phd/phpdotnet/phd/Theme.php
2009-02-18 12:57:10 +00:00

45 lines
768 B
PHP

<?php
/* $Id$ */
require $ROOT. "/include/PhDMediaManager.class.php";
abstract class PhDTheme extends PhDHelper implements iPhDTheme {
protected $format;
/**
* Creates the theme object.
*
* @param array $a Array with ID array as first value, ref array as second.
*/
public function __construct(array $a)
{
parent::__construct($a);
}
/**
* Overwritten in xhtml themes only.
*
* @see PhDThemeXhtml::postConstruct()
*/
public function postConstruct() {}
public function registerFormat($format) {
$this->format = $format;
}
}
interface iPhDTheme {
public function appendData($data, $isChunk);
}
/*
* vim600: sw=4 ts=4 fdm=syntax syntax=php et
* vim<600: sw=4 ts=4
*/