interface CFSubjectInterface in Changed Fields API 7.2
Interface CFSubjectInterface.
Hierarchy
- interface \CFSubjectInterface
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CFSubjectInterface:: |
public | function | Add observer to list. | 1 |
CFSubjectInterface:: |
public | function | Notify all registered observers if needed. | 1 |
CFSubjectInterface:: |
public | function | Returns changed fields. | 1 |
CFSubjectInterface:: |
public | function | Returns node object. | 1 |
CFSubjectInterface:: |
public | function | Remove observer from list. | 1 |