protected function _getStepActive( MW_View_Interface $view, array $steps, $default )
	{
		$current = $view->param( 'c-step', $default );
		$cpos = $cpos = array_search( $current, $steps );

		if( !isset( $view->standardStepActive )
			|| ( ( $apos = array_search( $view->standardStepActive, $steps ) ) !== false
			&& $cpos !== false && $cpos < $apos )
		) {
			$view->standardStepActive = $current;
		}

		return $view->standardStepActive;
	}
protected function _getStepActive( MW_View_Interface $view, array $steps, $default )
	{
		$current = $view->param( 'c-step', $default );
		$cpos = $cpos = array_search( $current, $steps );

		if( !isset( $view->standardStepActive )
			|| ( ( $apos = array_search( $view->standardStepActive, $steps ) ) !== false
			&& $cpos !== false && $cpos < $apos )
		) {
			$view->standardStepActive = $current;
		}

		return $view->standardStepActive;
	}
protected function _getStepActive ( MW_View_Interface $ view , array $ steps , $ default ) { $ current = $ view -> param ( 'c-step' , $ default ) ; $ cpos = $ cpos = array_search ( $ current , $ steps ) ; if ( ! isset ( $ view -> standardStepActive ) || ( ( $ apos = array_search ( $ view -> standardStepActive , $ steps ) ) !== false && $ cpos !== false && $ cpos < $ apos ) ) { $ view -> standardStepActive = $ current ; } return $ view -> standardStepActive ; }
Returns the current active step.

@param MW_View_Interface $view View object
@param array $steps Ordered list of steps through the checkout process
@param string $default Default step
Returns the current active step .