. /** * This file contains a renderer for the assignment class * * @package assignfeedback_file * @copyright 2012 NetSpot {@link http://www.netspot.com.au} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * A renderable summary of the zip import * * @package assignfeedback_file * @copyright 2012 NetSpot {@link http://www.netspot.com.au} * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class assignfeedback_file_import_summary implements renderable { /** @var int $cmid Course module id for constructing navigation links */ public $cmid = 0; /** @var int $userswithnewfeedback The number of users who have received new feedback */ public $userswithnewfeedback = 0; /** @var int $feedbackfilesadded The number of new feedback files */ public $feedbackfilesadded = 0; /** @var int $feedbackfilesupdated The number of updated feedback files */ public $feedbackfilesupdated = 0; /** * Constructor for this renderable class * * @param int $cmid - The course module id for navigation * @param int $userswithnewfeedback - The number of users with new feedback * @param int $feedbackfilesadded - The number of feedback files added * @param int $feedbackfilesupdated - The number of feedback files updated */ public function __construct($cmid, $userswithnewfeedback, $feedbackfilesadded, $feedbackfilesupdated) { $this->cmid = $cmid; $this->userswithnewfeedback = $userswithnewfeedback; $this->feedbackfilesadded = $feedbackfilesadded; $this->feedbackfilesupdated = $feedbackfilesupdated; } }