svn: /phd/trunk/phpdotnet/phd/ Format.php

From: Date: Wed, 06 Jan 2010 08:25:30 +0000
Subject: svn: /phd/trunk/phpdotnet/phd/ Format.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5767@lists.php.net to get a copy of this message
bjori Wed, 06 Jan 2010 08:25:30 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=293171 Log: Remove bogus comment, move couple of properties to where the rest of them are declared Changed paths: U phd/trunk/phpdotnet/phd/Format.php Modified: phd/trunk/phpdotnet/phd/Format.php =================================================================== --- phd/trunk/phpdotnet/phd/Format.php 2010-01-06 08:24:43 UTC (rev 293170) +++ phd/trunk/phpdotnet/phd/Format.php 2010-01-06 08:25:30 UTC (rev 293171) @@ -33,7 +33,7 @@ protected $outputdir; protected $chunked; - /*Processing Instructions Handlers*/ + /* Processing Instructions Handlers */ private $pihandlers = array(); /* Indexing maps */ @@ -45,9 +45,12 @@ private static $autogen = array(); - /* PhDHelper */ private static $highlighters = array(); + /* See self::parse() */ + protected $appendToBuffer = false; + protected $buffer = ""; + public function __construct() { if (file_exists(Config::output_dir() . "index.sqlite")) { $this->sqlite = new \SQLite3(Config::output_dir() . 'index.sqlite'); @@ -304,10 +307,7 @@ return $this->formatname; } - /* Buffer where append data instead of the standard stream (see format's appendData()) */ - protected $appendToBuffer = false; - protected $buffer = ""; - + /* Buffer where append data instead of the standard stream (see format's appendData()) */ final public function parse($xml) { $parsed = ""; $reader = new Reader(); @@ -522,8 +522,6 @@ } /* }}} */ - /*PhDHelper functions*/ - /** * Highlight (color) the given piece of source code *

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