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

Procedural File: mime.image.php

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

PLUGIN_MIME_GUID_IMAGE = 'mimeimage'
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 ]




liberty_magickwand_panorama_image [line 347]

TRUE liberty_magickwand_panorama_image( &$pFileHash, [array $pOptions = array()], array $pFileHash)

liberty_magickwand_panorama_image - strictly speaking, this belongs in one of the image processing plugin files, but we'll leave it here for the moment



Tags:

return:  on success, FALSE on failure - mErrors will contain reason for failure
access:  public


Parameters

array   $pFileHash   File hash - souce_file is required
array   $pOptions  
   &$pFileHash  
[ Top ]



mime_image_convert_exifgps [line 280]

numeric mime_image_convert_exifgps( array $pParams)

mime_image_convert_exifgps GPS EIXF data is stored as fractions in an array. here we convert this to a degree decimal float value for easy storing



Tags:

return:  value of positional data
access:  public


Parameters

array   $pParams   array of positional data in fractions form EXIF tag
[ Top ]



mime_image_create_panorama [line 305]

TRUE mime_image_create_panorama( &$pStoreRow, array $pStoreRow)

mime_image_create_panorama



Tags:

return:  on success, FALSE on failure - mErrors will contain reason for failure
access:  public


Parameters

array   $pStoreRow  
   &$pStoreRow  
[ Top ]



mime_image_get_exif_data [line 218]

array mime_image_get_exif_data( array $pUpload)

mime_image_get_exif_data fetch meta data from uploaded image



Tags:

return:  filled with exif goodies
access:  public


Parameters

array   $pUpload   uploaded file data
[ Top ]



mime_image_help [line 395]

string mime_image_help( )

mime_image_help



Tags:

access:  public


[ Top ]



mime_image_load [line 129]

TRUE mime_image_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_image_store [line 68]

TRUE mime_image_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_image_store_exif_data [line 191]

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

mime_image_store_exif_data Process a JPEG and store its EXIF data as meta data.



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_image_update [line 91]

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

mime_image_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:07 +0000 by phpDocumentor 1.5.0-lsces