liberty
[ class tree: liberty ] [ index: liberty ] [ all elements ]

Procedural File: mime.pdf.php

Source Location: /liberty/plugins/mime.pdf.php



Page Details:



Tags:

author:  xing <xing@synapse.plus.com>
version:  $Header$
version:  $Revision$ created Thursday May 08, 2008
filesource:  Source Code for this file







PLUGIN_MIME_GUID_PDF [line 22]

PLUGIN_MIME_GUID_PDF = 'mimepdf'
This is the name of the plugin - max char length is 16

As a naming convention, the liberty mime handler definition should start with: PLUGIN_MIME_GUID_



[ Top ]




mime_pdf_convert_pdf2swf [line 132]

TRUE mime_pdf_convert_pdf2swf( array $pFileHash, array $pFileHash[upload])

mime_pdf_convert_pdf2swf Convert a PDF to a SWF video



Tags:

return:  on success, FALSE on failure
access:  public


Parameters

array   $pFileHash   file details.
array   $pFileHash[upload]   should contain a complete hash from $_FILES
[ Top ]



mime_pdf_help [line 183]

string mime_pdf_help( )

mime_pdf_help



Tags:

access:  public


[ Top ]



mime_pdf_load [line 109]

TRUE mime_pdf_load( &$pFileHash, &$pPrefs, [array $pParams = NULL], array $pFileHash, array $pPrefs)

Load file data from the database



Tags:

return:  on success, FALSE on failure - $pStoreRow[errors] will contain reason
access:  public


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  
[ Top ]



mime_pdf_store [line 62]

TRUE mime_pdf_store( &$pStoreRow, array $pStoreRow)

Store the data in the database



Tags:

return:  on success, FALSE on failure - $pStoreRow[errors] will contain reason
access:  public


Parameters

array   $pStoreRow   File data needed to store details in the database - sanitised and generated in the verify function
   &$pStoreRow  
[ Top ]



mime_pdf_update [line 85]

TRUE mime_pdf_update( &$pStoreRow, [ $pParams = NULL], array $pStoreRow)

mime_pdf_update update file information in the database if there were changes.



Tags:

return:  on success, FALSE on failure - $pStoreRow[errors] will contain reason
access:  public


Parameters

array   $pStoreRow   File data needed to update details in the database
   &$pStoreRow  
   $pParams  
[ Top ]



Documentation generated on Wed, 29 Jul 2015 13:57:08 +0000 by phpDocumentor 1.5.0-lsces