/** * Returns true if the current page requires users to login before it can be displayed * * @access public * @since 3.5.3 * @return boolean true if the page requires a login, false if not */ function requiresLogin() { if ($result = $this->map->readAncestors($this->getSectionId(), 'secure')) { $this->_registry->setEntry(AMP_REGISTRY_CONTENT_SECURE, $result); $GLOBALS['MM_secure'] = $result; return $result; } return false; }