dolibarr  9.0.0
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

◆ __construct()

AccountancySystem::__construct (   $db)

Constructor.

Parameters
DoliDB$dbhandler

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

Member Function Documentation

◆ create()

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 127 of file accountancysystem.class.php.

◆ fetch()

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 80 of file accountancysystem.class.php.


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