摘要:
attach($this); $this->_m[] = $behaviorObj; } public function __call($method,$param){ foreach($this->_m as $obj){ if(method_exists($obj,$method)){ call_user_func(array($obj,$method),$param); } } }}class Behavior{ protected $scop... 阅读全文