SACC
[ class tree: SACC ] [ index: SACC ] [ all elements ]

Class: Xbs_SaccSACCJournalHandler

Source Location: /class/SACCJournal.php

Class Overview

CDMBaseHandler
   |
   --Xbs_SaccSACCJournalHandler

Object handler for SACCJournal


Methods



Class Details

[line 56]
Object handler for SACCJournal



[ Top ]


Class Methods


constructor Xbs_SaccSACCJournalHandler [line 63]

Xbs_SaccSACCJournalHandler Xbs_SaccSACCJournalHandler( xoopsDatabase &$db)

Constructor



Parameters:

xoopsDatabase   &$db   database handle

[ Top ]

method create [line 87]

SACCJournal create( date $jrn_dt, string $jrn_prps, int $org_id)

Create a journal object - extend ancestor create function



Tags:

return:  object


Parameters:

date   $jrn_dt   date of journal
string   $jrn_prps   purpose of journal
int   $org_id   id of organisation

[ Top ]

method getall [line 125]

void &getall( int $id, [string $row_flag = null])

function getall - overide ancestor because the call to create() is different



Parameters:

int   $id   journal id
string   $row_flag   default = null. row status flag

[ Top ]

method insert [line 181]

void insert( SACCJournal &$journal)

insert object data to database - extend ancestor for post processing



Parameters:

SACCJournal   &$journal   handle to journal object to insert

[ Top ]

method loadEntries [line 101]

void loadEntries( mixed $journ)

function loadEntries. Load the account entries for the journal

returns journal with entries else FALSE on error




[ Top ]

method _create [line 74]

void &_create( )

create a journal object



[ Top ]

method _ins_insert [line 155]

void _ins_insert( mixed $cleanVars)

create sql string to insert object data



[ Top ]

method _ins_update [line 168]

void _ins_update( mixed $cleanVars)

create sql string to update object data



[ Top ]


Documentation generated on Thu, 23 Feb 2006 13:06:04 +0000 by phpDocumentor 1.3.0RC3