25require_once DOL_DOCUMENT_ROOT.
'/core/class/commonobject.class.php';
38 public $table_element =
'asset_accountancy_codes_fiscal';
43 public $fk_element =
'fk_asset';
51 'rowid' => array(
'type' =>
'integer',
'label' =>
'TechnicalID',
'enabled' => 1,
'position' => 1,
'notnull' => 1,
'visible' => 0,
'noteditable' => 1,
'index' => 1,
'css' =>
'left',
'comment' =>
'Id'),
84 public function fetch($id, $ref =
null)
98 public function delete(
User $user, $notrigger = 0)
Class for AssetAccountancyCodes.
$fields
Array with all fields and their property.
fetch($id, $ref=null)
Load object in memory from the database.
__construct(DoliDB $db)
Constructor.
Parent class of all other business classes (invoices, contracts, proposals, orders,...
fetchCommon($id, $ref=null, $morewhere='', $noextrafields=0)
Load object in memory from the database.
deleteCommon(User $user, $notrigger=0, $forcechilddeletion=0)
Delete object in database.
Class to manage Dolibarr database access.
Class to manage Dolibarr users.