mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Merge
This commit is contained in:
parent
b386400365
commit
b221c65165
|
|
@ -443,13 +443,19 @@ abstract class CommonObject
|
|||
|
||||
public $next_prev_filter;
|
||||
|
||||
/**
|
||||
* @var array List of child tables. To test if we can delete object.
|
||||
*/
|
||||
protected $childtables = array();
|
||||
|
||||
/**
|
||||
* @var array List of child tables. To know object to delete on cascade.
|
||||
* if name like with @ClassNAme:FilePathClass;ParentFkFieldName' it will
|
||||
* call method deleteByParentField(parentId,ParentFkFieldName) to fetch and delete child object
|
||||
* If name matches '@ClassNAme:FilePathClass;ParentFkFieldName' it will
|
||||
* call method deleteByParentField(parentId, ParentFkFieldName) to fetch and delete child object
|
||||
*/
|
||||
protected $childtablesoncascade = array();
|
||||
|
||||
|
||||
// No constructor as it is an abstract class
|
||||
/**
|
||||
* Check an object id/ref exists
|
||||
|
|
|
|||
|
|
@ -196,7 +196,9 @@ class MyObject extends CommonObject
|
|||
//protected $childtables = array();
|
||||
|
||||
/**
|
||||
* @var array List of child tables. To know object to delete on cascade.
|
||||
* @var array List of child tables. To know object to delete on cascade.
|
||||
* If name matches '@ClassNAme:FilePathClass;ParentFkFieldName' it will
|
||||
* call method deleteByParentField(parentId, ParentFkFieldName) to fetch and delete child object
|
||||
*/
|
||||
//protected $childtablesoncascade = array('mymodule_myobjectdet');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user