readme.txt 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <h1>
  2. <a id="user-content-advanced-subscription-plugin-for-chamilo-lms" class="anchor" href="#advanced-subscription-plugin-for-chamilo-lms" aria-hidden="true"><span class="octicon octicon-link"></span></a>Advanced subscription plugin for Chamilo LMS</h1>
  3. <p>Plugin for managing the registration queue and communication to sessions
  4. from an external website creating a queue to control session subscription
  5. and sending emails to approve student subscription request</p>
  6. <h1>
  7. <a id="user-content-requirements" class="anchor" href="#requirements" aria-hidden="true"><span class="octicon octicon-link"></span></a>Requirements</h1>
  8. <p>Chamilo LMS 1.10 or greater</p>
  9. <h1>
  10. <a id="user-content-settings" class="anchor" href="#settings" aria-hidden="true"><span class="octicon octicon-link"></span></a>Settings</h1>
  11. <table>
  12. <thead>
  13. <tr>
  14. <th>Parameters</th>
  15. <th>Description</th>
  16. </tr>
  17. </thead>
  18. <tbody>
  19. <tr>
  20. <td>Webservice url</td>
  21. <td>Url to external website to get user profile (SOAP)</td>
  22. </tr>
  23. <tr>
  24. <td>Induction requirement</td>
  25. <td>Checkbox to enable induction as requirement</td>
  26. </tr>
  27. <tr>
  28. <td>Courses count limit</td>
  29. <td>Number of times a student is allowed at most to course by year</td>
  30. </tr>
  31. <tr>
  32. <td>Yearly hours limit</td>
  33. <td>Teaching hours a student is allowed at most to course by year</td>
  34. </tr>
  35. <tr>
  36. <td>Yearly cost unit converter</td>
  37. <td>The cost of a taxation unit value (TUV)</td>
  38. </tr>
  39. <tr>
  40. <td>Yearly cost limit</td>
  41. <td>Number of TUV student courses is allowed at most to cost by year</td>
  42. </tr>
  43. <tr>
  44. <td>Year start date</td>
  45. <td>Date (dd/mm) when the year limit is renewed</td>
  46. </tr>
  47. <tr>
  48. <td>Minimum percentage profile</td>
  49. <td>Minimum percentage required from external website profile</td>
  50. </tr>
  51. </tbody>
  52. </table>
  53. <h1>
  54. <a id="user-content-hooks" class="anchor" href="#hooks" aria-hidden="true"><span class="octicon octicon-link"></span></a>Hooks</h1>
  55. <p>This plugin use the next hooks:</p>
  56. <ul class="task-list">
  57. <li>HookAdminBlock</li>
  58. <li>HookWSRegistration</li>
  59. <li>HookNotificationContent</li>
  60. <li>HookNotificationTitle</li>
  61. </ul>
  62. <h1>
  63. <a id="user-content-web-services" class="anchor" href="#web-services" aria-hidden="true"><span class="octicon octicon-link"></span></a>Web services</h1>
  64. <ul class="task-list">
  65. <li>HookAdvancedSubscription..WSSessionListInCategory</li>
  66. <li>HookAdvancedSubscription..WSSessionGetDetailsByUser</li>
  67. <li>HookAdvancedSubscription..WSListSessionsDetailsByCategory</li>
  68. </ul>
  69. <p>See <code>/plugin/advanced_subscription/src/HookAdvancedSubscription.php</code> to check Web services inputs and outputs</p>
  70. <h1>
  71. <a id="user-content-how-plugin-works" class="anchor" href="#how-plugin-works" aria-hidden="true"><span class="octicon octicon-link"></span></a>How plugin works?</h1>
  72. <p>After install plugin, fill the parameters needed (described above)
  73. Use Web services to communicate course session inscription from external website
  74. This allow to student to search course session and subscribe if is qualified
  75. and allowed to subscribe.
  76. The normal process is:</p>
  77. <ul class="task-list">
  78. <li>Student search course session</li>
  79. <li>Student read session info depending student data</li>
  80. <li>Student request a subscription</li>
  81. <li>A confirmation email is send to student</li>
  82. <li>An email is send to users (superior or admins) who will accept or reject student request</li>
  83. <li>When the user aceept o reject, an email will be send to student, superior or admins respectively</li>
  84. <li>To complete the subscription, the request must be validated and accepted by an admin</li>
  85. </ul>