class rules_data_type_heartbeat_message_id in Heartbeat 6.3
Same name and namespace in other branches
- 6.4 modules/heartbeat_rules/hrules.rules.inc \rules_data_type_heartbeat_message_id
Rules heartbeat activity message data type
Hierarchy
- class \rules_data_type
Expanded class hierarchy of rules_data_type_heartbeat_message_id
3 string references to 'rules_data_type_heartbeat_message_id'
- heartbeat_rules_data_type_info in ./
heartbeat.rules.inc - Implementation of hook_rules_data_type_info()
- heartbeat_token_list in ./
heartbeat.module - Implementation of hook_token_list().
- heartbeat_token_values in ./
heartbeat.module - Implementation of hook_token_values().
File
- ./
heartbeat.rules.inc, line 30
View source
class rules_data_type_heartbeat_message_id extends rules_data_type_heartbeat_message {
function check_value($info, $value) {
return (double) $value;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
rules_data_type:: |
property | |||
rules_data_type:: |
property | |||
rules_data_type:: |
property | |||
rules_data_type:: |
function | Constructor | ||
rules_data_type:: |
function | Returns whether the input evaluator should be used for this data | ||
rules_data_type:: |
function | Gets the data | ||
rules_data_type:: |
function | Gets the identifier of this data, which can be of every php data type - even an array. Implement it, if your data type is identifiable. | 5 | |
rules_data_type:: |
function | Gets the information about this data type. | ||
rules_data_type:: |
function | Inititate the data | ||
rules_data_type:: |
function | Returns whether this data is identifiable | ||
rules_data_type:: |
function | Returns whether this data is savable | ||
rules_data_type:: |
function | Loads the data identified with an identifier as returned by get_identifier(). Just return the data or FALSE if loading the data failed. | 5 | |
rules_data_type:: |
function | Makes changes to the data permanent. Implement it, if your data type is savable. | 1 | |
rules_data_type:: |
function | Replaces the data with the new one | ||
rules_data_type:: |
function | Returns whether this data makes use of an input form for creating an instance on the fly. | ||
rules_data_type_heartbeat_message:: |
function |
Gets the input form for the data
Implement it, if your data is not identifiable. Overrides rules_data_type:: |
||
rules_data_type_heartbeat_message_id:: |
function |
Checks the value of your data type. E.g. the number data type
uses this to make sure the value is a number. Overrides rules_data_type:: |