protected function _getBehaviorConfig(Model $model, $configParam = null) {
		if (empty($configParam) ||
			!isset($model->Behaviors->Tree->settings[$model->alias][$configParam])) {
			return null;
		}

		$result = $model->Behaviors->Tree->settings[$model->alias][$configParam];

		return $result;
	}
protected function _getBehaviorConfig(Model $model, $configParam = null) {
		if (empty($configParam) ||
			!isset($model->Behaviors->Tree->settings[$model->alias][$configParam])) {
			return null;
		}

		$result = $model->Behaviors->Tree->settings[$model->alias][$configParam];

		return $result;
	}
protected function _getBehaviorConfig ( Model $ model , $ configParam = null ) { if ( empty ( $ configParam ) || ! isset ( $ model -> Behaviors -> Tree -> settings [ $ model -> alias ] [ $ configParam ] ) ) { return null ; } $ result = $ model -> Behaviors -> Tree -> settings [ $ model -> alias ] [ $ configParam ] ; return $ result ; }
Return value of configuration behavior by parameter.

@param Model $model Model using this behavior.
@param string $configParam Parameter of configuration behavior.
@return mixed|null Return value of configuration behavior for parameter,
or null on failure.
Return value of configuration behavior by parameter .