NewgroupAction converted to extend FormAction
Had to change Action function 'prepare' to 'protected', as you can't (of course) protect something that's been public in a parent class. The other way around seems fine for PHP... Eventually all actions will have protected 'prepare' (use execute/run) A feature of the previously fixed initialization of Action classes, is that we now have $this->scoped which is the current profile in use. As of now that is always a local User, except the corresponding Profile object. Also, instead of calling 'showForm' everywhere, in case of an error we just throw an exception of some sort and pass the message along there. I've also introduced in FormAction the 'showInstructions' function in order to get a unified instructions/info/error display method. TODO: Improve info/error message handling, and what/when/where to show.
Showing with 48 additions and 75 deletions