Proyectos de Subversion Moodle

Rev

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

Rev 284 Rev 285
Línea 64... Línea 64...
64
        if (!in_array($region, $existingRegions)) {
64
        if (!in_array($region, $existingRegions)) {
65
            $this->blockManager->add_region($region);
65
            $this->blockManager->add_region($region);
66
        }
66
        }
67
    }
67
    }
Línea 68... Línea -...
68
 
-
 
69
}
-
 
70
 
68
 
71
    public function validateIfExistBlocks($region)
69
    public function validateIfExistBlocks($region)
72
    {
70
    {
73
        $this->blockExists = true;
71
        $this->blockExists = true;
74
        $this->blocks = $this->blockManager->get_blocks_for_region($this->regionName);
72
        $this->blocks = $this->blockManager->get_blocks_for_region($this->regionName);