Add docblocks

This commit is contained in:
Luuk Verhoeven
2019-05-15 11:12:10 +02:00
parent eae1766021
commit 30db56880f
5 changed files with 7 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ class condition extends \core_availability\condition {
/**
* condition constructor.
*
* @param $structure
* @param \stdClass $structure
*/
public function __construct($structure) {
if (isset($structure->ipaddresses)) {
@@ -152,7 +152,7 @@ class condition extends \core_availability\condition {
/**
* Check if ip-address is valid
*
* @param $ipaddresses
* @param string $ipaddresses
*
* @return bool
*/

View File

@@ -37,6 +37,8 @@ defined('MOODLE_INTERNAL') || die;
class frontend extends \core_availability\frontend {
/**
* get_javascript_strings
*
* @return array
*/
protected function get_javascript_strings() {

View File

@@ -7,7 +7,7 @@ YUI.add('moodle-availability_ipaddress-form', function (Y, NAME) {
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 2019-05-14 Mfreak.nl | LdesignMedia.nl - Luuk Verhoeven
*/
/*eslint no-console: "error"*/
/**
* JavaScript for form editing grade conditions.
*

View File

@@ -7,7 +7,7 @@ YUI.add('moodle-availability_ipaddress-form', function (Y, NAME) {
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 2019-05-14 Mfreak.nl | LdesignMedia.nl - Luuk Verhoeven
*/
/*eslint no-console: "error"*/
/**
* JavaScript for form editing grade conditions.
*

View File

@@ -5,7 +5,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @copyright 2019-05-14 Mfreak.nl | LdesignMedia.nl - Luuk Verhoeven
*/
/*eslint no-console: "error"*/
/**
* JavaScript for form editing grade conditions.
*