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

Class: Xbs_SaccSACCOrgHandler

Source Location: /class/SACCOrg.php

Class Overview

CDMBaseHandler
   |
   --Xbs_SaccSACCOrgHandler

SACC Organisation object handler


Author(s):

  • Ashley Kitson http://xoobs.net

Version:

  • 1

Copyright:

  • 2005 Ashley Kitson, UK

Methods



Class Details

[line 61]
SACC Organisation object handler

XoopsModule handler




Tags:

version:  1
copyright:  2005 Ashley Kitson, UK
author:  Ashley Kitson http://xoobs.net


[ Top ]


Class Methods


constructor Xbs_SaccSACCOrgHandler [line 71]

Xbs_SaccSACCOrgHandler Xbs_SaccSACCOrgHandler( XoopsDatabase &$db)

Function: constructor

Organisation handler constructor




Tags:

version:  1


Parameters:

XoopsDatabase   $db   handle to current database

[ Top ]

method countOrgs [line 322]

int countOrgs( )

Function: countOrgs

Count the number of organisations




Tags:

return:  number of organisations
version:  1


[ Top ]

method createAccounts [line 177]

void createAccounts( SACCOrg &$org)

function createAccounts - Create new base accounts for the organisation.



Tags:

version:  1


Parameters:

SACCOrg   &$org   organisation object handle

[ Top ]

method createControl [line 160]

void createControl( int $org_id, int $ac_id, string $ctrlName)

function createControl. Create a control account



Tags:

version:  1


Parameters:

int   $org_id   organisation id
int   $ac_id   account id
string   $ctrlName   control account name (tag)

[ Top ]

method getSelectList [line 266]

array getSelectList( )

return an array of Active id, orgname pairs for use in a end user form select box



[ Top ]

method getSelectListAll [line 241]

array getSelectListAll( )

return an array of All id, orgname pairs for use in an admin user form select box



[ Top ]

method insert [line 307]

void insert( SACCOrg &$code)

Insert data into database - extend ancestor



Parameters:

SACCOrg   &$code   Handle to organisation object

[ Top ]

method loadAccounts [line 117]

void loadAccounts( SACCOrg &$obj)

Load up the accounts belonging to this organisation



Tags:

version:  1


Parameters:

SACCOrg   &$obj   organisation object handle

[ Top ]

method loadJournal [line 139]

void loadJournal( SACCOrg &$obj)

Load up the journal entries belonging to this organisation



Tags:

version:  1


Parameters:

SACCOrg   &$obj   organisation object handle

[ Top ]


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