FileUsageRepository
class FileUsageRepository extends EntityRepository (View source)
Methods
findByCollection(Collection|int $collection, Version|int|null $version = null)
Find FileUsageRecords given a collection and a version
findByBlock($block)
Find FileUsageRecords given a block
findBy(array $criteria, array $orderBy = null, null $limit = null, null $offset = null)
No description
Details
FileUsageRecord[]
findByFile(File|int $file)
Find usage records related to a file
FileUsageRecord[]
findByCollection(Collection|int $collection, Version|int|null $version = null)
Find FileUsageRecords given a collection and a version
FileUsageRecord[]
findByBlock($block)
Find FileUsageRecords given a block
FileUsageRecord[]
findBy(array $criteria, array $orderBy = null, null $limit = null, null $offset = null)
No description