Proyectos de Subversion Moodle

Rev

Rev 401 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 401 Rev 619
Línea 35... Línea 35...
35
        if (!in_array($this->regionName, $this->blockManager->get_regions())) {
35
        if (!in_array($this->regionName, $this->blockManager->get_regions())) {
36
            $this->blockManager->add_region($this->regionName);
36
            $this->blockManager->add_region($this->regionName);
37
        }
37
        }
38
    }
38
    }
Línea 39... Línea -...
39
 
-
 
40
 
39
 
41
    public function addBlocksIfNotExist()
40
    public function addBlocksIfNotExist()
42
    {
41
    {
43
        $blocks = $this->blockManager->get_blocks_for_region($this->regionName);
42
        $blocks = $this->blockManager->get_blocks_for_region($this->regionName);