You are here

function rules_data_type::init in Rules 6

Inititate the data

Parameters

$data If available, the actual argument.:

File

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

Class

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

Code

function init(&$data) {
  $this->_data =& $data;
}