26/08/2013 10:34am

PHP | Problem - ApplicationMultiForm.php


<?php


class ApplicationMultiForm extends MultiForm {

public static $start_step = 'ApplicationPersonalDetailsFormStep';

public function finish($data, $form) {
parent::finish($data, $form);
$steps = DataObject::get('MultiFormStep', "SessionID = {$this->session->ID}");

$output = array();

foreach($steps as $step) {
$output = array_merge($output, $step->loadData());
}
}


}


Post Comment