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

Procedural File: mime.application.php

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



Page Details:



Tags:

author:  xing <xing@synapse.plus.com>
version:  $Header$
version:  $Revision$ created Thursday May 08, 2008
TODO:  since plugins can do just about anything here, we might need the
option to create specific tables during install. if required we can scan for
files called:
table.plugin_guid.php
where plugins can insert their own tables
filesource:  Source Code for this file







PLUGIN_MIME_GUID_APPLICATION [line 29]

PLUGIN_MIME_GUID_APPLICATION = 'mimeapplication'
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_application_store [line 68]

TRUE mime_application_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_application_update [line 87]

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

mime_application_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:05 +0000 by phpDocumentor 1.5.0-lsces