public function set_data($datavalue, $datakey = null) {
        $this->datavalue = $datavalue;

        // We must clear the datakey when changing the datavalue.
        $this->set_data_key($datakey);
    }
public function set_data($datavalue, $datakey = null) {
        $this->datavalue = $datavalue;

        // We must clear the datakey when changing the datavalue.
        $this->set_data_key($datakey);
    }
public function set_data ( $ datavalue , $ datakey = null ) { $ this -> datavalue = $ datavalue ; // We must clear the datakey when changing the datavalue. $ this -> set_data_key ( $ datakey ) ; }
Specify an integer data item value for this record.

@param int $datavalue The value of the data item.
@param string $datakey A hash to use for the datakey
Specify an integer data item value for this record .