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