fetch_attachment_file (line 81)
Function fetch the full attachment path and actual file(name) for the specified attachment type
string
fetch_attachment_file
([string $attachtype = ''], [string $filehash = ''])
-
string
$attachtype: attachment type
-
string
$filehash: actual filehash
fetch_attachment_path (line 31)
Function fetch the full attachment path for the specified attachment type
string
fetch_attachment_path
([string $attachtype = ''])
-
string
$attachtype: attachment type
fetch_attachment_rawdata (line 131)
Function returns logic of attachment storage system and returns back required raw attachment data
string
fetch_attachment_rawdata
(array $attachment, [boolean $isexternal = false])
-
array
$attachment: attachment array
-
boolean
$isexternal: (true/false) determines if this attachment is "external" (true) which would indicate a "url" to display an "image/picture".
fetch_attachment_type (line 322)
void
fetch_attachment_type
( $type, [ $projectid = ''], [ $otherid = ''])
-
$type
-
$projectid
-
$otherid
is_private_workspace_attachment (line 277)
void
is_private_workspace_attachment
([ $attachid = 0])
move_attachments_to_database (line 467)
void
move_attachments_to_database
()
move_attachments_to_filepath (line 415)
void
move_attachments_to_filepath
()
print_captcha (line 158)
Function to print out the captcha via GD + FreeType
string
print_captcha
([integer $length = 5])
-
integer
$length: length of captcha phrase
save_url_image (line 629)
Function to download and save an attachment from a remote url
boolean
save_url_image
([string $img = ''], [ $fullpath = DIR_AUCTION_ATTACHMENTS])
-
string
$img: image url (example: http://server.com/image.gif)
-
$fullpath
unsharpmask (line 529)
void
unsharpmask
( &$thumb, [ $amount = 100], [ $radius = .5], [ $threshold = 3])
-
&$thumb
-
$amount
-
$radius
-
$threshold