class Notifications_Taxonomy_Vocabulary in Notifications 7
Taxonomy vocabulary object
Hierarchy
- class \Notifications_Taxonomy_Vocabulary extends \Notifications_Object
Expanded class hierarchy of Notifications_Taxonomy_Vocabulary
1 string reference to 'Notifications_Taxonomy_Vocabulary'
- notifications_tags_notifications in notifications_tags/
notifications_tags.module - Implementation of hook_notifications().
File
- notifications_tags/
notifications_tags.inc, line 121 - Drupal Notifications Framework - Default class file
View source
class Notifications_Taxonomy_Vocabulary extends Notifications_Object {
public $type = 'taxonomy_vocabulary';
/**
* Title
*/
public function get_title() {
return t('Vocabulary');
}
/**
* Token type
*/
public function get_token_type() {
return 'vocabulary';
}
/**
* Load object
*/
public static function object_load($value) {
return taxonomy_vocabulary_load($value);
}
/**
* Get name for object
*/
public static function object_name($vocabulary) {
return $vocabulary->name;
}
/**
* Get value for object
*/
public static function object_value($vocabulary) {
return $vocabulary->vid;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Notifications_Taxonomy_Vocabulary:: |
public | property | ||
Notifications_Taxonomy_Vocabulary:: |
public | function | Title | |
Notifications_Taxonomy_Vocabulary:: |
public | function | Token type | |
Notifications_Taxonomy_Vocabulary:: |
public static | function | Load object | |
Notifications_Taxonomy_Vocabulary:: |
public static | function | Get name for object | |
Notifications_Taxonomy_Vocabulary:: |
public static | function | Get value for object |