summaryrefslogtreecommitdiffstats
path: root/lib/class/dba.class.php
diff options
context:
space:
mode:
authormomo-i <webmaster@momo-i.org>2011-02-02 13:35:26 +0900
committermomo-i <webmaster@momo-i.org>2011-02-02 13:35:26 +0900
commitbc7344c9f5d6810b8330474a69687f1c3fae961e (patch)
tree9b01425356fd4bf04d613cc1925fa69275b564e9 /lib/class/dba.class.php
parent4bd8bd822bc6cc1c13066709cd5c25a4e2fa8968 (diff)
downloadampache-bc7344c9f5d6810b8330474a69687f1c3fae961e.tar.gz
ampache-bc7344c9f5d6810b8330474a69687f1c3fae961e.tar.bz2
ampache-bc7344c9f5d6810b8330474a69687f1c3fae961e.zip
test for phpdoc
Diffstat (limited to 'lib/class/dba.class.php')
-rw-r--r--lib/class/dba.class.php61
1 files changed, 42 insertions, 19 deletions
diff --git a/lib/class/dba.class.php b/lib/class/dba.class.php
index 4072f4b8..771e76e0 100644
--- a/lib/class/dba.class.php
+++ b/lib/class/dba.class.php
@@ -1,35 +1,58 @@
<?php
/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
/*
+ * Dba Class
+ *
+ * PHP version 5
+ *
+ * LICENSE: GNU General Public License, version 2 (GPLv2)
+ * Copyright (c) 2001 - 2011 Ampache.org All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License v2
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * @category Dba
+ * @package Ampache
+ * @author Karl Vollmer <vollmer@ampache.org>
+ * @copyright 2001 - 2011 Ampache.org
+ * @license http://opensource.org/licenses/gpl-2.0 GPLv2
+ * @version PHP 5.2
+ * @link http://www.ampache.org/
+ * @since File available since Release 1.0
+ */
-Copyright (c) Ampache.org
-All rights reserved.
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License v2
-as published by the Free Software Foundation.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-*/
/* Make sure they aren't directly accessing it */
-if (INIT_LOADED != '1') { exit; }
+if (!defined('INIT_LOADED') || INIT_LOADED != '1') { exit; }
/**
- * Dba
+ * Dba Class
+ *
* This is the database abstraction class
* It duplicates the functionality of mysql_???
* with a few exceptions, the row and assoc will always
* return an array, simplifying checking on the far end
* it will also auto-connect as needed, and has a default
* database simplifying queries in most cases.
+ *
+ * @category Dba
+ * @package Ampache
+ * @author Karl Vollmer <vollmer@ampache.org>
+ * @copyright 2001 - 2011 Ampache.org
+ * @license http://opensource.org/licenses/gpl-2.0 GPLv2
+ * @version Release:
+ * @link http://www.ampache.org/
+ * @see xxx
+ * @since Class available since Release 1.0
*/
class Dba {