芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/cepali/analytics/tests/fixtures/test_timesplitting_weekly.php
. /** * Time splitting method that generates weekly predictions. * * @package core_analytics * @copyright 2019 David Monllao {@link http://www.davidmonllao.com} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * Time splitting method that generates weekly predictions. * * @package core_analytics * @copyright 2019 David Monllao {@link http://www.davidmonllao.com} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class test_timesplitting_weekly extends \core_analytics\local\time_splitting\periodic { /** * The time splitting method name. * @return \lang_string */ public static function get_name() : \lang_string { return new \lang_string('error'); } /** * Once per week. * @return \DateInterval */ public function periodicity() { return new \DateInterval('P1W'); } }