You are here

interface CFSubject in Changed Fields API 7

Interface CFSubject.

Hierarchy

Expanded class hierarchy of CFSubject

All classes that implement CFSubject

File

includes/changed_fields.core.inc, line 11
changed_fields.core.inc file.

View source
interface CFSubject {

  /**
   * Add observer to list.
   *
   * @param CFObserver $observer
   */
  public function addObserver(CFObserver $observer);

  /**
   * Remove observer from list.
   *
   * @param CFObserver $observer
   */
  public function removeObserver(CFObserver $observer);

  /**
   *  Notify all registered observers if needed.
   */
  public function checkNodeFields();

  /**
   * Returns node object.
   */
  public function getNode();

  /**
   * Returns changed fields.
   */
  public function getChangedFields();

}

Members

Namesort descending Modifiers Type Description Overrides
CFSubject::addObserver public function Add observer to list. 1
CFSubject::checkNodeFields public function Notify all registered observers if needed. 1
CFSubject::getChangedFields public function Returns changed fields. 1
CFSubject::getNode public function Returns node object. 1
CFSubject::removeObserver public function Remove observer from list. 1