[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/files/query/ -> PhabricatorFileQuery.php (summary)

(no description)

File Size: 294 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 13 functions

  withIDs()
  withPHIDs()
  withAuthorPHIDs()
  withDateCreatedBefore()
  withDateCreatedAfter()
  withContentHashes()
  withTransforms()
  showOnlyExplicitUploads()
  loadPage()
  buildJoinClause()
  buildWhereClause()
  getPagingColumn()
  getQueryApplicationClass()

Functions
Functions that are not part of a class:

withIDs(array $ids)   X-Ref
No description

withPHIDs(array $phids)   X-Ref
No description

withAuthorPHIDs(array $phids)   X-Ref
No description

withDateCreatedBefore($date_created_before)   X-Ref
No description

withDateCreatedAfter($date_created_after)   X-Ref
No description

withContentHashes(array $content_hashes)   X-Ref
No description

withTransforms(array $specs)   X-Ref
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`.

param: list<dict>  List of transform specifications, described above.
return: this

showOnlyExplicitUploads($explicit_uploads)   X-Ref
No description

loadPage()   X-Ref
No description

buildJoinClause(AphrontDatabaseConnection $conn_r)   X-Ref
No description

buildWhereClause(AphrontDatabaseConnection $conn_r)   X-Ref
No description

getPagingColumn()   X-Ref
No description

getQueryApplicationClass()   X-Ref
No description



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1