Procedural File: mime.pdfx.php
Source Location: /liberty/plugins/mime.pdfx.php
Page Details:
Tags:
PLUGIN_MIME_GUID_PDFX [line 22]
mime_pdfx_help [line 192]
mime_pdfx_load [line 118]
TRUE mime_pdfx_load(
&$pFileHash, &$pPrefs, [array $pParams = NULL], array $pFileHash, array $pPrefs)
|
|
Load file data from the database
Tags:
Parameters
array |
$pFileHash |
Contains all file information |
array |
$pPrefs |
Attachment preferences taken liberty_attachment_prefs |
array |
$pParams |
Parameters for loading the plugin - e.g.: might contain values such as thumbnail size from the view page |
|
&$pFileHash |
|
|
&$pPrefs |
|
mime_pdfx_store [line 62]
TRUE mime_pdfx_store(
&$pStoreRow, 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 |
|
mime_pdfx_thumbnail [line 141]
TRUE mime_pdfx_thumbnail(
array $pFileHash, array $pFileHash[upload])
|
|
mime_pdfx_thumbnail Create a jpg thumbnail of the first page of the PDF
Tags:
Parameters
array |
$pFileHash |
file details. |
array |
$pFileHash[upload] |
should contain a complete hash from $_FILES |
mime_pdfx_update [line 91]
TRUE mime_pdfx_update(
&$pStoreRow, [ $pParams = NULL], array $pStoreRow)
|
|
mime_pdf_update update file information in the database if there were changes.
Tags:
Parameters
array |
$pStoreRow |
File data needed to update details in the database |
|
&$pStoreRow |
|
|
$pParams |
|
|
|