Moodle

Install and Use PHP Composer on Ubuntu 16.04

Install and Use PHP Composer on Ubuntu 16.04 Table of Contents Introduction Composer vs PEAR Requirements Install PHP Composer Using PHP Composer Introduction PHP Composer is a package management system for PHP which prevents users from having to «reinvent the wheel» when it comes to commonly-used website components like user authentication or database management. Composer […]

Install and Use PHP Composer on Ubuntu 16.04 Leer más »

Moodle Page API

Page API The Page API is used to set up the current page, add JavaScript, and configure how things will be displayed to the user.     Contents 1 Overview 2 A simple example 3 $PAGE The Moodle page global 4 Setting up the page 4.1 URL 4.2 Context 4.3 Optional set up 4.3.1 Page

Moodle Page API Leer más »

Moodle Persistent Api

Persistent Moodle 3.3 Moodle persistents are equivalent to models (or active records). They represent an object stored in the database and provide the methods to create, read, update, and delete those objects. Additionally, the persistents validate their own data against automatic and custom validation rules. Persistents are made by extending the abstract class core\persistent. Properties

Moodle Persistent Api Leer más »

Moodle Output API

Output API Note: This page is a work-in-progress. Feedback and suggested improvements are welcome. Please join the discussion on moodle.org or use the page comments. Moodle 2.9 This page is a fresh attempt to explain how renderers, renderables, themes and templates all work together for Moodle 2.9. Lets start with building a page that is

Moodle Output API Leer más »

Moodle Web service protocols

Web service API functions   Web service protocols Name Moodle Ver. Description CORS Issue REST (returning XML) 2.0 XML data accessed through a REST API (not restful) Supported (3.0 and onwards) REST (returning JSON) 2.2 JSON data accessed through a REST API (not restful) Supported (3.0 and onwards) MDL-29242 REST (returning JSONP) 2.X Would be

Moodle Web service protocols Leer más »

Moodle developer’s cheat sheet

Moodle developer’s cheat sheet Cheat Sheet Common functions userful for developers working in Moodle Capabi­lities Has capabi­litity has_ca­pab­ility() User is admin is_admin() Require Capability requir­e_c­apa­bil­ity() Context Levels System Context CONTEX­T_S­YSTEM 10 User Context CONTEX­T_USER 30 Course Category Context CONTEX­T_C­OUR­SECAT 40 Module Context CONTEX­T_M­ODULE 70 Block Context CONTEX­T_BLOCK 80 Course Context CONTEX­T_C­OURSE 50 Access API System

Moodle developer’s cheat sheet Leer más »

Gamification with Moodle , moodle books

Gamification with Moodle     Frequently bought together Gamification with Moodle € 26.60 € 18.63 History Teaching with Moodle 2 € 22.97 € 16.09 Buy 2 for €34.10 Save €12.79 Add to Cart Book Details ISBN 139781782173076 Paperback134 pages Book Description This book describes how teachers can use Gamification design within the Moodle Learning Management System. Game

Gamification with Moodle , moodle books Leer más »