/** * Get the modules contained in the page (via the module clientspaces) * * @return array(CMS_module) The modules * @access public */ function getModules() { $this->_checkTemplate(); if ($this->_template) { return $this->_template->getModules(); } }