public function withIDs($ids)
public function withIDs($ids)
Parameters
array | $ids |
Return
wild |
public function withPHIDs($phids)
public function withPHIDs($phids)
Parameters
array | $phids |
Return
wild |
public function withAuthorPHIDs($phids)
public function withAuthorPHIDs($phids)
Parameters
array | $phids |
Return
wild |
public function withDateCreatedBefore($date_created_before)
public function withDateCreatedBefore($date_created_before)
Parameters
$date_created_before |
Return
wild |
public function withDateCreatedAfter($date_created_after)
public function withDateCreatedAfter($date_created_after)
Parameters
$date_created_after |
Return
wild |
public function withContentHashes($content_hashes)
public function withContentHashes($content_hashes)
Parameters
array | $content_hashes |
Return
wild |
public function withBuiltinKeys($keys)
public function withBuiltinKeys($keys)
Parameters
array | $keys |
Return
wild |
public function withIsBuiltin($is_builtin)
public function withIsBuiltin($is_builtin)
Parameters
$is_builtin |
Return
wild |
public function withTransforms($specs)
public function withTransforms($specs)
Select files which are transformations of some other file. For example, you can use this query to find previously generated thumbnails of an image file.
As a parameter, provide a list of transformation specifications. Each specification is a dictionary with the keys originalPHID and transform. The originalPHID is the PHID of the original file (the file which was transformed) and the transform is the name of the transform to query for. If you pass true as the transform, all transformations of the file will be selected.
For example:
array( array( 'originalPHID' => 'PHID-FILE-aaaa', 'transform' => 'sepia', ), array( 'originalPHID' => 'PHID-FILE-bbbb', 'transform' => true, ), )
This selects the "sepia" transformation of the file with PHID PHID-FILE-aaaa and all transformations of the file with PHID PHID-FILE-bbbb.
Parameters
list<dict> | $specs | List of transform specifications, described above. |
Return
this |
public function withLengthBetween($min, $max)
public function withLengthBetween($min, $max)
Parameters
$min | ||
$max |
Return
wild |
public function withNames($names)
public function withNames($names)
Parameters
array | $names |
Return
wild |
public function withIsPartial($partial)
public function withIsPartial($partial)
Parameters
$partial |
Return
wild |
public function withIsDeleted($deleted)
public function withIsDeleted($deleted)
Parameters
$deleted |
Return
wild |
public function withNameNgrams($ngrams)
public function withNameNgrams($ngrams)
Parameters
$ngrams |
Return
wild |
public function withStorageEngines($engines)
public function withStorageEngines($engines)
Parameters
array | $engines |
Return
wild |
public function showOnlyExplicitUploads($explicit_uploads)
public function showOnlyExplicitUploads($explicit_uploads)
Parameters
$explicit_uploads |
Return
wild |
public function needTransforms($transforms)
public function needTransforms($transforms)
Parameters
array | $transforms |
Return
wild |
public function newResultObject()
public function newResultObject()
Return
wild |
protected function loadPage()
protected function loadPage()
Return
wild |
protected function didFilterPage($files)
protected function didFilterPage($files)
Parameters
array | $files |
Return
wild |
protected function buildJoinClauseParts($conn)
protected function buildJoinClauseParts($conn)
Parameters
AphrontDatabaseConnection | $conn |
Return
wild |
protected function buildWhereClauseParts($conn)
protected function buildWhereClauseParts($conn)
Parameters
AphrontDatabaseConnection | $conn |
Return
wild |
protected function getPrimaryTableAlias()
protected function getPrimaryTableAlias()
Return
wild |
public function getQueryApplicationClass()
public function getQueryApplicationClass()
Return
wild |