protected function _getListFieldsUpdateQueryResult() {
		$cachePath = 'local_fields_update_query_res';
		$cached = Cache::read($cachePath, CAKE_LDAP_CACHE_KEY_LDAP_SYNC_DB);
		if ($cached !== false) {
			return $cached;
		}

		$result = [];
		$bindFields = $this->_getListFieldsUpdateQueryConditions();
		if (empty($bindFields)) {
			return $result;
		}

		foreach ($bindFields as $bindFieldName => $bindFieldInfo) {
			if (isset($bindFieldInfo['subQuery'])) {
				$result[] = $bindFieldName;
			}
		}

		Cache::write($cachePath, $result, CAKE_LDAP_CACHE_KEY_LDAP_SYNC_DB);

		return $result;
	}
protected function _getListFieldsUpdateQueryResult() {
		$cachePath = 'local_fields_update_query_res';
		$cached = Cache::read($cachePath, CAKE_LDAP_CACHE_KEY_LDAP_SYNC_DB);
		if ($cached !== false) {
			return $cached;
		}

		$result = [];
		$bindFields = $this->_getListFieldsUpdateQueryConditions();
		if (empty($bindFields)) {
			return $result;
		}

		foreach ($bindFields as $bindFieldName => $bindFieldInfo) {
			if (isset($bindFieldInfo['subQuery'])) {
				$result[] = $bindFieldName;
			}
		}

		Cache::write($cachePath, $result, CAKE_LDAP_CACHE_KEY_LDAP_SYNC_DB);

		return $result;
	}
protected function _getListFieldsUpdateQueryResult ( ) { $ cachePath = 'local_fields_update_query_res' ; $ cached = Cache :: read ( $ cachePath , CAKE_LDAP_CACHE_KEY_LDAP_SYNC_DB ) ; if ( $ cached !== false ) { return $ cached ; } $ result = [ ] ; $ bindFields = $ this -> _getListFieldsUpdateQueryConditions ( ) ; if ( empty ( $ bindFields ) ) { return $ result ; } foreach ( $ bindFields as $ bindFieldName => $ bindFieldInfo ) { if ( isset ( $ bindFieldInfo [ 'subQuery' ] ) ) { $ result [ ] = $ bindFieldName ; } } Cache :: write ( $ cachePath , $ result , CAKE_LDAP_CACHE_KEY_LDAP_SYNC_DB ) ; return $ result ; }
Return list of fields for updating query result

@return array Return list of fields for updating query result.
Return list of fields for updating query result