You are here

interface CFSubjectInterface in Changed Fields API 7.2

Interface CFSubjectInterface.

Hierarchy

Expanded class hierarchy of CFSubjectInterface

All classes that implement CFSubjectInterface

File

includes/changed_fields.core.inc, line 11
File contains core classes and interfaces.

View source
interface CFSubjectInterface {

  /**
   * Add observer to list.
   *
   * @param CFObserverInterface $observer
   *   Observer object to add.
   */
  public function addObserver(CFObserverInterface $observer);

  /**
   * Remove observer from list.
   *
   * @param CFObserverInterface $observer
   *   Observer object to remove.
   */
  public function removeObserver(CFObserverInterface $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
CFSubjectInterface::addObserver public function Add observer to list. 1
CFSubjectInterface::checkNodeFields public function Notify all registered observers if needed. 1
CFSubjectInterface::getChangedFields public function Returns changed fields. 1
CFSubjectInterface::getNode public function Returns node object. 1
CFSubjectInterface::removeObserver public function Remove observer from list. 1