/** * hasInternalLinks * @return boolean * @author Cornelius Hansjakob <*****@*****.**> * @version 1.0 */ public function hasInternalLinks() { $objPage = $this->objPage->FallbackPage() instanceof Page ? $this->objPage->FallbackPage() : $this->objPage; $objFiles = $objPage->getFieldValue('internal_links'); if ($objFiles != '' && count($objFiles) > 0) { return true; } else { return false; } }