Swat/SwatContainer.php
protected function sendAddNotifySignal($widget)
    {
        $this->notifyOfAdd($widget);

        if ($this->parent !== null && $this->parent instanceof SwatContainer) {
            $this->parent->sendAddNotifySignal($widget);
        }
    }
protected function sendAddNotifySignal($widget)
    {
        $this->notifyOfAdd($widget);

        if ($this->parent !== null && $this->parent instanceof SwatContainer) {
            $this->parent->sendAddNotifySignal($widget);
        }
    }
protected function sendAddNotifySignal ( $ widget ) { $ this -> notifyOfAdd ( $ widget ) ; if ( $ this -> parent !== null && $ this -> parent instanceof SwatContainer ) { $ this -> parent -> sendAddNotifySignal ( $ widget ) ; } }
Sends the notification signal up the widget tree

This container is notified of the added widget and then this
method is called on the container parent.

@param SwatWidget $widget the widget that has been added.
Sends the notification signal up the widget tree