You are here

function Notifications_Field::object_value in Notifications 7

Get value/s from object

1 call to Notifications_Field::object_value()
Notifications_Taxonomy_Term_Field::object_value in notifications_tags/notifications_tags.inc
Get value/s from object
3 methods override Notifications_Field::object_value()
Notifications_Node_Author_Field::object_value in notifications_user/notifications_user.inc
Get object value.
Notifications_Node_Type_Field::object_value in notifications_content/notifications_content.inc
Get value from node or from node type
Notifications_Taxonomy_Term_Field::object_value in notifications_tags/notifications_tags.inc
Get value/s from object

File

./notifications.field.inc, line 141
Drupal Notifications Framework - Default class file

Class

Notifications_Field
Base class for Notifications fields

Code

function object_value($object) {
  if ($object->type == $this->object_type) {
    return $object
      ->get_value();
  }
}