File: PhDTheme.class.php

package info (click to toggle)
php-doc 20100521-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 59,992 kB
  • ctags: 4,085
  • sloc: xml: 796,833; php: 21,338; cpp: 500; sh: 117; makefile: 58; awk: 28
file content (44 lines) | stat: -rw-r--r-- 827 bytes parent folder | download
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
 */