ModelBundle/Repository/NodeRepository.php
public function findVersionNotDeleted($nodeId, $language, $siteId, $version)
    {
        $qa = $this->createAggregationQueryBuilderWithSiteIdAndLanguage($siteId, $language);
        $qa->match(
            array(
                'nodeId'  => $nodeId,
                'deleted' => false,
                'version' => $version,
            )
        );
        return $this->singleHydrateAggregateQuery($qa);
    }
public function findVersionNotDeleted($nodeId, $language, $siteId, $version)
    {
        $qa = $this->createAggregationQueryBuilderWithSiteIdAndLanguage($siteId, $language);
        $qa->match(
            array(
                'nodeId'  => $nodeId,
                'deleted' => false,
                'version' => $version,
            )
        );
        return $this->singleHydrateAggregateQuery($qa);
    }
public function findVersionNotDeleted ( $ nodeId , $ language , $ siteId , $ version ) { $ qa = $ this -> createAggregationQueryBuilderWithSiteIdAndLanguage ( $ siteId , $ language ) ; $ qa -> match ( array ( 'nodeId' => $ nodeId , 'deleted' => false , 'version' => $ version , ) ) ; return $ this -> singleHydrateAggregateQuery ( $ qa ) ; }
@param string   $nodeId
@param string   $language
@param string   $siteId
@param string   $version

@return mixed
@param string $nodeId @param string $language @param string $siteId @param string $version