getWorkspaceService()->generateWorkspaceSplittedPreviewLink($pageUid); } /** * Find the Live-Uid for a given page, * the results are cached at run-time to avoid too many database-queries * * @throws InvalidArgumentException * @param integer $uid * @return integer * @deprecated since TYPO3 4.6 - use tx_Workspaces_Service_Workspaces::getLivePageUid() instead */ protected function getLivePageUid($uid) { t3lib_div::deprecationLog(__METHOD__ . ' is deprected since TYPO3 4.6 - use tx_Workspaces_Service_Workspaces::getLivePageUid() instead'); return $this->getWorkspaceService()->getLivePageUid($uid); } /** * Gets an instance of the workspaces service. * * @return tx_Workspaces_Service_Workspaces */ protected function getWorkspaceService() { return t3lib_div::makeInstance('tx_Workspaces_Service_Workspaces'); } } if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/Service/Befunc.php'])) { include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/workspaces/Classes/Service/Befunc.php']); } ?>