Proyectos de Subversion Moodle

Rev

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

Rev 172 Rev 176
Línea 4... Línea 4...
4
require_login();
4
require_login();
Línea 5... Línea 5...
5
 
5
 
6
global $PAGE;
6
global $PAGE;
Línea 7... Línea 7...
7
$PAGE->set_context(context_system::instance());
7
$PAGE->set_context(context_system::instance());
-
 
8
 
8
 
9
class Progress extends Cesa
9
class Progress extends Cesa {
10
{
10
    
11
 
11
    public function __construct() 
12
    public function __construct()
12
    {
13
    {
Línea 13... Línea 14...
13
        parent::__construct('inprogress',  'progreso_detalles', 'below-content');
14
        parent::__construct('inprogress',  'progreso_detalles', 'side-pre');
14
    }
15
    }
15
 
16
 
16
    public function render()
17
    public function render()
17
    {
18
    {
18
        global $PAGE, $CFG, $OUTPUT;
19
        global $PAGE, $CFG, $OUTPUT;
Línea 19... Línea 20...
19
        
20
 
20
        $PAGE->set_url('/cesa/progress.php', array('userid' => $this->userID));        
21
        $PAGE->set_url('/cesa/progress.php', array('userid' => $this->userID));
Línea 21... Línea 22...
21
        $this->blockManager->load_blocks(true);
22
        $this->blockManager->load_blocks(true);
22
 
23
 
23
 
24
 
24
        $this->validateIfExistBlock();
25
        $this->validateIfExistBlock();
Línea 25... Línea 26...
25
        $this->redirectIfNotExistBlock('progress');
26
        $this->redirectIfNotExistBlock('progress');
Línea 36... Línea 37...
36
 
37
 
37
 
38
 
38
 
-