Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
6867e05d
Commit
6867e05d
authored
Jan 04, 2010
by
David Mudrak
Browse files
Adding formal source code conventions
parent
e256f8c4
Changes
4
Hide whitespace changes
Inline
Side-by-side
mod/workshop/lib.php
View file @
6867e05d
...
...
@@ -30,6 +30,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined
(
'MOODLE_INTERNAL'
)
||
die
();
/**
* The internal codes of the anonymity levels
...
...
mod/workshop/mod_form.php
View file @
6867e05d
...
...
@@ -28,6 +28,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined
(
'MOODLE_INTERNAL'
)
||
die
();
require_once
(
$CFG
->
dirroot
.
'/course/moodleform_mod.php'
);
class
mod_workshop_mod_form
extends
moodleform_mod
{
...
...
mod/workshop/settings.php
View file @
6867e05d
<?php
//$Id$
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* The workshop module configuration variables
*
* The values defined here are often used as defaults for all module instances.
*
* @package mod-workshop
* @copyright 2009 David Mudrak <david.mudrak@gmail.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined
(
'MOODLE_INTERNAL'
)
||
die
();
require_once
(
$CFG
->
dirroot
.
'/mod/workshop/lib.php'
);
...
...
@@ -46,4 +74,3 @@ $settings->add(new admin_setting_configselect('workshop/assessmentcomps', get_st
$settings->add(new admin_setting_configcheckbox('assignment_showrecentsubmissions', get_string('showrecentsubmissions', 'assignment'),
get_string('configshowrecentsubmissions', 'assignment'), 1));
*/
?>
mod/workshop/version.php
View file @
6867e05d
...
...
@@ -27,6 +27,8 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined
(
'MOODLE_INTERNAL'
)
||
die
();
$module
->
version
=
2009052100
;
$module
->
requires
=
2009050619
;
// Requires this Moodle version
$module
->
cron
=
60
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment