Procedural File: mime.default.php
Source Location: d:\website\PhpDocumentor\/treasury/plugins/mime.default.php
Page Details:
Tags:
TREASURY_MIME_GUID_DEFAULT [line 29]
treasury_default_download [line 240]
TRUE treasury_default_download(
&$pFileHash, array $pFileHash)
|
|
Takes care of the entire download process. Make sure it doesn't die at the end. in this functioin it would be possible to add download resume possibilites and the like
Tags:
Parameters
| array |
$pFileHash |
Basically the same has as returned by the load function |
| |
&$pFileHash |
|
treasury_default_expunge [line 298]
TRUE treasury_default_expunge(
&$pParamHash, array $pParamHash)
|
|
Nuke data in tables when content is removed
Tags:
Parameters
| array |
$pParamHash |
The contents of TreasuryItem->mInfo |
| |
&$pParamHash |
|
treasury_default_load [line 194]
TRUE treasury_default_load(
&$pFileHash, array $pRow)
|
|
Load file data from the database
Tags:
Parameters
treasury_default_store [line 158]
TRUE treasury_default_store(
&$pStoreRow, &$pCommonObject, array $pStoreRow)
|
|
Store the data in the database
Tags:
Parameters
| array |
$pStoreRow |
File data needed to store details in the database - sanitised and generated in the verify function |
| |
&$pStoreRow |
|
| |
&$pCommonObject |
|
treasury_default_update [line 125]
TRUE treasury_default_update(
&$pStoreRow, &$pCommonObject, array $pStoreRow)
|
|
When a file is edited
Tags:
Parameters
| array |
$pStoreRow |
File data needed to store details in the database - sanitised and generated in the verify function |
| |
&$pStoreRow |
|
| |
&$pCommonObject |
|
treasury_default_verify [line 70]
TRUE treasury_default_verify(
&$pStoreRow, array $pStoreRow, array $pStoreRow['upload'])
|
|
Sanitise and validate data before it's stored
Tags:
Parameters
| array |
$pStoreRow |
Hash of data that needs to be stored |
| array |
$pStoreRow['upload'] |
Hash passed in by $_FILES upload |
| |
&$pStoreRow |
|
|
|