Details
-
Type:
Task
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 2.0
-
Fix Version/s: None
-
Component/s: Block: Mrbs
-
Labels:None
-
Difficulty:Easy
-
Affected Branches:MOODLE_20_STABLE
Description
I noticed Eclipse was showing PHP errors in /blocks/mrbs/web/report.php and /blocks/mrbs/web/session_php.php. As PHP files I would like for these to use echo to generate the HTML so I want to clean them up. Peace - Anthony
Mike - I have begun to attempt to clean some things up in the MRBS block. I am going piecemeal so that we can easily revert any regressions I am making. At this point, I am mostly trying to clean up spacing and code readability issues to make things consistent with typical Moodle code. I am a bit of a purist in terms of file types. I do not like PHP files to contain HTML code so I am replacing some of those with echo statements. I have added you as a watcher so that you can monitor my progress. Next I want to go back through and change much of the database manipulation to use Moodle's dmllib.php functions (get_records, insert_record, update_record, etc.). Peace - Anthony