Rev 180 | Rev 186 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
<?php
require_once(__DIR__ . '/cesa.php');
class StaticsBlocks extends Cesa
{
public function __construct()
{
parent::__construct('statics_blocks', 'comments', 'side-pre');
}
public function render()
{
global $PAGE, $CFG, $OUTPUT;
$PAGE->set_url('/cesa/statics_blocks.php', array('userid' => $this->userID));
$this->addRegion();
$this->blockManager->load_blocks(true);
$this->validateIfExistBlock();
$this->redirectIfNotExistBlock('statics_blocks');
$view = $OUTPUT->header();
//$view .= $OUTPUT->blocks_for_region($this->regionName);
$view .= $OUTPUT->footer();
return $view;
}
}
$statics_blocks = new StaticsBlocks();
echo $statics_blocks->render();