Swat/SwatReplicableContainer.php
public function getWidget($widget_id, $replicator_id)
    {
        $widget = null;

        if (isset($this->widgets[$replicator_id][$widget_id])) {
            $widget = $this->widgets[$replicator_id][$widget_id];
        }

        return $widget;
    }
public function getWidget($widget_id, $replicator_id)
    {
        $widget = null;

        if (isset($this->widgets[$replicator_id][$widget_id])) {
            $widget = $this->widgets[$replicator_id][$widget_id];
        }

        return $widget;
    }
public function getWidget ( $ widget_id , $ replicator_id ) { $ widget = null ; if ( isset ( $ this -> widgets [ $ replicator_id ] [ $ widget_id ] ) ) { $ widget = $ this -> widgets [ $ replicator_id ] [ $ widget_id ] ; } return $ widget ; }
Retrives a reference to a replicated widget

@param string $widget_id the unique id of the original widget
@param string $replicator_id the replicator id of the replicated widget

@return SwatWidget a reference to the replicated widget, or null if the
widget is not found.
Retrives a reference to a replicated widget