[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] filemanager/inc/db.inc.php, 1.5
From: |
nomail |
Subject: |
[Phpgroupware-cvs] filemanager/inc/db.inc.php, 1.5 |
Date: |
Thu, 30 Dec 2004 10:26:06 +0100 |
Update of /filemanager/inc
Added Files:
Branch:
db.inc.php
date: 2004/12/30 09:26:06; author: skwashd; state: Exp; lines: +6 -17
Log Message:
adding missing files
=====================================================================
<?php
//can we get rid of this ???
error_reporting (8);
/* Any initializations that need to be done */
function db_init ()
{
$GLOBALS['phpgw']->db->Auto_Free = 0;
}
/* General SQL query */
function db_query ($query)
{
return $GLOBALS['phpgw']->db->query ($query);
}
/* Fetch next array for $query_id */
function db_fetch_array ($query_id)
{
// $phpgw->db->Query_ID = $query_id;
$GLOBALS['phpgw']->db->next_record ();
return $GLOBALS['phpgw']->db->Record;
}
/*
General wrapper for all other db calls
Calls in here are simply returned, so not all will work
*/
function db_call ($function, $query_id)
{
// $phpgw->db->Query_ID = $query_id;
return $GLOBALS['phpgw']->db->$function ();
}
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] filemanager/inc/db.inc.php, 1.5,
nomail <=