Proyectos de Subversion Moodle

Rev

Rev 292 | Rev 379 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 292 Rev 378
Línea 2... Línea 2...
2
 
2
 
Línea 3... Línea 3...
3
require_once(__DIR__ . '/cesa.php');
3
require_once(__DIR__ . '/cesa.php');
4
 
4
 
-
 
5
class StaticsBlocks extends Cesa
Línea 5... Línea 6...
5
class StaticsBlocks extends Cesa
6
{
6
{
7
    public $regions = ['side-post', 'side-pre', 'bellow-content', 'right'];
7
 
8
 
8
    public function __construct($title)
9
    public function __construct($title)
Línea 19... Línea 20...
19
        $this->user = core_user::get_user($this->userID);
20
        $this->user = core_user::get_user($this->userID);
20
        $this->title = get_string($title);
21
        $this->title = get_string($title);
21
        $this->blockManager = $PAGE->blocks;
22
        $this->blockManager = $PAGE->blocks;
Línea 22... Línea 23...
22
 
23
 
23
        // Definimos varias regiones
-
 
24
        $this->regions = ['side-post', 'side-pre', 'bellow-content', 'right'];
24
        // Definimos varias regiones
25
        $this->blockNames = ['cesa_course_rating', 'comments', 'messageteacher', 'mynotes'];
25
        $this->blockNames = ['cesa_course_rating', 'comments', 'messageteacher', 'mynotes'];
Línea 26... Línea 26...
26
        $this->blockExists = true;
26
        $this->blockExists = true;
27
 
27