public function getResponsibleRootPageIds($table, $uid)
    {
        $cacheId = 'RootPageResolver' . '_' . 'getResponsibleRootPageIds' . '_' . $table . '_' . $uid;
        $methodResult = $this->runtimeCache->get($cacheId);
        if (!empty($methodResult)) {
            return $methodResult;
        }

        $methodResult = $this->buildResponsibleRootPageIds($table, $uid);
        $this->runtimeCache->set($cacheId, $methodResult);

        return $methodResult;
    }
public function getResponsibleRootPageIds($table, $uid)
    {
        $cacheId = 'RootPageResolver' . '_' . 'getResponsibleRootPageIds' . '_' . $table . '_' . $uid;
        $methodResult = $this->runtimeCache->get($cacheId);
        if (!empty($methodResult)) {
            return $methodResult;
        }

        $methodResult = $this->buildResponsibleRootPageIds($table, $uid);
        $this->runtimeCache->set($cacheId, $methodResult);

        return $methodResult;
    }
public function getResponsibleRootPageIds ( $ table , $ uid ) { $ cacheId = 'RootPageResolver' . '_' . 'getResponsibleRootPageIds' . '_' . $ table . '_' . $ uid ; $ methodResult = $ this -> runtimeCache -> get ( $ cacheId ) ; if ( ! empty ( $ methodResult ) ) { return $ methodResult ; } $ methodResult = $ this -> buildResponsibleRootPageIds ( $ table , $ uid ) ; $ this -> runtimeCache -> set ( $ cacheId , $ methodResult ) ; return $ methodResult ; }
This method determines the responsible site roots for a record by getting the rootPage of the record and checking
if the pid is references in another site with additionalPageIds and returning those rootPageIds as well.
The result is cached by the caching framework.

@param string $table
@param int $uid
@return array
This method determines the responsible site roots for a record by getting the rootPage of the record and checking if the pid is references in another site with additionalPageIds and returning those rootPageIds as well . The result is cached by the caching framework .