$sql = "SELECT member_id, country from ".TABLE_PREFIX. For more about using queryDB(), refer to the queryDB() section of the Developer Documentation. The output from queryDB() is an array of values equivalent to an array that would be output from mysql_fetch_assoc(). leadership and important feature for students was content navigation and for. The following simple example shows how queryDB() is used to create a database call that is equivalent to a mysql call. Effects of ATutor Platform on Learning Outcomes in Agricultural Science. This accommodates for the use of mysql or mysqli related database queries, as well as the use of databases other than MySQL. It is a database abstraction layer based of PHP's sprintf() function that replaces all previous mysql related functions. The primary difference in creating module for versions after, and including ATutor 2.2, is the addition of the queryDB() function. Also see the files from other modules that operate like you expect your module to operate. A copy of the Hello World module works well as a starting point for creating a new module, since it implements (in a simple way) just about all the features found in modules. In general, when it comes to Moodle VS Atutor, the latter takes pride in better and faster accessibility. It is not guaranteed that the strength of your network connection will always be high regardless of time and/or place. The module is found in the mods/hello_world directory. When it comes to online learning, the ease of accessibility is a priority. The Hello World example module is included with each ATutor distribution for developers who want to investigate how modules work. The module structure does allow for the creation of modules that run software that is not distributed under the GNU General Public License, but distributed separately under their own, perhaps commercial licenses. The intent is to allow for the development and distribution of modules independent of the ongoing development and release of ATutor. The framework defines methods for assigning privileges, backing-up and restoring content, deleting course specific content, and adding side menu blocks, student tools, course management and administrative tools, as well as public tools and other types of added functionality. $sql = "SELECT member_id, country from ".TABLE_PREFIX.ATutor Module Documentation Module Development Documentation ATutor 2.2+ĪTutor 1.5.2 introduced the concept of modules, providing developers with a framework to implement additional functionality in a coherent and loosely coupled way. The following simple example shows how queryDB() is used to create a database call that is equivalent to a mysql call. To create new courses, login to the website with your administrator user and navigate to the admin area of the site. The module is found in the mods/hello_world directory. ATutor Module Documentation Module Development Documentation ATutor 2.2+ĪTutor 1.5.2 introduced the concept of modules, providing developers with a framework to implement additional functionality in a coherent and loosely coupled way.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |