-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
388 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,10 @@ | |
* Contains the default activity list from a section. | ||
* | ||
* @package format_topcoll | ||
* @version See the value of '$plugin->version' in version.php. | ||
* @copyright © 2022-onwards G J Barnard in respect to modifications of standard topics format. | ||
* @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} | ||
* @copyright 2020 Ferran Recio <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @author G J Barnard - {@link https://moodle.org/user/profile.php?id=442195} | ||
* @copyright 2020 Ferran Recio <[email protected]> | ||
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
namespace format_topcoll\output\courseformat\content; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,10 @@ | |
* Contains the default section controls output class. | ||
* | ||
* @package format_topcoll | ||
* @version See the value of '$plugin->version' in version.php. | ||
* @copyright © 2022-onwards G J Barnard in respect to modifications of core code. | ||
* @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} | ||
* @author G J Barnard - {@link https://moodle.org/user/profile.php?id=442195} | ||
* @copyright 2020 Ferran Recio <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
namespace format_topcoll\output\courseformat\content\section; | ||
|
@@ -35,6 +34,12 @@ | |
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
class cmitem extends \core_courseformat\output\local\content\section\cmitem { | ||
/** | ||
* Get the name of the template to use for this templatable. | ||
* | ||
* @param \renderer_base $renderer The renderer requesting the template name | ||
* @return string | ||
*/ | ||
public function get_template_name(\renderer_base $renderer): string { | ||
return 'format_topcoll/local/content/section/cmitem'; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,10 @@ | |
* Contains the default section controls output class. | ||
* | ||
* @package format_topcoll | ||
* @version See the value of '$plugin->version' in version.php. | ||
* @copyright © 2022-onwards G J Barnard in respect to modifications of core code. | ||
* @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} | ||
* @copyright 2020 Ferran Recio <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @author G J Barnard - {@link https://moodle.org/user/profile.php?id=442195} | ||
* @copyright 2020 Ferran Recio <[email protected]> | ||
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
namespace format_topcoll\output\courseformat\content\section; | ||
|
@@ -31,10 +30,16 @@ | |
* Class to render a section activity list. | ||
* | ||
* @package format_topcoll | ||
* @copyright © 2022-onwards G J Barnard. | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @copyright © 2022-onwards G J Barnard. | ||
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
class cmlist extends \core_courseformat\output\local\content\section\cmlist { | ||
/** | ||
* Get the name of the template to use for this templatable. | ||
* | ||
* @param \renderer_base $renderer The renderer requesting the template name | ||
* @return string | ||
*/ | ||
public function get_template_name(\renderer_base $renderer): string { | ||
return 'format_topcoll/local/content/section/cmlist'; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,10 @@ | |
* Contains the default section controls output class. | ||
* | ||
* @package format_topcoll | ||
* @version See the value of '$plugin->version' in version.php. | ||
* @copyright © 2021-onwards G J Barnard in respect to modifications of standard topics format. | ||
* @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} | ||
* @copyright 2020 Ferran Recio <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @author G J Barnard - {@link https://moodle.org/user/profile.php?id=442195} | ||
* @copyright 2020 Ferran Recio <[email protected]> | ||
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
namespace format_topcoll\output\courseformat\content\section; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,10 @@ | |
* Contains the default section controls output class. | ||
* | ||
* @package format_topcoll | ||
* @version See the value of '$plugin->version' in version.php. | ||
* @copyright © 2023-onwards G J Barnard in respect to modifications of standard topics format. | ||
* @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} | ||
* @author G J Barnard - {@link https://moodle.org/user/profile.php?id=442195} | ||
* @copyright 2020 Ferran Recio <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
namespace format_topcoll\output\courseformat\content; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,15 +17,13 @@ | |
/** | ||
* Collapsed Topics | ||
* | ||
* Contains the default section controls output class. | ||
* Contains the default section selector. | ||
* | ||
* @package format_topcoll | ||
* @version See the value of '$plugin->version' in version.php. | ||
* @copyright © 2023-onwards G J Barnard in respect to modifications of standard topics format. | ||
* @author G J Barnard - {@link http://moodle.org/user/profile.php?id=442195} | ||
* @author G J Barnard - {@link https://moodle.org/user/profile.php?id=442195} | ||
* @copyright 2020 Ferran Recio <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
namespace format_topcoll\output\courseformat\content; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.