abstract class CFObserver in Changed Fields API 7.2
Same name and namespace in other branches
- 7 includes/changed_fields.core.inc \CFObserver
Class CFObserver.
Hierarchy
- class \CFObserver implements CFObserverInterface
Expanded class hierarchy of CFObserver
File
- includes/
changed_fields.core.inc, line 71 - File contains core classes and interfaces.
View source
abstract class CFObserver implements CFObserverInterface {
/**
* Observer unique identifier.
*
* @var string
*/
private $id;
/**
* Observer constructor.
*
* @param string $id
* Observer unique identifier.
*/
public function __construct($id) {
$this->id = $id;
}
/**
* {@inheritdoc}
*/
public abstract function update(CFSubjectInterface $nodeSubject);
/**
* {@inheritdoc}
*/
public function getId() {
return $this->id;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CFObserver:: |
private | property | Observer unique identifier. | |
CFObserver:: |
public | function |
Method to get observer id. Overrides CFObserverInterface:: |
|
CFObserver:: |
abstract public | function |
Update method with info about event. Overrides CFObserverInterface:: |
2 |
CFObserver:: |
public | function | Observer constructor. |