Classes/Controller/RegistrationController.php
public function newAccountAction()
    {
        $uniqueUsername = 'demo' . (time() - 1302876012);
        $registration = new Registration();
        $registration->setFirstName('John');
        $registration->setLastName('Doe');
        $registration->setUsername($uniqueUsername);
        $registration->setPassword('demo');

        $this->view->assign('registration', $registration);
    }
public function newAccountAction()
    {
        $uniqueUsername = 'demo' . (time() - 1302876012);
        $registration = new Registration();
        $registration->setFirstName('John');
        $registration->setLastName('Doe');
        $registration->setUsername($uniqueUsername);
        $registration->setPassword('demo');

        $this->view->assign('registration', $registration);
    }
public function newAccountAction ( ) { $ uniqueUsername = 'demo' . ( time ( ) - 1302876012 ) ; $ registration = new Registration ( ) ; $ registration -> setFirstName ( 'John' ) ; $ registration -> setLastName ( 'Doe' ) ; $ registration -> setUsername ( $ uniqueUsername ) ; $ registration -> setPassword ( 'demo' ) ; $ this -> view -> assign ( 'registration' , $ registration ) ; }
Displays a form that creates a temporary account

@return void
Displays a form that creates a temporary account