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

Procedural File: LibertyAttachable.php

Source Location: d:\website\PhpDocumentor\/liberty/LibertyAttachable.php



Classes:

LibertyAttachable
LibertyAttachable class


Page Details:

Management of Liberty Content



Tags:

filesource:  Source Code for this file
author:  spider <spider@steelsun.com>
version:  $Header: /cvsroot/bitweaver/_bit_liberty/LibertyAttachable.php,v 1.58 2007/02/07 05:19:38 spiderr Exp $


Includes:

require_once(LIBERTY_PKG_PATH.'LibertyContent.php') [line 24]
required setup

require_once(LIBERTY_PKG_PATH.'LibertySystem.php') [line 25]
require_once(LIBERTY_PKG_PATH."plugins/processor.".$gBitSystem->getConfig('image_processor','gd').".php") [line 29]





MAX_THUMBNAIL_DIMENSION [line 33]

MAX_THUMBNAIL_DIMENSION = 99999

[ Top ]




liberty_clear_thumbnails [line 802]

TRUE liberty_clear_thumbnails( &$pFileHash, array $pFileHash)

liberty_clear_thumbnails



Tags:

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


Parameters

array   $pFileHash  
   &$pFileHash  
[ Top ]



liberty_generate_thumbnails [line 831]

TRUE liberty_generate_thumbnails( &$pFileHash, array $pFileHash)

liberty_generate_thumbnails



Tags:

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


Parameters

array   $pFileHash  
   &$pFileHash  
[ Top ]



liberty_get_function [line 819]

TRUE liberty_get_function( array $pType)

liberty_get_function



Tags:

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


Parameters

array   $pType  
[ Top ]



liberty_process_archive [line 650]

TRUE liberty_process_archive( &$pFileHash, array $pFileHash)

liberty_process_archive



Tags:

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


Parameters

array   $pFileHash  
   &$pFileHash  
[ Top ]



liberty_process_generic [line 744]

TRUE liberty_process_generic( &$pFileHash, [array $pMoveFile = TRUE], array $pFileHash)

liberty_process_generic



Tags:

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


Parameters

array   $pFileHash  
array   $pMoveFile  
   &$pFileHash  
[ Top ]



liberty_process_image [line 769]

TRUE liberty_process_image( &$pFileHash, array $pFileHash)

liberty_process_image



Tags:

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


Parameters

array   $pFileHash  
   &$pFileHash  
[ Top ]



liberty_process_upload [line 628]

TRUE liberty_process_upload( &$pFileHash, array $pFileHash, array $pFileHash['upload']['name'], array $pFileHash['upload']['type'], array $pFileHash['upload']['dest_path'], array $pFileHash['upload']['source_file'], boolean $pFileHash['upload']['thumbnail'], array $pFileHash['upload']['thumbnail_sizes'], boolean $pMoveFile)

Process uploaded files. Will automagically generate thumbnails for images



Tags:

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


Parameters

array   $pFileHash   Data require to process the files
array   $pFileHash['upload']['name']   (required) Name of the uploaded file
array   $pFileHash['upload']['type']   (required) Mime type of the file uploaded
array   $pFileHash['upload']['dest_path']   (required) Relative path where you want to store the file
array   $pFileHash['upload']['source_file']   (required) Absolute path to file including file name
boolean   $pFileHash['upload']['thumbnail']   (optional) Set to FALSE if you don't want to generate thumbnails
array   $pFileHash['upload']['thumbnail_sizes']   (optional) Decide what sizes thumbnails you want to create: icon, avatar, small, medium, large
boolean   $pMoveFile   (optional) specify if you want to move or copy the original file
   &$pFileHash  
[ Top ]



Documentation generated on Thu, 15 Feb 2007 20:41:47 +0000 by phpDocumentor 1.3.0