diff options
-rw-r--r-- | framework/TComponent.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/framework/TComponent.php b/framework/TComponent.php index 95fc2855..f1a5503f 100644 --- a/framework/TComponent.php +++ b/framework/TComponent.php @@ -1721,8 +1721,14 @@ class TComponent $a = (array)$this; $a = array_keys($a); $exprops = array(); + if($this->_listeningenabled===false) + $exprops[] = "\0TComponent\0_listeningenabled"; + if($this->_behaviorsenabled===true) + $exprops[] = "\0TComponent\0_behaviorsenabled"; if ($this->_e===array()) $exprops[] = "\0TComponent\0_e"; + if ($this->_m===null) + $exprops[] = "\0TComponent\0_m"; return array_diff($a,$exprops); } } |