PHP Class Knp\Bundle\KnpBundlesBundle\Repository\BundleRepository

Inheritance: extends Doctrine\ORM\EntityRepository
Datei anzeigen Open project: KnpLabs/KnpBundles

Public Methods

Method Description
count ( )
findAllSortedBy ( $field, $order = 'desc', $nb = null )
findAllWithOwnersAndContributorsSortedBy ( string $field ) : Doctrine\Common\Collections\Collection Finds all the bundles with their associated owners and contributors, sorted by the specified field
findByLastCommitAt ( $nb )
findLatestSortedBy ( $field )
findLatestTrend ( $idlePeriod )
findOneByOwnerNameAndName ( $ownerName, $name )
getEvolutionCounts ( $period = 50 )
getStaleBundlesForIndexing ( )
queryAllSortedBy ( $field, $order = 'desc' )
queryAllWithOwnersAndContributorsSortedBy ( string $field ) : Doctrine\ORM\Query Returns the query to retrieve all the bundles with their associated owners and contributors, sorted by the specified field
queryByKeywordSlug ( $slug )

Method Details

count() public method

public count ( )

findAllSortedBy() public method

public findAllSortedBy ( $field, $order = 'desc', $nb = null )

findAllWithOwnersAndContributorsSortedBy() public method

Finds all the bundles with their associated owners and contributors, sorted by the specified field
public findAllWithOwnersAndContributorsSortedBy ( string $field ) : Doctrine\Common\Collections\Collection
$field string The name of the field to sort by
return Doctrine\Common\Collections\Collection

findByLastCommitAt() public method

public findByLastCommitAt ( $nb )

findLatestSortedBy() public method

public findLatestSortedBy ( $field )

findLatestTrend() public method

public findLatestTrend ( $idlePeriod )

findOneByOwnerNameAndName() public method

public findOneByOwnerNameAndName ( $ownerName, $name )

getEvolutionCounts() public method

public getEvolutionCounts ( $period = 50 )

getStaleBundlesForIndexing() public method

queryAllSortedBy() public method

public queryAllSortedBy ( $field, $order = 'desc' )

queryAllWithOwnersAndContributorsSortedBy() public method

Returns the query to retrieve all the bundles with their associated owners and contributors, sorted by the specified field
public queryAllWithOwnersAndContributorsSortedBy ( string $field ) : Doctrine\ORM\Query
$field string The name of the field to sort by
return Doctrine\ORM\Query

queryByKeywordSlug() public method

public queryByKeywordSlug ( $slug )