svn: /web/doc-editor/trunk/php/ class.php

From: Date: Thu, 12 Nov 2009 17:53:08 +0000
Subject: svn: /web/doc-editor/trunk/php/ class.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1173@lists.php.net to get a copy of this message
yannick Thu, 12 Nov 2009 17:53:08 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290614 Log: Remove getAllFilesAboutExtension's method from class.php. This method is present in RepositoryFetcher.php as getFilesByExtension's method Changed paths: U web/doc-editor/trunk/php/class.php Modified: web/doc-editor/trunk/php/class.php =================================================================== --- web/doc-editor/trunk/php/class.php 2009-11-12 17:52:05 UTC (rev 290613) +++ web/doc-editor/trunk/php/class.php 2009-11-12 17:53:08 UTC (rev 290614) @@ -662,31 +662,6 @@ } /** - * Get all files for a given php's extension. - * - * @param $ExtName The name of the extension. - * @return An array of files - */ - function getAllFilesAboutExtension($ExtName) { - - $s = sprintf('SELECT path, name FROM files WHERE path LIKE \'/reference/%s/%%\' AND lang="%s" ORDER BY path, name',$ExtName, $this->cvsLang); - $r = $this->db->query($s) or die('Error: '.$this->db->error.'|'.$s); - $node = array(); - - $i=0; - while ($a = $r->fetch_object()) { - - $node[$i]['path'] = $a->path; - $node[$i]['name'] = $a->name; - - $i++; - } - - return $node; - - } - - /** * Search a file regarding his file's ID. * * @TODO Better description here...

« previous php.doc.web (#1173) next »