public function recPath($pid)
    {
        if (!isset($this->recPath_cache[$pid])) {
            $this->recPath_cache[$pid] = BackendUtility::getRecordPath($pid, $this->perms_clause, 20);
        }
        return $this->recPath_cache[$pid];
    }
public function recPath($pid)
    {
        if (!isset($this->recPath_cache[$pid])) {
            $this->recPath_cache[$pid] = BackendUtility::getRecordPath($pid, $this->perms_clause, 20);
        }
        return $this->recPath_cache[$pid];
    }
public function recPath ( $ pid ) { if ( ! isset ( $ this -> recPath_cache [ $ pid ] ) ) { $ this -> recPath_cache [ $ pid ] = BackendUtility :: getRecordPath ( $ pid , $ this -> perms_clause , 20 ) ; } return $ this -> recPath_cache [ $ pid ] ; }
Returns the path for a certain pid
The result is cached internally for the session, thus you can call
this function as much as you like without performance problems.

@param int $pid The page id for which to get the path
@return mixed[] The path.
Returns the path for a certain pid The result is cached internally for the session thus you can call this function as much as you like without performance problems .