dolibarr  7.0.0-beta
Public Member Functions | List of all members
AccountancySystem Class Reference

Class to manage accountancy systems. More...

Public Member Functions

 __construct ($db)
 Constructor. More...
 
 fetch ($rowid=0, $ref= '')
 Load record in memory. More...
 
 create ($user)
 Insert accountancy system name into database. More...
 

Detailed Description

Class to manage accountancy systems.

Definition at line 29 of file accountancysystem.class.php.

Constructor & Destructor Documentation

AccountancySystem::__construct (   $db)

Constructor.

Parameters
DoliDB$dbhandler

Definition at line 46 of file accountancysystem.class.php.

Member Function Documentation

AccountancySystem::create (   $user)

Insert accountancy system name into database.

Parameters
User$usermaking insert
Returns
int if KO, Id of line if OK

Definition at line 105 of file accountancysystem.class.php.

References $resql, dol_now(), and dol_syslog().

AccountancySystem::fetch (   $rowid = 0,
  $ref = '' 
)

Load record in memory.

Parameters
int$rowidId
string$refref
Returns
int <0 if KO, Id of record if OK and found

Definition at line 58 of file accountancysystem.class.php.

References dol_syslog().


The documentation for this class was generated from the following file: