From 478bae1a1072f2de18f46bf3fc3f0ce2643f4571 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 12 Apr 2008 18:25:30 +0200 Subject: commit current phpDocumentor docs --- docs/phpfspot/PHPFSPOT.html | 1929 ++++++++++++++++++++++++++++++++ docs/phpfspot/PHPFSPOT_CFG.html | 668 +++++++++++ docs/phpfspot/PHPFSPOT_DB.html | 367 ++++++ docs/phpfspot/PHPFSPOT_IMG.html | 177 +++ docs/phpfspot/PHPFSPOT_RPC.html | 136 +++ docs/phpfspot/PHPFSPOT_TMPL.html | 145 +++ docs/phpfspot/_find_dups.php.html | 63 ++ docs/phpfspot/_gen_thumbs.php.html | 63 ++ docs/phpfspot/_index.php.html | 63 ++ docs/phpfspot/_phpfspot.class.php.html | 108 ++ docs/phpfspot/_phpfspot_cfg.php.html | 63 ++ docs/phpfspot/_phpfspot_db.php.html | 65 ++ docs/phpfspot/_phpfspot_img.php.html | 93 ++ docs/phpfspot/_phpfspot_tmpl.php.html | 65 ++ docs/phpfspot/_rpc.php.html | 91 ++ 15 files changed, 4096 insertions(+) create mode 100644 docs/phpfspot/PHPFSPOT.html create mode 100644 docs/phpfspot/PHPFSPOT_CFG.html create mode 100644 docs/phpfspot/PHPFSPOT_DB.html create mode 100644 docs/phpfspot/PHPFSPOT_IMG.html create mode 100644 docs/phpfspot/PHPFSPOT_RPC.html create mode 100644 docs/phpfspot/PHPFSPOT_TMPL.html create mode 100644 docs/phpfspot/_find_dups.php.html create mode 100644 docs/phpfspot/_gen_thumbs.php.html create mode 100644 docs/phpfspot/_index.php.html create mode 100644 docs/phpfspot/_phpfspot.class.php.html create mode 100644 docs/phpfspot/_phpfspot_cfg.php.html create mode 100644 docs/phpfspot/_phpfspot_db.php.html create mode 100644 docs/phpfspot/_phpfspot_img.php.html create mode 100644 docs/phpfspot/_phpfspot_tmpl.php.html create mode 100644 docs/phpfspot/_rpc.php.html (limited to 'docs/phpfspot') diff --git a/docs/phpfspot/PHPFSPOT.html b/docs/phpfspot/PHPFSPOT.html new file mode 100644 index 0000000..62e0947 --- /dev/null +++ b/docs/phpfspot/PHPFSPOT.html @@ -0,0 +1,1929 @@ + + + + + + Docs For Class PHPFSPOT + + + + +
+

 Class PHPFSPOT

+ + +
+
Description
+ +
+ +

PHPFSPOT main class

+

+ Located in /phpfspot.class.php (line 33) +

+ + +

+	
+			
+
+ + + + +
+
Variable Summary
+ +
+
+
+  + array + $avail_tags +
+
+  + PHPFSPOT_CFG + $cfg +
+ +
+  + PHPFSPOT_DB + $db +
+
+  + array + $tags +
+ +
+
+
+ + +
+
Method Summary
+ +
+
+
+  + PHPFSPOT + __construct + () +
+
+  + void + __destruct + () +
+
+  + string + addTag + ( $tag) +
+
+  + boolean + checkifImageSupported + (string $mime) +
+
+  + void + check_config_table + () +
+
+  + void + cleanup_phpfspot_db + () +
+
+  + boolean + create_thumbnail + (string $orig_image, string $thumb_image, integer $width) +
+
+  + string + delTag + (string $tag) +
+
+  + void + gen_thumb + ([integer $idx = 0], [integer $force = 0], [boolean $overwrite = false]) +
+
+  + void + getAvailableTags + () +
+
+  + void + getCurrentPhoto + () +
+
+  + void + getExport + (string $mode) +
+
+  + string|null + getFspotDBVersion + () +
+
+  + string|null + getMD5 + (integer $idx) +
+
+  + string + getNextSlideShowImage + () +
+
+  + string|null + getPhotoName + (integer $idx, [integer $limit = 0]) +
+
+  + array + getPhotoSelection + () +
+
+  + string + getPrevSlideShowImage + () +
+
+  + void + getRSSFeed + () +
+
+  + string + getSelectedTags + () +
+
+  + void + get_calendar_matrix + ([integer $year = 0], [integer $month = 0], [integer $day = 0]) +
+
+  + array + get_meta_informations + (string $file) +
+
+  + integer + get_num_photos + (integer $tag_id) +
+
+  + object|null + get_photo_details + (integer $idx) +
+
+  + array + get_random_photo + () +
+
+  + string + get_thumb_path + (integer $width, integer $photo) +
+
+  + string + get_xml_tag_list + () +
+
+  + boolean + isValidDate + (string $date_str) +
+
+  + string + parse_uri + (string $uri, string $mode) +
+
+  + void + resetDateSearch + () +
+
+  + void + resetNameSearch + () +
+
+  + void + resetPhotoView + () +
+
+  + void + resetSlideShow + () +
+
+  + void + resetTags + () +
+
+  + void + resetTagSearch + () +
+
+  + string + setTagCondition + (string $mode) +
+
+  + void + show + () +
+
+  + void + showCredits + () +
+
+  + void + showPhoto + (integer $photo) +
+
+  + void + showPhotoIndex + () +
+
+  + void + showTextImage + (string $txt, [string $color = 000000], [integer $space = 4], [integer $font = 4], [integer $w = 300]) +
+
+  + string + smarty_sort_select_list + (array $params,  &$smarty, smarty $smarty) +
+
+  + string + startSearch + () +
+
+  + string + translate_path + (string $path) +
+
+  + string + updateSortOrder + ( $order, string $sort_order) +
+
+  + string + whatToDo + () +
+
+  + void + _error + (string $text) +
+
+
+
+ + +
+
Variables
+ +
+ + +
+ +
+ + + array + $avail_tags + (line 80) + +
+ + +

list of available, not-selected, tags

+
    +
  • access: public
  • +
+ + + + + +
+ +
+ +
+ + + PHPFSPOT_CFG + $cfg + (line 41) + +
+ + +

phpfspot configuration

+
    +
  • see: PHPFSPOT_CFG()
  • +
  • access: public
  • +
+ + + + + +
+ +
+ +
+ + + PHPFSPOT_DB + $cfg_db + (line 57) + +
+ + +

SQLite database handle to phpfspot database

+
    +
  • see: PHPFSPOT_DB()
  • +
  • access: public
  • +
+ + + + + +
+ +
+ +
+ + + PHPFSPOT_DB + $db + (line 49) + +
+ + +

SQLite database handle to f-spot database

+
    +
  • see: PHPFSPOT_DB()
  • +
  • access: public
  • +
+ + + + + +
+ +
+ +
+ + + array + $tags + (line 73) + +
+ + +

full tag - list

+
    +
  • access: public
  • +
+ + + + + +
+ +
+ +
+ + + PHPFSPOT_TMPL + $tmpl + (line 66) + +
+ + +

Smarty template engine

+ + + + + + +
+ +
+
+ + +
+
Methods
+ +
+ + +
+ +
+ + Constructor __construct (line 103) +
+ + +

class constructor ($cfg, $db, $cfg_db, $tmpl, $db_ver)

+

this function will be called on class construct and will check requirements, loads configuration, open databases and start the user session

+
    +
  • access: public
  • +
+ +
+ PHPFSPOT + + __construct + + () +
+ + + +
+ +
+ +
+ + Destructor __destruct (line 223) +
+ + +
    +
  • access: public
  • +
+ +
+ void + + __destruct + + () +
+ + + +
+ +
+ +
+ + addTag (line 759) +
+ + +

add tag to users session variable

+

this function will add the specified to users current tag selection. if a date search has been made before it will be now cleared

+
    +
  • access: public
  • +
+ +
+ string + + addTag + + ( $tag) +
+ +
    +
  • + + $tag
  • +
+ + +
+ +
+ +
+ + checkifImageSupported (line 1976) +
+ + +

check if specified MIME type is supported

+
    +
  • access: public
  • +
+ +
+ boolean + + checkifImageSupported + + (string $mime) +
+ +
    +
  • + string + $mime
  • +
+ + +
+ +
+ +
+ + check_config_table (line 1515) +
+ + +

create phpfspot own sqlite database

+

this function creates phpfspots own sqlite database if it does not exist yet. this own is used to store some necessary informations (md5 sum's, ...).

+
    +
  • access: public
  • +
+ +
+ void + + check_config_table + + () +
+ + + +
+ +
+ +
+ + cleanup_phpfspot_db (line 2742) +
+ + +

cleanup phpfspot own database

+

When photos are getting delete from F-Spot, there will remain remain some residues in phpfspot own database. This function will try to wipe them out.

+
    +
  • access: public
  • +
+ +
+ void + + cleanup_phpfspot_db + + () +
+ + + +
+ +
+ +
+ + create_thumbnail (line 1348) +
+ + +

create_thumbnails for the requested width

+

this function creates image thumbnails of $orig_image stored as $thumb_image. It will check if the image is in a supported format, if necessary rotate the image (based on EXIF orientation meta headers) and re-sizing.

+
    +
  • access: public
  • +
+ +
+ boolean + + create_thumbnail + + (string $orig_image, string $thumb_image, integer $width) +
+ +
    +
  • + string + $orig_image
  • +
  • + string + $thumb_image
  • +
  • + integer + $width
  • +
+ + +
+ +
+ +
+ + delTag (line 783) +
+ + +

remove tag to users session variable

+

this function removes the specified tag from users current tag selection

+
    +
  • access: public
  • +
+ +
+ string + + delTag + + (string $tag) +
+ +
    +
  • + string + $tag
  • +
+ + +
+ +
+ +
+ + gen_thumb (line 1543) +
+ + +

Generates a thumbnail from photo idx

+

This function will generate JPEG thumbnails from provided F-Spot photo indizes.

  1. Check if all thumbnail generations (width) are already in place and + readable
  2. Check if the md5sum of the original file has changed
  3. Generate the thumbnails if needed

+
    +
  • access: public
  • +
+ +
+ void + + gen_thumb + + ([integer $idx = 0], [integer $force = 0], [boolean $overwrite = false]) +
+ +
    +
  • + integer + $idx
  • +
  • + integer + $force
  • +
  • + boolean + $overwrite
  • +
+ + +
+ +
+ +
+ + getAvailableTags (line 642) +
+ + +

all available tags and tag cloud

+

this function outputs all available tags (time ordered) and in addition output them as tag cloud (tags which have many photos will appears more then others)

+
    +
  • access: public
  • +
+ +
+ void + + getAvailableTags + + () +
+ + + +
+ +
+ +
+ + getCurrentPhoto (line 2253) +
+ + +

return the current photo

+
    +
  • access: public
  • +
+ +
+ void + + getCurrentPhoto + + () +
+ + + +
+ +
+ +
+ + getExport (line 2122) +
+ + +

output export page

+
    +
  • access: public
  • +
+ +
+ void + + getExport + + (string $mode) +
+ +
    +
  • + string + $mode
  • +
+ + +
+ +
+ +
+ + getFspotDBVersion (line 2613) +
+ + +

retrive F-Spot database version

+

this function will return the F-Spot database version number It is stored within the sqlite3 database in the table meta

+
    +
  • access: public
  • +
+ +
+ string|null + + getFspotDBVersion + + () +
+ + + +
+ +
+ +
+ + getMD5 (line 1627) +
+ + +

returns stored md5 sum for a specific photo

+

this function queries the phpfspot database for a stored MD5 checksum of the specified photo

+
    +
  • access: public
  • +
+ +
+ string|null + + getMD5 + + (integer $idx) +
+ +
    +
  • + integer + $idx
  • +
+ + +
+ +
+ +
+ + getNextSlideShowImage (line 2370) +
+ + +

return the next to be shown slide show image

+

this function returns the URL of the next image in the slideshow sequence.

+
    +
  • access: public
  • +
+ +
+ string + + getNextSlideShowImage + + () +
+ + + +
+ +
+ +
+ + getPhotoName (line 451) +
+ + +

returns aligned photo names

+

this function returns aligned (length) names for an specific photo. If the length of the name exceeds $limit the name will be shrinked (...)

+
    +
  • access: public
  • +
+ +
+ string|null + + getPhotoName + + (integer $idx, [integer $limit = 0]) +
+ +
    +
  • + integer + $idx
  • +
  • + integer + $limit
  • +
+ + +
+ +
+ +
+ + getPhotoSelection (line 924) +
+ + +

return all photo according selection

+

this function returns all photos based on the tag-selection, tag- or date-search. the tag-search also has to take care of AND and OR conjunctions

+
    +
  • access: public
  • +
+ +
+ array + + getPhotoSelection + + () +
+ + + +
+ +
+ +
+ + getPrevSlideShowImage (line 2390) +
+ + +

return the previous to be shown slide show image

+

this function returns the URL of the previous image in the slideshow sequence.

+
    +
  • access: public
  • +
+ +
+ string + + getPrevSlideShowImage + + () +
+ + + +
+ +
+ +
+ + getRSSFeed (line 2164) +
+ + +

output RSS feed

+
    +
  • access: public
  • +
+ +
+ void + + getRSSFeed + + () +
+ + + +
+ +
+ +
+ + getSelectedTags (line 726) +
+ + +

output all selected tags

+

this function output all tags which have been selected by the user. the selected tags are stored in the session-variable $_SESSION['selected_tags']

+
    +
  • access: public
  • +
+ +
+ string + + getSelectedTags + + () +
+ + + +
+ +
+ +
+ + get_calendar_matrix (line 2043) +
+ + +

output calendar matrix

+
    +
  • access: public
  • +
+ +
+ void + + get_calendar_matrix + + ([integer $year = 0], [integer $month = 0], [integer $day = 0]) +
+ +
    +
  • + integer + $year
  • +
  • + integer + $month
  • +
  • + integer + $day
  • +
+ + +
+ +
+ +
+ + get_meta_informations (line 1502) +
+ + +

return all exif meta data from the file

+
    +
  • access: public
  • +
+ +
+ array + + get_meta_informations + + (string $file) +
+ +
    +
  • + string + $file
  • +
+ + +
+ +
+ +
+ + get_num_photos (line 2542) +
+ + +

returns the number of photos which are tagged with $tag_id

+
    +
  • access: public
  • +
+ +
+ integer + + get_num_photos + + (integer $tag_id) +
+ +
    +
  • + integer + $tag_id
  • +
+ + +
+ +
+ +
+ + get_photo_details (line 392) +
+ + +

extract all photo details

+

retrieve all available details from f-spot's database and return them as object

+
    +
  • access: public
  • +
+ +
+ object|null + + get_photo_details + + (integer $idx) +
+ +
    +
  • + integer + $idx
  • +
+ + +
+ +
+ +
+ + get_random_photo (line 2421) +
+ + +

get random photo

+

this function will get all photos from the fspot database and randomly return ONE entry

saddly there is yet no sqlite3 function which returns the bulk result in array, so we have to fill up our own here.

+
    +
  • access: public
  • +
+ +
+ array + + get_random_photo + + () +
+ + + +
+ +
+ +
+ + get_thumb_path (line 2493) +
+ + +

returns the full path to a thumbnail

+
    +
  • access: public
  • +
+ +
+ string + + get_thumb_path + + (integer $width, integer $photo) +
+ +
    +
  • + integer + $width
  • +
  • + integer + $photo
  • +
+ + +
+ +
+ +
+ + get_xml_tag_list (line 815) +
+ + +

returns the value for the autocomplet tag-search

+
    +
  • access: public
  • +
+ +
+ string + + get_xml_tag_list + + () +
+ + + +
+ +
+ +
+ + isValidDate (line 2447) +
+ + +

validates provided date

+

this function validates if the provided date contains a valid date and will return true if it is.

+
    +
  • access: public
  • +
+ +
+ boolean + + isValidDate + + (string $date_str) +
+ +
    +
  • + string + $date_str
  • +
+ + +
+ +
+ +
+ + parse_uri (line 2633) +
+ + +

parse the provided URI and will returned the requested chunk

+
    +
  • access: public
  • +
+ +
+ string + + parse_uri + + (string $uri, string $mode) +
+ +
    +
  • + string + $uri
  • +
  • + string + $mode
  • +
+ + +
+ +
+ +
+ + resetDateSearch (line 906) +
+ + +

reset date search

+

if any date search has taken place, reset it now

+
    +
  • access: public
  • +
+ +
+ void + + resetDateSearch + + () +
+ + + +
+ +
+ +
+ + resetNameSearch (line 893) +
+ + +

reset name search

+

if any name search has taken place, reset it now

+
    +
  • access: public
  • +
+ +
+ void + + resetNameSearch + + () +
+ + + +
+ +
+ +
+ + resetPhotoView (line 869) +
+ + +

reset single photo

+

if a specific photo was requested (external link) unset the session variable now

+
    +
  • access: public
  • +
+ +
+ void + + resetPhotoView + + () +
+ + + +
+ +
+ +
+ + resetSlideShow (line 2403) +
+ + +
    +
  • access: public
  • +
+ +
+ void + + resetSlideShow + + () +
+ + + +
+ +
+ +
+ + resetTags (line 804) +
+ + +

reset tag selection

+

if there is any tag selection, it will be deleted now

+
    +
  • access: public
  • +
+ +
+ void + + resetTags + + () +
+ + + +
+ +
+ +
+ + resetTagSearch (line 881) +
+ + +

reset tag search

+

if any tag search has taken place, reset it now

+
    +
  • access: public
  • +
+ +
+ void + + resetTagSearch + + () +
+ + + +
+ +
+ +
+ + setTagCondition (line 1665) +
+ + +

store current tag condition

+

this function stores the current tag condition (AND or OR) in the users session variables

+
    +
  • access: public
  • +
+ +
+ string + + setTagCondition + + (string $mode) +
+ +
    +
  • + string + $mode
  • +
+ + +
+ +
+ +
+ + show (line 237) +
+ + +

show - generate html output

+

this function can be called after the constructor has prepared everyhing. it will load the index.tpl smarty template. if necessary it will registere pre-selects (photo index, photo, tag search, date search) into users session.

+
    +
  • access: public
  • +
+ +
+ void + + show + + () +
+ + + +
+ +
+ +
+ + showCredits (line 1327) +
+ + +

show credit template

+
    +
  • access: public
  • +
+ +
+ void + + showCredits + + () +
+ + + +
+ +
+ +
+ + showPhoto (line 506) +
+ + +

control HTML ouput for a single photo

+

this function provides all the necessary information for the single photo template.

+
    +
  • access: public
  • +
+ +
+ void + + showPhoto + + (integer $photo) +
+ +
    +
  • + integer + $photo: photo
  • +
+ + +
+ +
+ +
+ + showPhotoIndex (line 1128) +
+ + +

control HTML ouput for photo index

+

this function provides all the necessary information for the photo index template.

+
    +
  • access: public
  • +
+ +
+ void + + showPhotoIndex + + () +
+ + + +
+ +
+ +
+ + showTextImage (line 1890) +
+ + +

create on-the-fly images with text within

+
    +
  • access: public
  • +
+ +
+ void + + showTextImage + + (string $txt, [string $color = 000000], [integer $space = 4], [integer $font = 4], [integer $w = 300]) +
+ +
    +
  • + string + $txt
  • +
  • + string + $color
  • +
  • + integer + $space
  • +
  • + integer + $font
  • +
  • + integer + $w
  • +
+ + +
+ +
+ +
+ + smarty_sort_select_list (line 2308) +
+ + +

returns a select-dropdown box to select photo index sort parameters

+
    +
  • access: public
  • +
+ +
+ string + + smarty_sort_select_list + + (array $params,  &$smarty, smarty $smarty) +
+ +
    +
  • + array + $params
  • +
  • + smarty + $smarty
  • +
  • + + &$smarty
  • +
+ + +
+ +
+ +
+ + startSearch (line 1683) +
+ + +

invoke tag & date search

+

this function will return all matching tags and store them in the session variable selected_tags. furthermore it also handles the date search. getPhotoSelection() will then only return the matching photos.

+
    +
  • access: public
  • +
+ +
+ string + + startSearch + + () +
+ + + +
+ +
+ +
+ + translate_path (line 493) +
+ + +

translate f-spoth photo path

+

as the full-qualified path recorded in the f-spot database is usally not the same as on the webserver, this function will replace the path with that one specified in the cfg

+
    +
  • access: public
  • +
+ +
+ string + + translate_path + + (string $path) +
+ +
    +
  • + string + $path
  • +
+ + +
+ +
+ +
+ + updateSortOrder (line 1735) +
+ + +

updates sort order in session variable

+

this function is invoked by RPC and will sort the requested sort order in the session variable.

+
    +
  • access: public
  • +
+ +
+ string + + updateSortOrder + + ( $order, string $sort_order) +
+ +
    +
  • + string + $sort_order
  • +
  • + + $order
  • +
+ + +
+ +
+ +
+ + whatToDo (line 2270) +
+ + +

tells the client browser what to do

+

this function is getting called via AJAX by the client browsers. it will tell them what they have to do next. This is necessary for directly jumping into photo index or single photo view when the are requested with specific URLs

+
    +
  • access: public
  • +
+ +
+ string + + whatToDo + + () +
+ + + +
+ +
+ +
+ + _error (line 1989) +
+ + +

output error text

+
    +
  • access: public
  • +
+ +
+ void + + _error + + (string $text) +
+ +
    +
  • + string + $text
  • +
+ + +
+ +
+
+ + +

+ Documentation generated on Sat, 12 Apr 2008 18:24:57 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file diff --git a/docs/phpfspot/PHPFSPOT_CFG.html b/docs/phpfspot/PHPFSPOT_CFG.html new file mode 100644 index 0000000..024b367 --- /dev/null +++ b/docs/phpfspot/PHPFSPOT_CFG.html @@ -0,0 +1,668 @@ + + + + + + Docs For Class PHPFSPOT_CFG + + + + +
+

 Class PHPFSPOT_CFG

+ + +
+
Description
+ +
+ +

+ Located in /phpfspot_cfg.php (line 3) +

+ + +

+	
+			
+
+ + + + +
+
Variable Summary
+ +
+
+
+  + mixed + $base_path +
+
+  + mixed + $db_access +
+
+  + mixed + $error_found +
+
+  + mixed + $fspot_db +
+
+  + mixed + $hide_tags +
+
+  + mixed + $logging +
+
+  + mixed + $log_file +
+
+  + mixed + $mini_width +
+
+  + mixed + $page_title +
+
+  + mixed + $path_replace_from +
+
+  + mixed + $path_replace_to +
+
+  + mixed + $photo_width +
+
+  + mixed + $phpfspot_db +
+
+  + mixed + $smarty_path +
+
+  + mixed + $theme_name +
+
+  + mixed + $thumbs_per_page +
+
+  + mixed + $thumb_height +
+
+  + mixed + $thumb_path +
+
+  + mixed + $thumb_width +
+
+  + mixed + $use_autocomplete +
+
+  + mixed + $use_lightbox +
+
+  + mixed + $web_path +
+
+
+
+ + +
+
Method Summary
+ +
+
+
+  + PHPFSPOT_CFG + __construct + () +
+
+
+
+ + +
+
Variables
+ +
+ + +
+ +
+ + + mixed + $base_path + = "/var/www/beau.netshadow.at/htdocs" (line 7) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $db_access + = "native" (line 13) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $error_found + = 0 (line 75) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $fspot_db + = "/var/www/beau.netshadow.at/fspot-data/photos.db" (line 16) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $hide_tags + = array("Favorites", "Hidden", "People", "Places", "Events") (line 72) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $logging + = "display" (line 64) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $log_file + = "phpfspot_err.log" (line 67) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $mini_width + = "100" (line 40) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $page_title + = "phpfspot - dynamic PHP gallery for F-Spot" (line 5) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $path_replace_from + = "/home/unki/beau" (line 50) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $path_replace_to + = "/var/www/beau.netshadow.at/fspot-data" (line 51) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $photo_width + = "640" (line 39) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $phpfspot_db + = "/var/www/beau.netshadow.at/fspot-data/phpfspot.db" (line 21) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $smarty_path + = "/usr/share/php/smarty" (line 33) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $theme_name + = "default" (line 11) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $thumbs_per_page + = 50 (line 44) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $thumb_height + = "145" (line 38) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $thumb_path + = "/var/www/beau.netshadow.at/htdocs/thumbs" (line 34) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $thumb_width + = "150" (line 37) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $use_autocomplete + = true (line 61) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $use_lightbox + = true (line 56) + +
+ + + + + + + +
+ +
+ +
+ + + mixed + $web_path + = "/" (line 9) + +
+ + + + + + + +
+ +
+
+ + +
+
Methods
+ +
+ + +
+ +
+ + Constructor __construct (line 77) +
+ + +
    +
  • access: public
  • +
+ +
+ PHPFSPOT_CFG + + __construct + + () +
+ + + +
+ +
+
+ + +

+ Documentation generated on Sat, 12 Apr 2008 18:25:05 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file diff --git a/docs/phpfspot/PHPFSPOT_DB.html b/docs/phpfspot/PHPFSPOT_DB.html new file mode 100644 index 0000000..749fb63 --- /dev/null +++ b/docs/phpfspot/PHPFSPOT_DB.html @@ -0,0 +1,367 @@ + + + + + + Docs For Class PHPFSPOT_DB + + + + +
+

 Class PHPFSPOT_DB

+ + +
+
Description
+ +
+ +

PHPFSPOT_DB class

+

+ Located in /phpfspot_db.php (line 29) +

+ + +

+	
+			
+
+ + + + + +
+
Method Summary
+ +
+
+
+  + PHPFSPOT_DB + __construct + ( $parent,  $db_path) +
+
+  + void + __destruct + () +
+
+  + true + db_check_table_exists + ([string, $table_name = ""]) +
+
+  + void + db_exec + ([ $query = ""]) +
+
+  + void + db_fetchSingleRow + ([ $query = ""]) +
+
+  + void + db_fetch_object + ( $resource) +
+
+  + void + db_getNumRows + ([ $query = ""]) +
+
+  + void + db_query + ([ $query = ""]) +
+
+
+
+ + + +
+
Methods
+ +
+ + +
+ +
+ + Constructor __construct (line 43) +
+ + +

PHPFSPOT_DB class constructor

+

This constructor initially connect to the database.

+
    +
  • access: public
  • +
+ +
+ PHPFSPOT_DB + + __construct + + ( $parent,  $db_path) +
+ +
    +
  • + + $parent
  • +
  • + + $db_path
  • +
+ + +
+ +
+ +
+ + Destructor __destruct (line 63) +
+ + +

PHPFSPOT_DB class deconstructor

+

This destructor will close the current database connection.

+
    +
  • access: public
  • +
+ +
+ void + + __destruct + + () +
+ + + +
+ +
+ +
+ + db_check_table_exists (line 253) +
+ + +

PHPFSPOT_DB check table exists

+

This function checks if the given table exists in the database

+
    +
  • return: if table found otherwise false
  • +
  • access: public
  • +
+ +
+ true + + db_check_table_exists + + ([string, $table_name = ""]) +
+ +
    +
  • + string, + $table_name: table name
  • +
+ + +
+ +
+ +
+ + db_exec (line 163) +
+ + +

PHPFSPOT_DB database query & execute

+

This function will execute a SQL query and return nothing.

+
    +
  • access: public
  • +
+ +
+ void + + db_exec + + ([ $query = ""]) +
+ +
    +
  • + + $query
  • +
+ + +
+ +
+ +
+ + db_fetchSingleRow (line 206) +
+ + +

PHPFSPOT_DB fetch ONE row

+

This function will execute the given but only return the first result.

+
    +
  • access: public
  • +
+ +
+ void + + db_fetchSingleRow + + ([ $query = ""]) +
+ +
    +
  • + + $query
  • +
+ + +
+ +
+ +
+ + db_fetch_object (line 189) +
+ + +
    +
  • access: public
  • +
+ +
+ void + + db_fetch_object + + ( $resource) +
+ +
    +
  • + + $resource
  • +
+ + +
+ +
+ +
+ + db_getNumRows (line 232) +
+ + +

PHPFSPOT_DB number of affected rows

+

This functions returns the number of affected rows but the given SQL query.

+
    +
  • access: public
  • +
+ +
+ void + + db_getNumRows + + ([ $query = ""]) +
+ +
    +
  • + + $query
  • +
+ + +
+ +
+ +
+ + db_query (line 127) +
+ + +

PHPFSPOT_DB database query

+

This function will execute a SQL query and return the result as object.

+
    +
  • access: public
  • +
+ +
+ void + + db_query + + ([ $query = ""]) +
+ +
    +
  • + + $query
  • +
+ + +
+ +
+
+ + +

+ Documentation generated on Sat, 12 Apr 2008 18:25:06 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file diff --git a/docs/phpfspot/PHPFSPOT_IMG.html b/docs/phpfspot/PHPFSPOT_IMG.html new file mode 100644 index 0000000..8a566d0 --- /dev/null +++ b/docs/phpfspot/PHPFSPOT_IMG.html @@ -0,0 +1,177 @@ + + + + + + Docs For Class PHPFSPOT_IMG + + + + +
+

 Class PHPFSPOT_IMG

+ + +
+
Description
+ +
+ +

PHPFSPOT_IMG class

+

handles phpfspot's photos. It will output either the photo binaries or can also show error messages as a on-the-fly generated picture.

+

+ Located in /phpfspot_img.php (line 35) +

+ + +

+	
+			
+
+ + + + + +
+
Method Summary
+ +
+
+
+  + PHPFSPOT_IMG + __construct + () +
+
+  + void + __destruct + () +
+
+  + void + show + (integer $idx, [integer $width = 0]) +
+
+
+
+ + + +
+
Methods
+ +
+ + +
+ +
+ + Constructor __construct (line 43) +
+ + +

PHPFSPOT_IMG class constructor

+
    +
  • access: public
  • +
+ +
+ PHPFSPOT_IMG + + __construct + + () +
+ + + +
+ +
+ +
+ + Destructor __destruct (line 53) +
+ + +

PHPFSPOT_IMG class destructor

+
    +
  • access: public
  • +
+ +
+ void + + __destruct + + () +
+ + + +
+ +
+ +
+ + show (line 68) +
+ + +

sends the specified image to the browser

+

this function will send the specified image to the client - in the specified width. it also try's to create on-the-fly missing thumbnails via PHPFSPOT gen_thumbs function.

+
    +
  • access: public
  • +
+ +
+ void + + show + + (integer $idx, [integer $width = 0]) +
+ +
    +
  • + integer + $idx
  • +
  • + integer + $width
  • +
+ + +
+ +
+
+ + +

+ Documentation generated on Sat, 12 Apr 2008 18:25:06 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file diff --git a/docs/phpfspot/PHPFSPOT_RPC.html b/docs/phpfspot/PHPFSPOT_RPC.html new file mode 100644 index 0000000..f825903 --- /dev/null +++ b/docs/phpfspot/PHPFSPOT_RPC.html @@ -0,0 +1,136 @@ + + + + + + Docs For Class PHPFSPOT_RPC + + + + +
+

 Class PHPFSPOT_RPC

+ + +
+
Description
+ +
+ +

PHPFSPOT_RPC class

+

handles AJAX-RPC calls from client browsers

+

+ Located in /rpc.php (line 33) +

+ + +

+	
+			
+
+ + + + + +
+
Method Summary
+ +
+
+
+  + PHPFSPOT_RPC + __construct + () +
+
+  + void + process_ajax_request + () +
+
+
+
+ + + +
+
Methods
+ +
+ + +
+ +
+ + Constructor __construct (line 38) +
+ + +

PHPFSPOT_RPC constructor

+
    +
  • access: public
  • +
+ +
+ PHPFSPOT_RPC + + __construct + + () +
+ + + +
+ +
+ +
+ + process_ajax_request (line 45) +
+ + +
    +
  • access: public
  • +
+ +
+ void + + process_ajax_request + + () +
+ + + +
+ +
+
+ + +

+ Documentation generated on Sat, 12 Apr 2008 18:25:06 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file diff --git a/docs/phpfspot/PHPFSPOT_TMPL.html b/docs/phpfspot/PHPFSPOT_TMPL.html new file mode 100644 index 0000000..33f9597 --- /dev/null +++ b/docs/phpfspot/PHPFSPOT_TMPL.html @@ -0,0 +1,145 @@ + + + + + + Docs For Class PHPFSPOT_TMPL + + + + +
+

 Class PHPFSPOT_TMPL

+ + +
+
Description
+ +
+ +

PHPFSPOT_TMPL class

+

Extends Smarty base class with some additional functions

+

+ Located in /phpfspot_tmpl.php (line 31) +

+ + +
Smarty
+   |
+   --PHPFSPOT_TMPL
+ +
+
+ + + + + +
+
Method Summary
+ +
+
+
+  + PHPFSPOT_TMPL + __construct + () +
+
+  + void + show + (string $template) +
+
+
+
+ + + +
+
Methods
+ +
+ + +
+ +
+ + Constructor __construct (line 36) +
+ + +

class constructor

+
    +
  • access: public
  • +
+ +
+ PHPFSPOT_TMPL + + __construct + + () +
+ + + +
+ +
+ +
+ + show (line 64) +
+ + +

show template

+

outputs the requested template

+
    +
  • access: public
  • +
+ +
+ void + + show + + (string $template) +
+ +
    +
  • + string + $template
  • +
+ + +
+ +
+
+ + +

+ Documentation generated on Sat, 12 Apr 2008 18:25:06 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file diff --git a/docs/phpfspot/_find_dups.php.html b/docs/phpfspot/_find_dups.php.html new file mode 100644 index 0000000..79b800a --- /dev/null +++ b/docs/phpfspot/_find_dups.php.html @@ -0,0 +1,63 @@ + + + + + + Docs for page find_dups.php + + + + +
+

File/find_dups.php

+ + +
+
Description
+ +
+ + +
+
+ + + +
+
Includes
+ +
+ +
+ +
+  + + require_once + ("phpfspot.class.php") + (line 31) + +
+ + +

*************************************************************************

+

phpfspot, presents your F-Spot photo collection in Web browsers.

Copyright (c) by Andreas Unterkircher

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

*************************************************************************

+ +
+
+
+ + + + +

+ Documentation generated on Sat, 12 Apr 2008 18:24:49 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file diff --git a/docs/phpfspot/_gen_thumbs.php.html b/docs/phpfspot/_gen_thumbs.php.html new file mode 100644 index 0000000..7d91cc2 --- /dev/null +++ b/docs/phpfspot/_gen_thumbs.php.html @@ -0,0 +1,63 @@ + + + + + + Docs for page gen_thumbs.php + + + + +
+

File/gen_thumbs.php

+ + +
+
Description
+ +
+ + +
+
+ + + +
+
Includes
+ +
+ +
+ +
+  + + require_once + ("phpfspot.class.php") + (line 31) + +
+ + +

*************************************************************************

+

phpfspot, presents your F-Spot photo collection in Web browsers.

Copyright (c) by Andreas Unterkircher

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

*************************************************************************

+ +
+
+
+ + + + +

+ Documentation generated on Sat, 12 Apr 2008 18:24:53 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file diff --git a/docs/phpfspot/_index.php.html b/docs/phpfspot/_index.php.html new file mode 100644 index 0000000..f123f2e --- /dev/null +++ b/docs/phpfspot/_index.php.html @@ -0,0 +1,63 @@ + + + + + + Docs for page index.php + + + + +
+

File/index.php

+ + +
+
Description
+ +
+ + +
+
+ + + +
+
Includes
+ +
+ +
+ +
+  + + require_once + ("phpfspot.class.php") + (line 25) + +
+ + +

*************************************************************************

+

phpfspot, presents your F-Spot photo collection in Web browsers.

Copyright (c) by Andreas Unterkircher

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

*************************************************************************

+ +
+
+
+ + + + +

+ Documentation generated on Sat, 12 Apr 2008 18:24:57 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file diff --git a/docs/phpfspot/_phpfspot.class.php.html b/docs/phpfspot/_phpfspot.class.php.html new file mode 100644 index 0000000..9ddd367 --- /dev/null +++ b/docs/phpfspot/_phpfspot.class.php.html @@ -0,0 +1,108 @@ + + + + + + Docs for page phpfspot.class.php + + + + +
+

File/phpfspot.class.php

+ + +
+
Description
+ +
+ + +
+
+ + +
+
Classes
+ +
+ + + + + + + + + +
ClassDescription
+  class + PHPFSPOT + + PHPFSPOT main class +
+
+
+ + +
+
Includes
+ +
+ +
+ +
+  + + require_once + ("phpfspot_cfg.php") + (line 25) + +
+ + +

*************************************************************************

+

phpfspot, presents your F-Spot photo collection in Web browsers.

Copyright (c) by Andreas Unterkircher

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

*************************************************************************

+ +
+ +
+ +
+  + + require_once + ("phpfspot_db.php") + (line 26) + +
+ + + +
+
+
+ + + + +

+ Documentation generated on Sat, 12 Apr 2008 18:24:57 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file diff --git a/docs/phpfspot/_phpfspot_cfg.php.html b/docs/phpfspot/_phpfspot_cfg.php.html new file mode 100644 index 0000000..142d994 --- /dev/null +++ b/docs/phpfspot/_phpfspot_cfg.php.html @@ -0,0 +1,63 @@ + + + + + + Docs for page phpfspot_cfg.php + + + + +
+

File/phpfspot_cfg.php

+ + +
+
Description
+ +
+ + +
+
+ + +
+
Classes
+ +
+ + + + + + + + + +
ClassDescription
+  class + PHPFSPOT_CFG + + +
+
+
+ + + + + +

+ Documentation generated on Sat, 12 Apr 2008 18:25:05 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file diff --git a/docs/phpfspot/_phpfspot_db.php.html b/docs/phpfspot/_phpfspot_db.php.html new file mode 100644 index 0000000..2246e34 --- /dev/null +++ b/docs/phpfspot/_phpfspot_db.php.html @@ -0,0 +1,65 @@ + + + + + + Docs for page phpfspot_db.php + + + + +
+

File/phpfspot_db.php

+ + +
+
Description
+ +
+ +

*************************************************************************

+

phpfspot, presents your F-Spot photo collection in Web browsers.

Copyright (c) by Andreas Unterkircher

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

*************************************************************************

+ +
+
+ + +
+
Classes
+ +
+ + + + + + + + + +
ClassDescription
+  class + PHPFSPOT_DB + + PHPFSPOT_DB class +
+
+
+ + + + + +

+ Documentation generated on Sat, 12 Apr 2008 18:25:06 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file diff --git a/docs/phpfspot/_phpfspot_img.php.html b/docs/phpfspot/_phpfspot_img.php.html new file mode 100644 index 0000000..fe9e7d1 --- /dev/null +++ b/docs/phpfspot/_phpfspot_img.php.html @@ -0,0 +1,93 @@ + + + + + + Docs for page phpfspot_img.php + + + + +
+

File/phpfspot_img.php

+ + +
+
Description
+ +
+ + +
+
+ + +
+
Classes
+ +
+ + + + + + + + + +
ClassDescription
+  class + PHPFSPOT_IMG + + PHPFSPOT_IMG class +
+
+
+ + +
+
Includes
+ +
+ +
+ +
+  + + require_once + ("phpfspot.class.php") + (line 25) + +
+ + +

*************************************************************************

+

phpfspot, presents your F-Spot photo collection in Web browsers.

Copyright (c) by Andreas Unterkircher

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

*************************************************************************

+ +
+
+
+ + + + +

+ Documentation generated on Sat, 12 Apr 2008 18:25:06 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file diff --git a/docs/phpfspot/_phpfspot_tmpl.php.html b/docs/phpfspot/_phpfspot_tmpl.php.html new file mode 100644 index 0000000..70b3de9 --- /dev/null +++ b/docs/phpfspot/_phpfspot_tmpl.php.html @@ -0,0 +1,65 @@ + + + + + + Docs for page phpfspot_tmpl.php + + + + +
+

File/phpfspot_tmpl.php

+ + +
+
Description
+ +
+ +

*************************************************************************

+

phpfspot, presents your F-Spot photo collection in Web browsers.

Copyright (c) by Andreas Unterkircher

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

*************************************************************************

+ +
+
+ + +
+
Classes
+ +
+ + + + + + + + + +
ClassDescription
+  class + PHPFSPOT_TMPL + + PHPFSPOT_TMPL class +
+
+
+ + + + + +

+ Documentation generated on Sat, 12 Apr 2008 18:25:06 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file diff --git a/docs/phpfspot/_rpc.php.html b/docs/phpfspot/_rpc.php.html new file mode 100644 index 0000000..943ba9d --- /dev/null +++ b/docs/phpfspot/_rpc.php.html @@ -0,0 +1,91 @@ + + + + + + Docs for page rpc.php + + + + +
+

File/rpc.php

+ + +
+
Description
+ +
+ + +
+
+ + +
+
Classes
+ +
+ + + + + + + + + +
ClassDescription
+  class + PHPFSPOT_RPC + + PHPFSPOT_RPC class +
+
+
+ + +
+
Includes
+ +
+ +
+ +
+  + + require_once + ("phpfspot.class.php") + (line 25) + +
+ + + +
+
+
+ + + + +

+ Documentation generated on Sat, 12 Apr 2008 18:25:06 +0200 by phpDocumentor 1.4.2 +

+
+ \ No newline at end of file -- cgit v1.2.3-18-g5258