class Notifications_Drupal_Object in Notifications 7
Wrapper for generic Drupal objects
This basically implements abstract methods with some defaults
@todo Get some information from entities
Hierarchy
- class \Notifications_Drupal_Object extends \Notifications_Object
Expanded class hierarchy of Notifications_Drupal_Object
2 string references to 'Notifications_Drupal_Object'
- notifications_object in ./
notifications.module - Create a wrapped object and keep a static cache of created objects.
- Notifications_Object::build in ./
notifications.object.inc - Build from type, value (can be a plain value or a Drupal object)
File
- ./
notifications.object.inc, line 267 - Drupal Notifications Framework - Default class file
View source
class Notifications_Drupal_Object extends Notifications_Object {
public function get_title() {
return t('Object');
}
/**
* Load related object or data
*/
public static function object_load($value) {
return NULL;
}
/**
* Get name for object
*/
public static function object_name($object) {
return t('unknown');
}
/**
* Map object to value (key)
*/
public static function object_value($object) {
return NULL;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Notifications_Drupal_Object:: |
public | function | 1 | |
Notifications_Drupal_Object:: |
public static | function | Load related object or data | 3 |
Notifications_Drupal_Object:: |
public static | function | Get name for object | 3 |
Notifications_Drupal_Object:: |
public static | function | Map object to value (key) | 3 |