cvs: phd(PHD_0_4) /include PhDFormat.class.php

From: Date: Fri, 07 Nov 2008 22:13:17 +0000
Subject: cvs: phd(PHD_0_4) /include PhDFormat.class.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2468@lists.php.net to get a copy of this message
cweiske Fri Nov 7 22:13:17 2008 UTC Modified files: (Branch: PHD_0_4) /phd/include PhDFormat.class.php Log: Merge from head: have theme in format (needed for toc depth and chunk control) http://cvs.php.net/viewvc.cgi/phd/include/PhDFormat.class.php?r1=1.10&r2=1.10.8.1&diff_format=u Index: phd/include/PhDFormat.class.php diff -u phd/include/PhDFormat.class.php:1.10 phd/include/PhDFormat.class.php:1.10.8.1 --- phd/include/PhDFormat.class.php:1.10 Mon Feb 4 21:17:25 2008 +++ phd/include/PhDFormat.class.php Fri Nov 7 22:13:17 2008 @@ -1,15 +1,25 @@ <?php -/* $Id: PhDFormat.class.php,v 1.10 2008/02/04 21:17:25 bjori Exp $ */ +/* $Id: PhDFormat.class.php,v 1.10.8.1 2008/11/07 22:13:17 cweiske Exp $ */ abstract class PhDFormat extends PhDHelper { - private $TABLE = array(); - + private $TABLE = array(); + + /** + * @var PhDTheme + */ + protected $theme = null; + /* abstract functions */ abstract public function transformFromMap($open, $tag, $name, $attrs, $props); abstract public function CDATA($data); abstract public function TEXT($data); abstract public function __call($func, $args); + public function registerTheme(PhDTheme $theme) + { + $this->theme = $theme; + } + /* Table helper functions */ public function tgroup($attrs) { if (isset($attrs["cols"])) {

« previous php.doc.cvs (#2468) next »