library/Garp/Model/IniFile.php
public function registerObserver(Garp_Util_Observer $observer, $name = false) {
        $name = $name ?: $observer->getName();
        $this->_observers[$name] = $observer;
        return $this;
    }
public function registerObserver(Garp_Util_Observer $observer, $name = false) {
        $name = $name ?: $observer->getName();
        $this->_observers[$name] = $observer;
        return $this;
    }
public function registerObserver ( Garp_Util_Observer $ observer , $ name = false ) { $ name = $ name ? : $ observer -> getName ( ) ; $ this -> _observers [ $ name ] = $ observer ; return $ this ; }
Register observer. The observer will then listen to events broadcasted
from this class.

@param Garp_Util_Observer $observer The observer
@param string $name Optional custom name
@return Garp_Util_Observable $this
Register observer . The observer will then listen to events broadcasted from this class .