mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -59,7 +59,7 @@ class Asset extends CommonObject
|
|||||||
public $fk_element = 'fk_asset';
|
public $fk_element = 'fk_asset';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array List of child tables. To know object to delete on cascade.
|
* @var string[] List of child tables. To know object to delete on cascade.
|
||||||
* If name matches '@ClassName:FilePathClass:ParentFkFieldName' (the recommended mode) it will
|
* If name matches '@ClassName:FilePathClass:ParentFkFieldName' (the recommended mode) it will
|
||||||
* call method ClassName->deleteByParentField(parentId, 'ParentFkFieldName') to fetch and delete child object.
|
* call method ClassName->deleteByParentField(parentId, 'ParentFkFieldName') to fetch and delete child object.
|
||||||
* Using an array like childtables should not be implemented because a child may have other child, so we must only use the method that call deleteByParentField().
|
* Using an array like childtables should not be implemented because a child may have other child, so we must only use the method that call deleteByParentField().
|
||||||
|
|||||||
Reference in New Issue
Block a user