common/services/traits/resources/DataTrait.php
public function updateDataMeta( $model, $key, $value ) {

		$model->updateDataMeta( $key, $value );

		$model->refresh();

		return $model;
	}
public function updateDataMeta( $model, $key, $value ) {

		$model->updateDataMeta( $key, $value );

		$model->refresh();

		return $model;
	}
public function updateDataMeta ( $ model , $ key , $ value ) { $ model -> updateDataMeta ( $ key , $ value ) ; $ model -> refresh ( ) ; return $ model ; }
Update the data object using given key and value.

@param \cmsgears\core\common\models\base\ActiveRecord $model
@param string $key
@param mixed $value
@return \cmsgears\core\common\models\base\ActiveRecord
Update the data object using given key and value .