Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Search results

From MoodleDocs
  • ...eliability and Documentation.More of a library in a traditional sense, the functions are well organized and very reusable. They also claim compatibility with ot Scriptaculous drag and drop uses prototyped array functions - e.g.
    7 KB (1,127 words) - 08:16, 22 June 2011
  • ...oved. It is safe to call core subsystems from anywhere in Moodle - but the functions may return an error to indicate that a feature has been disabled. Each core * External functions
    13 KB (2,182 words) - 07:26, 6 May 2022
  • ==JavaScript== New Javscript in Moodle should be written as Vanilla javascript in the ES6 style. The use of jQuery, YUI, and other frameworks is strongly
    7 KB (1,101 words) - 13:20, 31 May 2022
  • ...rue. Global variable $USER contains information about current user. Useful functions: isloggedin(), isguestuser(), session_is_loggedinas(), require_login() ...ften treated differently when checking capabilities or enrollments. Useful functions: is_siteadmin()
    9 KB (1,489 words) - 02:43, 11 June 2013
  • * MDL-40137 - Correct naming of functions in theme/clean/lib.php * MDL-39778 - Course deletion now functions with badges.
    3 KB (434 words) - 09:07, 25 May 2022
  • ...he area within the image that counts as the correct area for the answer. A javascript student interface could allow the student to move a bullseye around the ima ==Core functions==
    10 KB (1,589 words) - 03:30, 15 September 2011
  • ...ag state will be toggled using an Ajax interface when it is clicked on. If JavaScript is off, there will be a check-box to show the state, which will be saved wh This will be accessed and updated through a few functions in questionlib.php.
    5 KB (906 words) - 01:48, 19 February 2009
  • ...en you should also implement is_applied_to_user_lists and filter_user_list functions. To see the full list, look at the PHPdoc for the condition and tree_node c The class is required, but all the functions are theoretically optional; you can leave them out if you don't need any sp
    13 KB (1,816 words) - 14:28, 22 July 2022
  • * In Javascript: ** Initialize the form in the listener to some javascript event (for example, a click on the "Add" or "Edit" link); show the form
    10 KB (1,483 words) - 08:24, 15 July 2021
  • ** Once Activated, All pages will include two extra JavaScript files: ** One JavaScript Library File - To allow fast JavaScript implementation of common features, libraries are generally tested on multip
    6 KB (981 words) - 05:24, 15 September 2011
  • * Works no matter Javascript is enabled or not Generally speaking, only two functions you need to know to get comment API worked:
    6 KB (866 words) - 15:08, 19 May 2023
  • ...e within your plugin. Into that file you create a namespace and define any functions or objects you want to use. ...e quirks that you need will need to overcome, especially with more complex JavaScript.
    15 KB (2,104 words) - 08:25, 15 July 2021
  • Please note that if your plugin doesn't use Ionic components nor JavaScript, it's possible that you don't have to adapt it. However, we recommend you t ...now asynchronous. This means that if your plugin is displaying a modal in JavaScript, you’ll probably need to adapt your code.
    9 KB (1,340 words) - 13:03, 14 July 2022
  • ...is to make interface more user-friendly and get rid of ‘Editing mode’ when Javascript is enabled. ...output used in course/view.php: hidden form for AJAX, functions including javascript libraries, etc.
    7 KB (1,121 words) - 05:55, 30 August 2012
  • ...small as possible as this file is included on every page. Put classes and functions elsewhere. * Where possible it is advisable to use the predefined functions rather than write out SQL. Writing SQL has a greater chance of not working
    15 KB (2,158 words) - 20:24, 14 July 2021
  • # [[Javascript-interface for repeat_elements function|Javascript-interface for repeat_elements function]] - adding new blanks to the form sh ...how to link question engine with lesson module]] - adding only two simple functions to the question definition we could create ideal connection with the lesson
    4 KB (540 words) - 21:18, 15 July 2023
  • * You have a medium/good skills/understand of Javascript, PHP and Moodle architecture ...rpose. Since Moodle 2.1 there is a pre-built service that contains all the functions needed for the official mobile app.
    10 KB (1,391 words) - 07:08, 29 April 2022
  • * Mobile remote add-ons uses special placeholders for paths inside Javascript code. ...d local_mobile) service using the "services" field when declaring external functions, see: https://github.com/jleyva/moodle-mod_certificate/blob/CONTRIB-6313/db
    6 KB (1,033 words) - 07:14, 29 April 2022
  • ...rtin Dougiamas]] proposed a new way to allow specific group of users enter JavaScript and all other tags into places where all text is normally cleaned. This fea ...is used to decide if the text should be cleaned or not. There are several functions that make the conversion of text fields a bit easier, but due to the fact t
    4 KB (577 words) - 07:52, 25 April 2012
  • The Moodle JavaScript coding style. ...eptions to the general Moodle [[Coding_style|Coding style]] which apply to JavaScript.
    20 KB (2,680 words) - 04:17, 4 October 2021
View ( | ) (20 | 50 | 100 | 250 | 500)