phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] filemanager/inc class.sofilemanager.inc.php,1.3


From: ceb
Subject: [Phpgroupware-cvs] filemanager/inc class.sofilemanager.inc.php,1.3
Date: Thu, 24 Feb 2005 15:09:16 -0000

Update of filemanager/inc

Added Files:
     Branch: MAIN
            class.sofilemanager.inc.php lines: +0 -0

Log Message:
update

====================================================
Index: class.sofilemanager.inc.php
<?php

        class sofilemanager
        {

                /* Any initializations that need to be done */
                function sofilemanager()
                {
                        $GLOBALS['phpgw']->db->Auto_Free = 0;
                }

                /* General SQL query */
                function query($query)
                {
                        return $GLOBALS['phpgw']->db->query($query);
                }

                /* Fetch next array for $query_id */
                function fetch_array($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 call($function, $query_id)
                {
                        return $GLOBALS['phpgw']->db->$function();
                }
        }
?>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]