FileVersionLocated in /models/file_version.php (line 3)
Object | --FileVersion
static cleanTags (line 558)
approve (line 288)
canEdit (line 509)
canView (line 501)
Checks current viewers for this type and returns true if there is a viewer for this type, false if not
clearAttribute (line 517)
createThumbnailDirectories (line 490)
delete (line 322)
Removes a version of a file. Note, does NOT remove the file because we don't know where the file might elsewhere be used/referenced.
deny (line 299)
duplicate (line 130)
Takes the current value of the file version and makes a new one with the same values
getAttribute (line 65)
Gets an attribute for the file. If "nice mode" is set, we display it nicely
for use in the file attributes table
getAttributeList (line 52)
Gets an associative array of all attributes for a file version
getAttributeValueObject (line 528)
getAuthorName (line 90)
getAuthorUserID (line 94)
getDateAdded (line 104)
Gets the date a file version was added
if user is specified, returns in the current user's timezone
getDescription (line 21)
getDownloadURL (line 360)
Returns a URL that can be used to download the file. This passes through the download_file single page.
getExtension (line 113)
getFileID (line 15)
getFileName (line 18)
getFileVersionID (line 16)
getFullSize (line 87)
getGenericTypeText (line 24)
getMimeType (line 71)
getPath (line 338)
Returns a full filesystem path to the file on disk.
getPrefix (line 17)
getRelativePath (line 370)
getSize (line 84)
getTags (line 20)
getTagsList (line 39)
getThumbnail (line 410)
getThumbnailPath (line 390)
getThumbnailSRC (line 396)
getTitle (line 19)
getType (line 194)
getTypeObject (line 201)
getURL (line 353)
Returns a full URL to the file on disk
getVersionLogComments (line 212)
Returns an array containing human-readable descriptions of everything that happened in this version
hasThumbnail (line 405)
isApproved (line 22)
logVersionUpdate (line 117)
populateAttributes (line 78)
refreshAttributes (line 453)
Responsible for taking a particular version of a file and rescanning all its attributes This will run any type-based import routines, and store those attributes, generate thumbnails, etc...
refreshThumbnails (line 426)
setAttribute (line 307)
updateDescription (line 267)
updateFile (line 276)
updateTags (line 256)
updateTitle (line 247)
Documentation generated on Thu, 15 Sep 2011 16:36:26 -0700 by phpDocumentor 1.4.1