ea-Geiercode
[ class tree: ea-Geier ] [ index: ea-Geier ] [ all elements ]

Procedural File: balance.db.php

Source Location: /code/balance.db.php

Page Details

database functions for accounting balance

LICENSE: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Link:  http://www.ea-geier.at/
Filesource:  Source Code for this file
Version:  $Id: balance.db.php 143 2007-09-03 22:30:04Z m2mtech $
License:  GNU General Public License Version 2
Copyright:  2007 m2m server software gmbh
Author:  m2mtech <tech@m2m.at>
Includes
require_once ('code/clients.db.php') [line 30]

standard client db functions

[ Top ]

require_once ('code/numbers.inc.php') [line 35]

number functions

[ Top ]


Functions
dbGetAssetCategories  [line 219]

array dbGetAssetCategories( eaDB &$db, integer $client, integer $year  )

get categories & sums from assets

Parameters:
eaDB   &$db:  database
integer   $client:  clientID
integer   $year:  year

API Tags:
Return:  categories


[ Top ]
dbGetBalanceYears  [line 261]

array dbGetBalanceYears( eaDB &$db, integer $client  )

get years in database

Parameters:
eaDB   &$db:  database
integer   $client:  clientID

API Tags:
Return:  years


[ Top ]
dbGetCashBookCategories  [line 138]

array dbGetCashBookCategories( eaDB &$db, integer $client, integer $year  )

get categories & sums from cashbook

Parameters:
eaDB   &$db:  database
integer   $client:  clientID
integer   $year:  year

API Tags:
Return:  categories


[ Top ]
dbGetTravelCategories  [line 185]

array dbGetTravelCategories( eaDB &$db, integer $client, integer $year  )

get categories & sums from travel expenses

Parameters:
eaDB   &$db:  database
integer   $client:  clientID
integer   $year:  year

API Tags:
Return:  categories


[ Top ]
dbLoadBalance  [line 88]

array dbLoadBalance( eaDB &$db, integer $client, integer $year  )

load balance

Parameters:
eaDB   &$db:  database
integer   $client:  clientID
integer   $year:  year

API Tags:
Return:  data


[ Top ]
dbSaveBalance  [line 44]

void dbSaveBalance( eaDB &$db, integer $client, array &$data  )

save balance

Parameters:
eaDB   &$db:  database
integer   $client:  client
array   &$data:  data


[ Top ]


Documentation generated on Sun, 09 Sep 2007 17:07:48 +0200 by phpDocumentor 1.3.1