protected static function envDetectParseSysConfigClientIps (& $data, $rawClientIps) {
		$data->clientIps->check = TRUE;
		if (is_string($rawClientIps)) {
			if (substr($rawClientIps, 0, 1) == '/') {
				$data->clientIps->regExeps[] = $rawClientIps;
			} else {
				$data->clientIps->values = array_merge(
					$data->clientIps->values, 
					explode(',', str_replace(' ', '', $rawClientIps))
				);
			}
		} else if (is_array($rawClientIps) || $rawClientIps instanceof \stdClass) {
			foreach ((array) $rawClientIps as $rawClientIpsItem) {
				if (substr($rawClientIpsItem, 0, 1) == '/') {
					$data->clientIps->regExeps[] = $rawClientIpsItem;
				} else {
					$data->clientIps->values = array_merge(
						$data->clientIps->values, 
						explode(',', str_replace(' ', '', $rawClientIpsItem))
					);
				}
			}
		}
	}
protected static function envDetectParseSysConfigClientIps (& $data, $rawClientIps) {
		$data->clientIps->check = TRUE;
		if (is_string($rawClientIps)) {
			if (substr($rawClientIps, 0, 1) == '/') {
				$data->clientIps->regExeps[] = $rawClientIps;
			} else {
				$data->clientIps->values = array_merge(
					$data->clientIps->values, 
					explode(',', str_replace(' ', '', $rawClientIps))
				);
			}
		} else if (is_array($rawClientIps) || $rawClientIps instanceof \stdClass) {
			foreach ((array) $rawClientIps as $rawClientIpsItem) {
				if (substr($rawClientIpsItem, 0, 1) == '/') {
					$data->clientIps->regExeps[] = $rawClientIpsItem;
				} else {
					$data->clientIps->values = array_merge(
						$data->clientIps->values, 
						explode(',', str_replace(' ', '', $rawClientIpsItem))
					);
				}
			}
		}
	}
protected static function envDetectParseSysConfigClientIps ( & $ data , $ rawClientIps ) { $ data -> clientIps -> check = TRUE ; if ( is_string ( $ rawClientIps ) ) { if ( substr ( $ rawClientIps , 0 , 1 ) == '/' ) { $ data -> clientIps -> regExeps [ ] = $ rawClientIps ; } else { $ data -> clientIps -> values = array_merge ( $ data -> clientIps -> values , explode ( ',' , str_replace ( ' ' , '' , $ rawClientIps ) ) ) ; } } else if ( is_array ( $ rawClientIps ) || $ rawClientIps instanceof \ stdClass ) { foreach ( ( array ) $ rawClientIps as $ rawClientIpsItem ) { if ( substr ( $ rawClientIpsItem , 0 , 1 ) == '/' ) { $ data -> clientIps -> regExeps [ ] = $ rawClientIpsItem ; } else { $ data -> clientIps -> values = array_merge ( $ data -> clientIps -> values , explode ( ',' , str_replace ( ' ' , '' , $ rawClientIpsItem ) ) ) ; } } } }
Parse system config environment section data from various declarations
about client IP addresses into specific detection structure.
@param \stdClass $data
@param mixed $rawClientIps
@return void
Parse system config environment section data from various declarations about client IP addresses into specific detection structure .