class Notifications_Node_Type in Notifications 7
Node type object
Hierarchy
- class \Notifications_Drupal_Object extends \Notifications_Object
- class \Notifications_Node_Type
Expanded class hierarchy of Notifications_Node_Type
1 string reference to 'Notifications_Node_Type'
- notifications_content_notifications in notifications_content/
notifications_content.module - Implementation of hook_notifications()
File
- notifications_content/
notifications_content.inc, line 135 - Drupal Notifications Framework - Default class file
View source
class Notifications_Node_Type extends Notifications_Drupal_Object {
public $type = 'node_type';
public function get_title() {
return t('Content type');
}
/**
* Load related object or data
*/
public static function object_load($value) {
return node_type_get_type($value);
}
/**
* Get object name, unfiltered string
*/
public static function object_name($object) {
return $object->name;
}
/**
* Get object key
*/
public static function object_value($object) {
return $object->type;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Notifications_Node_Type:: |
public | property | ||
Notifications_Node_Type:: |
public | function |
Overrides Notifications_Drupal_Object:: |
|
Notifications_Node_Type:: |
public static | function |
Load related object or data Overrides Notifications_Drupal_Object:: |
|
Notifications_Node_Type:: |
public static | function |
Get object name, unfiltered string Overrides Notifications_Drupal_Object:: |
|
Notifications_Node_Type:: |
public static | function |
Get object key Overrides Notifications_Drupal_Object:: |