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

Procedural File: mime.pbase.php

Source Location: /liberty/plugins/mime.pbase.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_PBASE [line 22]

PLUGIN_MIME_GUID_PBASE = 'mimepbase'
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_pbase_load [line 108]

TRUE mime_pbase_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_pbase_store [line 69]

TRUE mime_pbase_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_pbase_update [line 96]

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

mime_pbase_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 ]



mime_pbase_verify [line 49]

void mime_pbase_verify( &$pStoreRow)



Parameters

   &$pStoreRow  
[ Top ]



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