Rev 340 | AutorÃa | Comparar con el anterior | Ultima modificación | Ver Log |
<?php
require_once(__DIR__ . '/cesa.php');
require_login();
global $PAGE;
$PAGE->set_context(context_system::instance());
class Progress extends Cesa
{
public function __construct()
{
parent::__construct('inprogress', ['progreso_detalles'], 'side-pre');
}
public function render()
{
global $PAGE, $CFG, $OUTPUT;
$PAGE->set_url('/cesa/progress.php', array('userid' => $this->userID));
$this->blockManager->load_blocks(true);
$this->validateIfExistBlocks('side-pre');
$this->addBlocksIfNotExist('inprogress');
$view = $OUTPUT->header();
// $view .= $OUTPUT->blocks_for_region($this->regionName);
//$view .= $OUTPUT->custom_block_region('content');
$view .= $OUTPUT->footer();
return $view;
}
}
$cesaProgress = new Progress();
echo $cesaProgress->render();