src/Kunstmaan/NodeBundle/Helper/URLHelper.php
private function getNodeTranslationMap()
    {
        if (is_null($this->nodeTranslationMap)) {
            $sql = 'SELECT id, url, lang FROM kuma_node_translations';
            $stmt = $this->em->getConnection()->prepare($sql);
            $stmt->execute();
            $this->nodeTranslationMap = $stmt->fetchAll();
        }

        return $this->nodeTranslationMap;
    }
private function getNodeTranslationMap()
    {
        if (is_null($this->nodeTranslationMap)) {
            $sql = 'SELECT id, url, lang FROM kuma_node_translations';
            $stmt = $this->em->getConnection()->prepare($sql);
            $stmt->execute();
            $this->nodeTranslationMap = $stmt->fetchAll();
        }

        return $this->nodeTranslationMap;
    }
private function getNodeTranslationMap ( ) { if ( is_null ( $ this -> nodeTranslationMap ) ) { $ sql = 'SELECT id, url, lang FROM kuma_node_translations' ; $ stmt = $ this -> em -> getConnection ( ) -> prepare ( $ sql ) ; $ stmt -> execute ( ) ; $ this -> nodeTranslationMap = $ stmt -> fetchAll ( ) ; } return $ this -> nodeTranslationMap ; }
Get a map of all node translations. Only called once for caching.

@return array|null

@throws \Doctrine\DBAL\DBALException
Get a map of all node translations . Only called once for caching .