Changes between Version 3 and Version 4 of PrevTechDoc


Ignore:
Timestamp:
2010-06-03T21:58:14Z (14 years ago)
Author:
Serge Okon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PrevTechDoc

    v3 v4  
    3535=== Some useful functions: ===
    36361.Get all accessible courses:
    37 {{{     $courseList = $this->sysContainer->getMyCourseList(); }}}
     37{{{     
     38$courseList = $this->sysContainer->getMyCourseList();
     39}}}
    3840
    39412.Get no. of members within a group:
    40 {{{     $numMembers=$event['Event']['self_eval'] ? $this->GroupsMembers->findCount('group_id='.$groupId) :
    41                                                                    $this->GroupsMembers->findCount('group_id='.$groupId) - 1; }}}
    42 Caution: To upgrade CakePHP library for iPeer, please also look into the following files to change for iPeer customization:
    43 1.replace all thtml -> tpl.php, since iPeer use php extension instead of thtml
    44 2.change the controller.php in \cake\libs\controller
    45 3.change html.php helper in \cake\libs\view\helpers
    46 4.change dbo_source.php in \cake\libs\model\datasources
     42{{{     
     43$numMembers=$event['Event']['self_eval'] ? $this->GroupsMembers->findCount('group_id='.$groupId) : $this->GroupsMembers->findCount('group_id='.$groupId) - 1;
     44}}}
     45=== Caution: To upgrade CakePHP library for iPeer, please also look into the following files to change for iPeer customization: ===
     46 1.replace all thtml -> tpl.php, since iPeer use php extension instead of thtml
     47 2.change the controller.php in \cake\libs\controller
     48 3.change html.php helper in \cake\libs\view\helpers
     49 4.change dbo_source.php in \cake\libs\model\datasources
    4750
    48 UBC CWL Integration:
     51=== UBC CWL Integration:===
    4952Instead of the Sys_Parameter setting from database, there are two files for CWL integration:
    5053ipeer_v2\app\controller\loginout_controller.php