common/services/traits/resources/DataTrait.php
public function updateDataMetaObj( $model, $meta ) {

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

		$model->refresh();

		return $model;
	}
public function updateDataMetaObj( $model, $meta ) {

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

		$model->refresh();

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

@param \cmsgears\core\common\models\base\ActiveRecord $model
@param \cmsgears\core\common\models\forms\Meta $meta
@return \cmsgears\core\common\models\base\ActiveRecord
Update the data object using meta model .