final public function validateDataTypesSingleValue($k, $v, $in_value, $error_field = null) {
		// we set error field as main key
		if (empty($error_field)) {
			$error_field = $k;
		}
		$result = \Object\Table\Columns::validateSingleColumn($k, $v['options'], $in_value);
		if (!$result['success']) {
			$this->error('danger', $result['error'], $error_field, ['skip_i18n' => true]);
		}
		return $result['data'];
	}
final public function validateDataTypesSingleValue($k, $v, $in_value, $error_field = null) {
		// we set error field as main key
		if (empty($error_field)) {
			$error_field = $k;
		}
		$result = \Object\Table\Columns::validateSingleColumn($k, $v['options'], $in_value);
		if (!$result['success']) {
			$this->error('danger', $result['error'], $error_field, ['skip_i18n' => true]);
		}
		return $result['data'];
	}
final public function validateDataTypesSingleValue ( $ k , $ v , $ in_value , $ error_field = null ) { // we set error field as main key if ( empty ( $ error_field ) ) { $ error_field = $ k ; } $ result = \ Object \ Table \ Columns :: validateSingleColumn ( $ k , $ v [ 'options' ] , $ in_value ) ; if ( ! $ result [ 'success' ] ) { $ this -> error ( 'danger' , $ result [ 'error' ] , $ error_field , [ 'skip_i18n' => true ] ) ; } return $ result [ 'data' ] ; }
Validate data type for single value

@param string $k
@param array $v
@param mixed $in_value
@param string $error_field
Validate data type for single value