svn: /phd/trunk/phpdotnet/phd/Package/PHP/ Web.php

From: Date: Fri, 31 Dec 2010 09:31:05 +0000
Subject: svn: /phd/trunk/phpdotnet/phd/Package/PHP/ Web.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7591@lists.php.net to get a copy of this message
bjori Fri, 31 Dec 2010 09:31:05 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306908 Log: Arg! Sorry. This was not supposed to be part of the last commit Changed paths: U phd/trunk/phpdotnet/phd/Package/PHP/Web.php Modified: phd/trunk/phpdotnet/phd/Package/PHP/Web.php =================================================================== --- phd/trunk/phpdotnet/phd/Package/PHP/Web.php 2010-12-31 09:29:52 UTC (rev 306907) +++ phd/trunk/phpdotnet/phd/Package/PHP/Web.php 2010-12-31 09:31:05 UTC (rev 306908) @@ -56,10 +56,6 @@ public function update($event, $val = null) { switch($event) { - case Render::FINALIZE: - $this->writeJsonIndex(); - break; - case Render::CHUNK: $this->flags = $val; break; @@ -194,19 +190,6 @@ return "<?php manual_footer(); ?>"; } - protected function writeJsonIndex() { - v("Writing search indexes..", VERBOSE_FORMAT_RENDERING); - $ids = array(); - $desc = array(); - foreach($this->indexes as $id => $index) { - $ids[$index["element"]][] = array($index["sdesc"], $index["filename"]); - $desc[$id] = $index["ldesc"]; - } - file_put_contents($this->getOutputDir() . "search-index.json", json_encode($ids)); - file_put_contents($this->getOutputDir() . "search-description.json", json_encode($desc)); - v("Index written", VERBOSE_FORMAT_RENDERING); - } - } /*

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