<?
/*
*
* Skreet's Personal Finance Manager 2.0
*
* Transaction Class
*
*/
class Transaction {
/* Transaction() */
/* If $transaction_id is null, create a new empty transaction */
function Transaction( $transaction_id = null )
{
if( $transaction_id == null )
{
/* generate a new transaction, with no data */
} else {
/* load the transaction from the database, or return an error code */
}
}
/* return the data array */
function getData()
{
}
/* set the data array */
function setData()
{
}
/* return error/success code of last action */
function lastError()
{
}
}
?>