src/ShopBundle/objects/TShopBasket/TShopBasketArticleCoreList.class.php
public function ObserverRegister($sObserverName, &$oObserver)
    {
        if (!array_key_exists($sObserverName, $this->aObservers)) {
            $this->aObservers[$sObserverName] = &$oObserver;
        }
    }
public function ObserverRegister($sObserverName, &$oObserver)
    {
        if (!array_key_exists($sObserverName, $this->aObservers)) {
            $this->aObservers[$sObserverName] = &$oObserver;
        }
    }
public function ObserverRegister ( $ sObserverName , & $ oObserver ) { if ( ! array_key_exists ( $ sObserverName , $ this -> aObservers ) ) { $ this -> aObservers [ $ sObserverName ] = & $ oObserver ; } }
register an observer with the user.

@param string                    $sObserverName
@param IDataExtranetUserObserver $oObserver
register an observer with the user .