Class FileList

Concrete\Core\Search\ItemList\ItemList
Extended by Concrete\Core\Search\ItemList\Database\ItemList
Extended by Concrete\Core\Search\ItemList\Database\AttributedItemList
Extended by Concrete\Core\File\FileList implements Concrete\Core\Search\PermissionableListItemInterface
Namespace: Concrete\Core\File
Located at src/File/FileList.php

Methods summary

protected
public
public
public
public integer
# getTotalResults( )

Returns the total results in this item list.

protected Concrete\Core\Search\Pagination\Pagination
public Concrete\Core\File\File
# getResult( $queryRow )
public
public
# filterByType( $type )
public
# filterByExtension( $extension )
public
# filterByKeywords( $keywords )

Filters by "keywords" (which searches everything including filenames, title, users who uploaded the file, tags)

public
# filterBySet( $fs )
public
public
# filterBySize( $from, $to )

Filters the file list by file size (in kilobytes)

public
# filterByDateAdded( string $date, $comparison = '=' )

Filters by public date

public
public
# filterByApproverUserID( integer $uID )

filters a FileList by the uID of the approving User

public
# filterByAuthorUserID( integer $uID )

filters a FileList by the uID of the owning User

public
# filterByTags( $tags )

Filters by "tags" only.

public
# sortByFilenameAscending( )

Sorts by filename in ascending order.

public
# sortByFileSetDisplayOrder( )

Sorts by file set display order in ascending order.

Properties summary

protected Closure $permissionsChecker

| integer | null

#
protected string $paginationPageParameter
# 'ccm_paging_fl'
protected array $autoSortColumns

Columns in this array can be sorted via the request.

# array( 'fv.fvFilename', 'fv.fvTitle', 'f.fDateAdded', 'fv.fvDateAdded', 'fv.fvSize' )