protected function _getLocalFieldsValidationRules() {
		$result = [];
		$localFields = $this->_modelConfigSync->getLocalFieldsInfo();
		if (empty($localFields)) {
			return $result;
		}

		foreach ($localFields as $localFieldName => $localFieldInfo) {
			if (!isset($localFieldInfo['rules']) || empty($localFieldInfo['rules'])) {
				continue;
			}

			$result[$localFieldName] = $localFieldInfo['rules'];
		}

		return $result;
	}
protected function _getLocalFieldsValidationRules() {
		$result = [];
		$localFields = $this->_modelConfigSync->getLocalFieldsInfo();
		if (empty($localFields)) {
			return $result;
		}

		foreach ($localFields as $localFieldName => $localFieldInfo) {
			if (!isset($localFieldInfo['rules']) || empty($localFieldInfo['rules'])) {
				continue;
			}

			$result[$localFieldName] = $localFieldInfo['rules'];
		}

		return $result;
	}
protected function _getLocalFieldsValidationRules ( ) { $ result = [ ] ; $ localFields = $ this -> _modelConfigSync -> getLocalFieldsInfo ( ) ; if ( empty ( $ localFields ) ) { return $ result ; } foreach ( $ localFields as $ localFieldName => $ localFieldInfo ) { if ( ! isset ( $ localFieldInfo [ 'rules' ] ) || empty ( $ localFieldInfo [ 'rules' ] ) ) { continue ; } $ result [ $ localFieldName ] = $ localFieldInfo [ 'rules' ] ; } return $ result ; }
Return list of validation rules for `local` fields

@return array Return list of validation rules.
Return list of validation rules for local fields