예제 #1
0
파일: table.php 프로젝트: klas/joomla-cms
 /**
  * Implement JObservableInterface:
  * Adds an observer to this instance.
  * This method will be called fron the constructor of classes implementing JObserverInterface
  * which is instanciated by the constructor of $this with JObserverMapper::attachAllObservers($this)
  *
  * @param   JObserverInterface|JTableObserver  $observer  The observer object
  *
  * @return  void
  *
  * @since   3.1.2
  */
 public function attachObserver(JObserverInterface $observer)
 {
     $this->_observers->attachObserver($observer);
 }