Merge
This commit is contained in:
parent
b386400365
commit
b221c65165
@ -443,13 +443,19 @@ abstract class CommonObject
|
|||||||
|
|
||||||
public $next_prev_filter;
|
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.
|
* @var array List of child tables. To know object to delete on cascade.
|
||||||
* if name like with @ClassNAme:FilePathClass;ParentFkFieldName' it will
|
* If name matches '@ClassNAme:FilePathClass;ParentFkFieldName' it will
|
||||||
* call method deleteByParentField(parentId,ParentFkFieldName) to fetch and delete child object
|
* call method deleteByParentField(parentId, ParentFkFieldName) to fetch and delete child object
|
||||||
*/
|
*/
|
||||||
protected $childtablesoncascade = array();
|
protected $childtablesoncascade = array();
|
||||||
|
|
||||||
|
|
||||||
// No constructor as it is an abstract class
|
// No constructor as it is an abstract class
|
||||||
/**
|
/**
|
||||||
* Check an object id/ref exists
|
* Check an object id/ref exists
|
||||||
|
|||||||
@ -196,7 +196,9 @@ class MyObject extends CommonObject
|
|||||||
//protected $childtables = array();
|
//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');
|
//protected $childtablesoncascade = array('mymodule_myobjectdet');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user