1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
<?php
/* $Id: PhDTheme.class.php 276075 2009-02-18 12:57:10Z rquadling $ */
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
*/
|