Swat/SwatContainer.php
public function getChild($id)
    {
        if (array_key_exists($id, $this->children_by_id)) {
            return $this->children_by_id[$id];
        } else {
            return null;
        }
    }
public function getChild($id)
    {
        if (array_key_exists($id, $this->children_by_id)) {
            return $this->children_by_id[$id];
        } else {
            return null;
        }
    }
public function getChild ( $ id ) { if ( array_key_exists ( $ id , $ this -> children_by_id ) ) { return $ this -> children_by_id [ $ id ] ; } else { return null ; } }
Gets a child widget

Retrieves a widget from the list of widgets in the container based on
the unique identifier of the widget.

@param string $id the unique id of the widget to look for.

@return SwatWidget the found widget or null if not found.
Gets a child widget