You are here

function rules_data_type::get in Rules 6

Gets the data

6 calls to rules_data_type::get()
rules_data_type_comment::get_identifier in rules/modules/comment.rules.inc
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.
rules_data_type_node::get_identifier in rules/modules/node.rules.inc
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.
rules_data_type_node::save in rules/modules/node.rules.inc
Makes changes to the data permanent. Implement it, if your data type is savable.
rules_data_type_taxonomy_term::get_identifier in rules/modules/taxonomy.rules.inc
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.
rules_data_type_taxonomy_vocab::get_identifier in rules/modules/taxonomy.rules.inc
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.

... See full list

File

rules/rules.data_types.inc, line 76
Defines the data type class

Class

rules_data_type
Base data type class, from which special data types can be derived.

Code

function &get() {
  return $this->_data;
}