public abstract function isRootEntry($id);
/** * Returns boolean indicating if the row with given $id is special root entry. * * Special root entry entry will have parentId=0 and text=''. * In standard installation this entry will point to location with id=2. * * @param mixed $id * * @return bool */ public function isRootEntry($id) { try { return $this->innerGateway->isRootEntry($id); } catch (DBALException $e) { throw new \RuntimeException('Database error', 0, $e); } catch (PDOException $e) { throw new \RuntimeException('Database error', 0, $e); } }