Added getController (an accessor method to $this->controller so we can use $Controller, or <% control Controller %> in the form templates)

This commit is contained in:
Sean Harvey 2008-04-21 08:32:05 +00:00
parent 22d9241021
commit aa6236b495

View File

@ -104,6 +104,14 @@ abstract class MultiForm extends Form {
}
}
/**
* Accessor method to $this->controller
* Returns the controller this form was instanciated on.
*/
public function getController() {
return $this->controller;
}
/**
* Get the current step.
* @return MultiFormStep subclass