Model/Behavior/SoftDeleteBehavior.php
protected function _normalizeFields($model, $settings = array()) {
		if (empty($settings)) {
			$settings = $this->settings[$model->alias];
		}
		$result = array();
		foreach ($settings as $flag => $date) {
			if (is_numeric($flag)) {
				$flag = $date;
				$date = false;
			}
			$result[$flag] = $date;
		}
		return $result;
	}
protected function _normalizeFields($model, $settings = array()) {
		if (empty($settings)) {
			$settings = $this->settings[$model->alias];
		}
		$result = array();
		foreach ($settings as $flag => $date) {
			if (is_numeric($flag)) {
				$flag = $date;
				$date = false;
			}
			$result[$flag] = $date;
		}
		return $result;
	}
protected function _normalizeFields ( $ model , $ settings = array ( ) ) { if ( empty ( $ settings ) ) { $ settings = $ this -> settings [ $ model -> alias ] ; } $ result = array ( ) ; foreach ( $ settings as $ flag => $ date ) { if ( is_numeric ( $ flag ) ) { $ flag = $ date ; $ date = false ; } $ result [ $ flag ] = $ date ; } return $ result ; }
Return normalized field array

@param object $model
@param array $settings
@return array
Return normalized field array