Lab Meeting after Spring Break
admin | IMS6 Apr 2010
This was the lab meeting after the Spring break, and we started out with how all spent their spring break. Later, we had to give updates on what we did on our projects. I personally had taken a look on the code and had a few ideas to describe how to go about doing it. This lab, I actually started porting the module, so I had to change couple of things:
class Modules_TeamManagement extends ME_Model {
to
class Modules_TeamManagement extends Ocelot_Module {
I commented the code:
public function __construct() {
parent::__construct();
/* $this->name="TeamManagement";
$this->TeamManagementXML=$this->SetupXML("Modules/TeamManagement/TeamManagement.xslt"); */
}
For the ControlPanel() I had to comment out authorize part, because we weren’t authorized for one thing, and for the other, the authorization module didn’t work properly.
Then I commented out the contents of the function run()
and I did some other edits and atleast the Module ran, but I got some kind of Exception, but that was a start!
Next, Michael discussed with us how to transfer tables from PHPMyAdmin. And later, after discussing with Barrett, he told us about the new database table renaming plan. The plan was that if some table is purely needed for a Module, it will have a prefix with a 2 letter code of the Module. For example for Survey it would be sv_survey.