FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
This file contains common repository functions. More...
Go to the source code of this file.
Functions | |
GetMimeType ($Item) | |
Given an uploadtree_pk, return a string that describes the mime type. More... | |
RepPath ($PfilePk, $Repo="files") | |
Given a pfile id, retrieve the pfile path. More... | |
RepPathItem ($Item, $Repo="files") | |
Given an uploadtree_pk, retrieve the pfile path. More... | |
This file contains common repository functions.
Definition in file common-repo.php.
GetMimeType | ( | $Item | ) |
Given an uploadtree_pk, return a string that describes the mime type.
int | $Item | Uploadtree pk |
Definition at line 25 of file common-repo.php.
RepPath | ( | $PfilePk, | |
$Repo = "files" |
|||
) |
Given a pfile id, retrieve the pfile path.
int | $PfilePk | Pfile pk |
string | $Repo | Repository type |
Definition at line 58 of file common-repo.php.
RepPathItem | ( | $Item, | |
$Repo = "files" |
|||
) |
Given an uploadtree_pk, retrieve the pfile path.
int | $Item | Uploadtree pk |
string | $Repo | Repository type |
Definition at line 91 of file common-repo.php.