public function getParent($parentId)
    {
        if ($parentId && isset($this->site->pages[$parentId])) {
            return $this->site->pages[$parentId];
        }

        return [];
    }
public function getParent($parentId)
    {
        if ($parentId && isset($this->site->pages[$parentId])) {
            return $this->site->pages[$parentId];
        }

        return [];
    }
public function getParent ( $ parentId ) { if ( $ parentId && isset ( $ this -> site -> pages [ $ parentId ] ) ) { return $ this -> site -> pages [ $ parentId ] ; } return [ ] ; }
Get parent content.

@param  string $parentId
@return array
Get parent content .