function set_root(Frame $root) { $this->_root = $root; if ($this->_frame instanceof Frame_Decorator) { $this->_frame->set_root($root); } }