public function register( MW_Observer_Publisher_Interface $p )
	{
		$p->addListener( $this, 'setAddress.after' );
		$p->addListener( $this, 'deleteAddress.after' );
		$p->addListener( $this, 'addProduct.after' );
		$p->addListener( $this, 'deleteProduct.after' );
		$p->addListener( $this, 'addCoupon.after' );
		$p->addListener( $this, 'deleteCoupon.after' );
	}
public function register( MW_Observer_Publisher_Interface $p )
	{
		$p->addListener( $this, 'setAddress.after' );
		$p->addListener( $this, 'deleteAddress.after' );
		$p->addListener( $this, 'addProduct.after' );
		$p->addListener( $this, 'deleteProduct.after' );
		$p->addListener( $this, 'addCoupon.after' );
		$p->addListener( $this, 'deleteCoupon.after' );
	}
public function register ( MW_Observer_Publisher_Interface $ p ) { $ p -> addListener ( $ this , 'setAddress.after' ) ; $ p -> addListener ( $ this , 'deleteAddress.after' ) ; $ p -> addListener ( $ this , 'addProduct.after' ) ; $ p -> addListener ( $ this , 'deleteProduct.after' ) ; $ p -> addListener ( $ this , 'addCoupon.after' ) ; $ p -> addListener ( $ this , 'deleteCoupon.after' ) ; }
Subscribes itself to a publisher

@param MW_Observer_Publisher_Interface $p Object implementing publisher interface
Subscribes itself to a publisher