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

From: Date: Thu, 12 Nov 2009 17:54:01 +0000
Subject: svn: /web/doc-editor/trunk/php/ class.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1174@lists.php.net to get a copy of this message
yannick Thu, 12 Nov 2009 17:54:01 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290615 Log: Remove searchXmlID's method from class.php. This method is present in RepositoryFetcher.php as getFileByXmlID'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:53:08 UTC (rev 290614) +++ web/doc-editor/trunk/php/class.php 2009-11-12 17:54:01 UTC (rev 290615) @@ -661,18 +661,4 @@ return $nodes; } - /** - * Search a file regarding his file's ID. - * - * @TODO Better description here... - * @param $lang The lang of the searched file. - * @param $fileID The ID of the searched file. - */ - function searchXmlID($lang, $fileID) - { - $s = sprintf('SELECT lang, path, name FROM files WHERE lang = "%s" AND xmlid LIKE "%' . $fileID . '%"', $lang); - $r = $this->db->query($s) or die('Error: '.$this->db->error.'|'.$s); - return $r->fetch_object(); - } - } // End of class

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