code/pages/RegistrableEvent.php
public function registration($request) {
		$id = $request->param('ID');
		if (!ctype_digit($id)) {
			return $this->httpError(404);
		}
		$rego = EventRegistration::get()->byID($id);
		if (!$rego || $rego->EventID != $this->ID) {
			return $this->httpError(404);
		}
		$request->shift();
		$request->shiftAllParams();

		return new EventRegistrationDetailsController($this, $rego);
	}
public function registration($request) {
		$id = $request->param('ID');
		if (!ctype_digit($id)) {
			return $this->httpError(404);
		}
		$rego = EventRegistration::get()->byID($id);
		if (!$rego || $rego->EventID != $this->ID) {
			return $this->httpError(404);
		}
		$request->shift();
		$request->shiftAllParams();

		return new EventRegistrationDetailsController($this, $rego);
	}
public function registration ( $ request ) { $ id = $ request -> param ( 'ID' ) ; if ( ! ctype_digit ( $ id ) ) { return $ this -> httpError ( 404 ) ; } $ rego = EventRegistration :: get ( ) -> byID ( $ id ) ; if ( ! $ rego || $ rego -> EventID != $ this -> ID ) { return $ this -> httpError ( 404 ) ; } $ request -> shift ( ) ; $ request -> shiftAllParams ( ) ; return new EventRegistrationDetailsController ( $ this , $ rego ) ; }
Allows a user to view the details of their registration.

@param SS_HTTPRequest $request
@return EventRegistrationDetailsController
Allows a user to view the details of their registration .