Started to convert code to PHP5 using public/private/protected/static and __construct() method, got rid of =& when constructing objects. Improved documentation in many places. Commented out functions that are no longer in use. Got rid of double-copy operations when checking for errors (e.g. $foo = $r = myMethod()). Tweaked code here and there to fit coding conventions.

This commit is contained in:
paul 2006-11-14 19:09:20 +00:00
parent 8b979c9f76
commit bb00be70bb
36 changed files with 1920 additions and 1455 deletions

View file

@ -42,10 +42,14 @@ require_once "XML/Util.php";
* <li>cnt : integer - number of matching items</li>
* </ul>
*
* @Author $Author$
* @author Tomas Hlava <th@red2head.com>
* @author Paul Baranowski <paul@paulbaranowski.org>
* @version $Revision$
* @package Campcaster
* @subpackage StorageServer
* @copyright 2006 MDLF, Inc.
* @license http://www.gnu.org/licenses/gpl.txt
* @link http://www.campware.org
* @see MetaData
* @see StoredFile
*/
@ -56,7 +60,7 @@ class DataEngine {
*
* @param BasicStor $gb
*/
function DataEngine(&$gb)
public function __construct(&$gb)
{
$this->gb =& $gb;
$this->dbc =& $gb->dbc;