From 7703bb616f1966c47a230f5027b4f718769857d6 Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 12 Apr 2008 12:59:37 +0200 Subject: translate_path() only needs one parameters. remove unused second one Signed-off-by: Andreas Unterkircher --- phpfspot.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpfspot.class.php b/phpfspot.class.php index 12e14fa..ccfbd25 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -488,10 +488,9 @@ class PHPFSPOT { * is usally not the same as on the webserver, this function * will replace the path with that one specified in the cfg * @param string $path - * @param integer $width * @return string */ - public function translate_path($path, $width = 0) + public function translate_path($path) { return str_replace($this->cfg->path_replace_from, $this->cfg->path_replace_to, $path); -- cgit v1.2.3-18-g5258 From cc5fc15f323d7ec65ca5ece977a50f2fe6153f8e Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 12 Apr 2008 18:20:55 +0200 Subject: code cleanups in rpc.php Signed-off-by: Andreas Unterkircher --- rpc.php | 58 ++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/rpc.php b/rpc.php index e4fecf8..bdb6206 100644 --- a/rpc.php +++ b/rpc.php @@ -24,10 +24,20 @@ require_once "phpfspot.class.php"; +/** + * PHPFSPOT_RPC class + * + * handles AJAX-RPC calls from client browsers + * @package phpfspot + */ class PHPFSPOT_RPC { + /** + * PHPFSPOT_RPC constructor + */ public function __construct() { + /* start PHP session */ session_start(); } // __construct() @@ -39,7 +49,7 @@ class PHPFSPOT_RPC { $server = new HTML_AJAX_Server(); $server->handleRequest(); - $fspot = new PHPFSPOT(); + $phpfspot = new PHPFSPOT(); /* if no action is specified, no need to further process this * function here. @@ -55,45 +65,45 @@ class PHPFSPOT_RPC { switch($action) { case 'showphoto': if(isset($_GET['id']) && is_numeric($_GET['id'])) { - $fspot->showPhoto($_GET['id']); + $phpfspot->showPhoto($_GET['id']); } break; case 'getxmltaglist': - print $fspot->get_xml_tag_list(); + print $phpfspot->get_xml_tag_list(); break; case 'show_available_tags': - print $fspot->getAvailableTags(); + print $phpfspot->getAvailableTags(); break; case 'show_selected_tags': - print $fspot->getSelectedTags(); + print $phpfspot->getSelectedTags(); break; case 'addtag': if(isset($_POST['id']) && is_numeric($_POST['id'])) { - print $fspot->addTag($_POST['id']); + print $phpfspot->addTag($_POST['id']); } break; case 'deltag': if(isset($_POST['id']) && is_numeric($_POST['id'])) { - print $fspot->delTag($_POST['id']); + print $phpfspot->delTag($_POST['id']); } break; case 'reset': - $fspot->resetTagSearch(); - $fspot->resetNameSearch(); - $fspot->resetTags(); - $fspot->resetDateSearch(); - $fspot->resetPhotoView(); + $phpfspot->resetTagSearch(); + $phpfspot->resetNameSearch(); + $phpfspot->resetTags(); + $phpfspot->resetDateSearch(); + $phpfspot->resetPhotoView(); break; case 'tagcondition': if(isset($_POST['mode']) && in_array($_POST['mode'], Array('or', 'and'))) { - print $fspot->setTagCondition($_POST['mode']); + print $phpfspot->setTagCondition($_POST['mode']); } break; @@ -107,54 +117,54 @@ class PHPFSPOT_RPC { if(isset($_GET['last_photo']) && is_numeric($_GET['last_photo'])) $_SESSION['last_photo'] = $_GET['last_photo']; - $fspot->showPhotoIndex(); + $phpfspot->showPhotoIndex(); break; case 'showcredits': - $fspot->showCredits(); + $phpfspot->showCredits(); break; case 'search': - print $fspot->startSearch(); + print $phpfspot->startSearch(); break; case 'update_sort_order': if(isset($_POST['value']) && is_string($_POST['value'])) { - print $fspot->updateSortOrder($_POST['value']); + print $phpfspot->updateSortOrder($_POST['value']); } break; case 'get_export': /* $_GET['mode'] will be validated by getExport() */ - $fspot->getExport($_GET['mode']); + $phpfspot->getExport($_GET['mode']); break; case 'get_photo_to_show': - $fspot->getCurrentPhoto(); + $phpfspot->getCurrentPhoto(); break; case 'get_calendar_matrix': if((is_numeric($_GET['year']) || !isset($_GET['year'])) && (is_numeric($_GET['month']) || !isset($_GET['month'])) && (is_numeric($_GET['day']) || !isset($_GET['day']))) { - $fspot->get_calendar_matrix($_GET['year'], $_GET['month'], $_GET['day']); + $phpfspot->get_calendar_matrix($_GET['year'], $_GET['month'], $_GET['day']); } break; case 'what_to_do': - print $fspot->whatToDo(); + print $phpfspot->whatToDo(); break; case 'reset_slideshow': - print $fspot->resetSlideShow(); + print $phpfspot->resetSlideShow(); break; case 'get_next_slideshow_img': - print $fspot->getNextSlideShowImage(); + print $phpfspot->getNextSlideShowImage(); break; case 'get_prev_slideshow_img': - print $fspot->getPrevSlideShowImage(); + print $phpfspot->getPrevSlideShowImage(); break; } -- cgit v1.2.3-18-g5258 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/blank.html | 13 + docs/classtrees_phpfspot.html | 44 + docs/elementindex.html | 1015 ++++++++++++ docs/elementindex_phpfspot.html | 1012 ++++++++++++ docs/errors.html | 66 + docs/index.html | 24 + docs/li_phpfspot.html | 47 + docs/media/banner.css | 33 + docs/media/images/AbstractClass.png | Bin 0 -> 620 bytes docs/media/images/AbstractClass_logo.png | Bin 0 -> 1232 bytes docs/media/images/AbstractMethod.png | Bin 0 -> 696 bytes docs/media/images/AbstractPrivateClass.png | Bin 0 -> 848 bytes docs/media/images/AbstractPrivateClass_logo.png | Bin 0 -> 1615 bytes docs/media/images/AbstractPrivateMethod.png | Bin 0 -> 874 bytes docs/media/images/Class.png | Bin 0 -> 570 bytes docs/media/images/Class_logo.png | Bin 0 -> 1600 bytes docs/media/images/Constant.png | Bin 0 -> 752 bytes docs/media/images/Constructor.png | Bin 0 -> 865 bytes docs/media/images/Destructor.png | Bin 0 -> 956 bytes docs/media/images/Function.png | Bin 0 -> 596 bytes docs/media/images/Global.png | Bin 0 -> 712 bytes docs/media/images/I.png | Bin 0 -> 148 bytes docs/media/images/Index.png | Bin 0 -> 584 bytes docs/media/images/Interface.png | Bin 0 -> 1083 bytes docs/media/images/Interface_logo.png | Bin 0 -> 1600 bytes docs/media/images/L.png | Bin 0 -> 153 bytes docs/media/images/Lminus.png | Bin 0 -> 219 bytes docs/media/images/Lplus.png | Bin 0 -> 224 bytes docs/media/images/Method.png | Bin 0 -> 661 bytes docs/media/images/Page.png | Bin 0 -> 592 bytes docs/media/images/Page_logo.png | Bin 0 -> 1369 bytes docs/media/images/PrivateClass.png | Bin 0 -> 790 bytes docs/media/images/PrivateClass_logo.png | Bin 0 -> 1836 bytes docs/media/images/PrivateMethod.png | Bin 0 -> 918 bytes docs/media/images/PrivateVariable.png | Bin 0 -> 772 bytes docs/media/images/StaticMethod.png | Bin 0 -> 661 bytes docs/media/images/StaticVariable.png | Bin 0 -> 688 bytes docs/media/images/T.png | Bin 0 -> 152 bytes docs/media/images/Tminus.png | Bin 0 -> 207 bytes docs/media/images/Tplus.png | Bin 0 -> 222 bytes docs/media/images/Variable.png | Bin 0 -> 688 bytes docs/media/images/blank.png | Bin 0 -> 144 bytes docs/media/images/class_folder.png | Bin 0 -> 633 bytes docs/media/images/empty.png | Bin 0 -> 90 bytes docs/media/images/file.png | Bin 0 -> 462 bytes docs/media/images/folder.png | Bin 0 -> 492 bytes docs/media/images/function_folder.png | Bin 0 -> 605 bytes docs/media/images/next_button.png | Bin 0 -> 657 bytes docs/media/images/next_button_disabled.png | Bin 0 -> 543 bytes docs/media/images/package.png | Bin 0 -> 668 bytes docs/media/images/package_folder.png | Bin 0 -> 564 bytes docs/media/images/previous_button.png | Bin 0 -> 644 bytes docs/media/images/previous_button_disabled.png | Bin 0 -> 541 bytes docs/media/images/private_class_logo.png | Bin 0 -> 1836 bytes docs/media/images/tutorial.png | Bin 0 -> 431 bytes docs/media/images/tutorial_folder.png | Bin 0 -> 572 bytes docs/media/images/up_button.png | Bin 0 -> 668 bytes docs/media/stylesheet.css | 146 ++ docs/packages.html | 36 + 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 ++ docs/ric_CHANGELOG.html | 80 + docs/ric_INSTALL.html | 62 + docs/ric_README.html | 24 + 77 files changed, 6698 insertions(+) create mode 100644 docs/blank.html create mode 100644 docs/classtrees_phpfspot.html create mode 100644 docs/elementindex.html create mode 100644 docs/elementindex_phpfspot.html create mode 100644 docs/errors.html create mode 100644 docs/index.html create mode 100644 docs/li_phpfspot.html create mode 100644 docs/media/banner.css create mode 100644 docs/media/images/AbstractClass.png create mode 100644 docs/media/images/AbstractClass_logo.png create mode 100644 docs/media/images/AbstractMethod.png create mode 100644 docs/media/images/AbstractPrivateClass.png create mode 100644 docs/media/images/AbstractPrivateClass_logo.png create mode 100644 docs/media/images/AbstractPrivateMethod.png create mode 100644 docs/media/images/Class.png create mode 100644 docs/media/images/Class_logo.png create mode 100644 docs/media/images/Constant.png create mode 100644 docs/media/images/Constructor.png create mode 100644 docs/media/images/Destructor.png create mode 100644 docs/media/images/Function.png create mode 100644 docs/media/images/Global.png create mode 100644 docs/media/images/I.png create mode 100644 docs/media/images/Index.png create mode 100644 docs/media/images/Interface.png create mode 100644 docs/media/images/Interface_logo.png create mode 100644 docs/media/images/L.png create mode 100644 docs/media/images/Lminus.png create mode 100644 docs/media/images/Lplus.png create mode 100644 docs/media/images/Method.png create mode 100644 docs/media/images/Page.png create mode 100644 docs/media/images/Page_logo.png create mode 100644 docs/media/images/PrivateClass.png create mode 100644 docs/media/images/PrivateClass_logo.png create mode 100644 docs/media/images/PrivateMethod.png create mode 100644 docs/media/images/PrivateVariable.png create mode 100644 docs/media/images/StaticMethod.png create mode 100644 docs/media/images/StaticVariable.png create mode 100644 docs/media/images/T.png create mode 100644 docs/media/images/Tminus.png create mode 100644 docs/media/images/Tplus.png create mode 100644 docs/media/images/Variable.png create mode 100644 docs/media/images/blank.png create mode 100644 docs/media/images/class_folder.png create mode 100644 docs/media/images/empty.png create mode 100644 docs/media/images/file.png create mode 100644 docs/media/images/folder.png create mode 100644 docs/media/images/function_folder.png create mode 100644 docs/media/images/next_button.png create mode 100644 docs/media/images/next_button_disabled.png create mode 100644 docs/media/images/package.png create mode 100644 docs/media/images/package_folder.png create mode 100644 docs/media/images/previous_button.png create mode 100644 docs/media/images/previous_button_disabled.png create mode 100644 docs/media/images/private_class_logo.png create mode 100644 docs/media/images/tutorial.png create mode 100644 docs/media/images/tutorial_folder.png create mode 100644 docs/media/images/up_button.png create mode 100644 docs/media/stylesheet.css create mode 100644 docs/packages.html 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 create mode 100644 docs/ric_CHANGELOG.html create mode 100644 docs/ric_INSTALL.html create mode 100644 docs/ric_README.html diff --git a/docs/blank.html b/docs/blank.html new file mode 100644 index 0000000..2456a52 --- /dev/null +++ b/docs/blank.html @@ -0,0 +1,13 @@ + + + phpfspot source-code documentation + + + + +

phpfspot source-code documentation

+Welcome to phpfspot!
+
+This documentation was generated by phpDocumentor v1.4.2
+ + \ No newline at end of file diff --git a/docs/classtrees_phpfspot.html b/docs/classtrees_phpfspot.html new file mode 100644 index 0000000..6ee5ce4 --- /dev/null +++ b/docs/classtrees_phpfspot.html @@ -0,0 +1,44 @@ + + + + + + + + + + + + +

+ +

+

Root class PHPFSPOT

+ + +

Root class PHPFSPOT_CFG

+ + +

Root class PHPFSPOT_DB

+ + +

Root class PHPFSPOT_IMG

+ + +

Root class PHPFSPOT_RPC

+ + +

Root class Smarty

+ + +

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

+ + \ No newline at end of file diff --git a/docs/elementindex.html b/docs/elementindex.html new file mode 100644 index 0000000..15acbc4 --- /dev/null +++ b/docs/elementindex.html @@ -0,0 +1,1015 @@ + + + + + + + + + + + +

Full index

+

Package indexes

+ +
+
+ a + b + c + d + e + f + g + h + i + l + m + p + r + s + t + u + w + _ +
+ + +
+
a
+ +
+
+
+
+ Variable + $avail_tags +
+
+
PHPFSPOT::$avail_tags in phpfspot.class.php
+
list of available, not-selected, tags
+
+
+ Method + addTag +
+
+
PHPFSPOT::addTag() in phpfspot.class.php
+
add tag to users session variable
+
+
+ +
+
b
+ +
+
+
+
+ Variable + $base_path +
+
+
PHPFSPOT_CFG::$base_path in phpfspot_cfg.php
+
+
+ +
+
c
+ +
+
+
+
+ Variable + $cfg +
+
+
PHPFSPOT::$cfg in phpfspot.class.php
+
phpfspot configuration
+
+
+ Variable + $cfg_db +
+
+
PHPFSPOT::$cfg_db in phpfspot.class.php
+
SQLite database handle to phpfspot database
+
+
+ Method + checkifImageSupported +
+
+
PHPFSPOT::checkifImageSupported() in phpfspot.class.php
+
check if specified MIME type is supported
+
+
+ Method + check_config_table +
+
+
PHPFSPOT::check_config_table() in phpfspot.class.php
+
create phpfspot own sqlite database
+
+
+ Method + cleanup_phpfspot_db +
+
+
PHPFSPOT::cleanup_phpfspot_db() in phpfspot.class.php
+
cleanup phpfspot own database
+
+
+ Method + create_thumbnail +
+
+
PHPFSPOT::create_thumbnail() in phpfspot.class.php
+
create_thumbnails for the requested width
+
+
+ +
+
d
+ +
+
+
+
+ Variable + $db +
+
+
PHPFSPOT::$db in phpfspot.class.php
+
SQLite database handle to f-spot database
+
+
+ Variable + $db_access +
+
+
PHPFSPOT_CFG::$db_access in phpfspot_cfg.php
+
+
+ Method + db_check_table_exists +
+
+ +
PHPFSPOT_DB check table exists
+
+
+ Method + db_exec +
+
+
PHPFSPOT_DB::db_exec() in phpfspot_db.php
+
PHPFSPOT_DB database query & execute
+
+
+ Method + db_fetchSingleRow +
+
+ +
PHPFSPOT_DB fetch ONE row
+
+
+ Method + db_fetch_object +
+
+ +
+
+ Method + db_getNumRows +
+
+
PHPFSPOT_DB::db_getNumRows() in phpfspot_db.php
+
PHPFSPOT_DB number of affected rows
+
+
+ Method + db_query +
+
+
PHPFSPOT_DB::db_query() in phpfspot_db.php
+
PHPFSPOT_DB database query
+
+
+ Method + delTag +
+
+
PHPFSPOT::delTag() in phpfspot.class.php
+
remove tag to users session variable
+
+
+ +
+
e
+ +
+
+
+
+ Variable + $error_found +
+
+
PHPFSPOT_CFG::$error_found in phpfspot_cfg.php
+
+
+ +
+
f
+ +
+
+
+
+ Variable + $fspot_db +
+
+
PHPFSPOT_CFG::$fspot_db in phpfspot_cfg.php
+
+
+ Page + find_dups.php +
+
+
find_dups.php in find_dups.php
+
+
+ +
+
g
+ +
+
+
+
+ Method + gen_thumb +
+
+
PHPFSPOT::gen_thumb() in phpfspot.class.php
+
Generates a thumbnail from photo idx
+
+
+ Page + gen_thumbs.php +
+
+
gen_thumbs.php in gen_thumbs.php
+
+
+ Method + getAvailableTags +
+
+
PHPFSPOT::getAvailableTags() in phpfspot.class.php
+
all available tags and tag cloud
+
+
+ Method + getCurrentPhoto +
+
+
PHPFSPOT::getCurrentPhoto() in phpfspot.class.php
+
return the current photo
+
+
+ Method + getExport +
+
+
PHPFSPOT::getExport() in phpfspot.class.php
+
output export page
+
+
+ Method + getFspotDBVersion +
+
+
PHPFSPOT::getFspotDBVersion() in phpfspot.class.php
+
retrive F-Spot database version
+
+
+ Method + getMD5 +
+
+
PHPFSPOT::getMD5() in phpfspot.class.php
+
returns stored md5 sum for a specific photo
+
+
+ Method + getNextSlideShowImage +
+
+
PHPFSPOT::getNextSlideShowImage() in phpfspot.class.php
+
return the next to be shown slide show image
+
+
+ Method + getPhotoName +
+
+
PHPFSPOT::getPhotoName() in phpfspot.class.php
+
returns aligned photo names
+
+
+ Method + getPhotoSelection +
+
+
PHPFSPOT::getPhotoSelection() in phpfspot.class.php
+
return all photo according selection
+
+
+ Method + getPrevSlideShowImage +
+
+
PHPFSPOT::getPrevSlideShowImage() in phpfspot.class.php
+
return the previous to be shown slide show image
+
+
+ Method + getRSSFeed +
+
+
PHPFSPOT::getRSSFeed() in phpfspot.class.php
+
output RSS feed
+
+
+ Method + getSelectedTags +
+
+
PHPFSPOT::getSelectedTags() in phpfspot.class.php
+
output all selected tags
+
+
+ Method + get_calendar_matrix +
+
+
PHPFSPOT::get_calendar_matrix() in phpfspot.class.php
+
output calendar matrix
+
+
+ Method + get_meta_informations +
+
+
PHPFSPOT::get_meta_informations() in phpfspot.class.php
+
return all exif meta data from the file
+
+
+ Method + get_num_photos +
+
+
PHPFSPOT::get_num_photos() in phpfspot.class.php
+
returns the number of photos which are tagged with $tag_id
+
+
+ Method + get_photo_details +
+
+
PHPFSPOT::get_photo_details() in phpfspot.class.php
+
extract all photo details
+
+
+ Method + get_random_photo +
+
+
PHPFSPOT::get_random_photo() in phpfspot.class.php
+
get random photo
+
+
+ Method + get_thumb_path +
+
+
PHPFSPOT::get_thumb_path() in phpfspot.class.php
+
returns the full path to a thumbnail
+
+
+ Method + get_xml_tag_list +
+
+
PHPFSPOT::get_xml_tag_list() in phpfspot.class.php
+
returns the value for the autocomplet tag-search
+
+
+ +
+
h
+ +
+
+
+
+ Variable + $hide_tags +
+
+
PHPFSPOT_CFG::$hide_tags in phpfspot_cfg.php
+
+
+ +
+
i
+ +
+
+
+
+ Page + index.php +
+
+
index.php in index.php
+
+
+ Method + isValidDate +
+
+
PHPFSPOT::isValidDate() in phpfspot.class.php
+
validates provided date
+
+
+ +
+
l
+ +
+
+
+
+ Variable + $logging +
+
+
PHPFSPOT_CFG::$logging in phpfspot_cfg.php
+
+
+ Variable + $log_file +
+
+
PHPFSPOT_CFG::$log_file in phpfspot_cfg.php
+
+
+ +
+
m
+ +
+
+
+
+ Variable + $mini_width +
+
+
PHPFSPOT_CFG::$mini_width in phpfspot_cfg.php
+
+
+ +
+
p
+ +
+
+
+
+ Variable + $page_title +
+
+
PHPFSPOT_CFG::$page_title in phpfspot_cfg.php
+
+
+ Variable + $path_replace_from +
+
+ +
+
+ Variable + $path_replace_to +
+
+
PHPFSPOT_CFG::$path_replace_to in phpfspot_cfg.php
+
+
+ Variable + $photo_width +
+
+
PHPFSPOT_CFG::$photo_width in phpfspot_cfg.php
+
+
+ Variable + $phpfspot_db +
+
+
PHPFSPOT_CFG::$phpfspot_db in phpfspot_cfg.php
+
+
+ Method + parse_uri +
+
+
PHPFSPOT::parse_uri() in phpfspot.class.php
+
parse the provided URI and will returned the requested chunk
+
+
+ Class + PHPFSPOT +
+
+
PHPFSPOT in phpfspot.class.php
+
PHPFSPOT main class
+
+
+ Page + phpfspot.class.php +
+
+
phpfspot.class.php in phpfspot.class.php
+
+
+ Class + PHPFSPOT_CFG +
+
+
PHPFSPOT_CFG in phpfspot_cfg.php
+
+
+ Page + phpfspot_cfg.php +
+
+
phpfspot_cfg.php in phpfspot_cfg.php
+
+
+ Class + PHPFSPOT_DB +
+
+
PHPFSPOT_DB in phpfspot_db.php
+
PHPFSPOT_DB class
+
+
+ Page + phpfspot_db.php +
+
+
phpfspot_db.php in phpfspot_db.php
+
+
+ Class + PHPFSPOT_IMG +
+
+
PHPFSPOT_IMG in phpfspot_img.php
+
PHPFSPOT_IMG class
+
+
+ Page + phpfspot_img.php +
+
+
phpfspot_img.php in phpfspot_img.php
+
+
+ Class + PHPFSPOT_RPC +
+
+
PHPFSPOT_RPC in rpc.php
+
PHPFSPOT_RPC class
+
+
+ Class + PHPFSPOT_TMPL +
+
+
PHPFSPOT_TMPL in phpfspot_tmpl.php
+
PHPFSPOT_TMPL class
+
+
+ Page + phpfspot_tmpl.php +
+
+
phpfspot_tmpl.php in phpfspot_tmpl.php
+
+
+ Method + process_ajax_request +
+
+ +
+
+ +
+
r
+ +
+
+
+
+ Method + resetDateSearch +
+
+
PHPFSPOT::resetDateSearch() in phpfspot.class.php
+
reset date search
+
+
+ Method + resetNameSearch +
+
+
PHPFSPOT::resetNameSearch() in phpfspot.class.php
+
reset name search
+
+
+ Method + resetPhotoView +
+
+
PHPFSPOT::resetPhotoView() in phpfspot.class.php
+
reset single photo
+
+
+ Method + resetSlideShow +
+
+
PHPFSPOT::resetSlideShow() in phpfspot.class.php
+
+
+ Method + resetTags +
+
+
PHPFSPOT::resetTags() in phpfspot.class.php
+
reset tag selection
+
+
+ Method + resetTagSearch +
+
+
PHPFSPOT::resetTagSearch() in phpfspot.class.php
+
reset tag search
+
+
+ Page + rpc.php +
+
+
rpc.php in rpc.php
+
+
+ +
+
s
+ +
+
+
+
+ Variable + $smarty_path +
+
+
PHPFSPOT_CFG::$smarty_path in phpfspot_cfg.php
+
+
+ Method + setTagCondition +
+
+
PHPFSPOT::setTagCondition() in phpfspot.class.php
+
store current tag condition
+
+
+ Method + show +
+
+
PHPFSPOT_IMG::show() in phpfspot_img.php
+
sends the specified image to the browser
+
+
+ Method + show +
+
+
PHPFSPOT_TMPL::show() in phpfspot_tmpl.php
+
show template
+
+
+ Method + show +
+
+
PHPFSPOT::show() in phpfspot.class.php
+
show - generate html output
+
+
+ Method + showCredits +
+
+
PHPFSPOT::showCredits() in phpfspot.class.php
+
show credit template
+
+
+ Method + showPhoto +
+
+
PHPFSPOT::showPhoto() in phpfspot.class.php
+
control HTML ouput for a single photo
+
+
+ Method + showPhotoIndex +
+
+
PHPFSPOT::showPhotoIndex() in phpfspot.class.php
+
control HTML ouput for photo index
+
+
+ Method + showTextImage +
+
+
PHPFSPOT::showTextImage() in phpfspot.class.php
+
create on-the-fly images with text within
+
+
+ Method + smarty_sort_select_list +
+
+ +
returns a select-dropdown box to select photo index sort parameters
+
+
+ Method + startSearch +
+
+
PHPFSPOT::startSearch() in phpfspot.class.php
+
invoke tag & date search
+
+
+ +
+
t
+ +
+
+
+
+ Variable + $tags +
+
+
PHPFSPOT::$tags in phpfspot.class.php
+
full tag - list
+
+
+ Variable + $theme_name +
+
+
PHPFSPOT_CFG::$theme_name in phpfspot_cfg.php
+
+
+ Variable + $thumbs_per_page +
+
+
PHPFSPOT_CFG::$thumbs_per_page in phpfspot_cfg.php
+
+
+ Variable + $thumb_height +
+
+
PHPFSPOT_CFG::$thumb_height in phpfspot_cfg.php
+
+
+ Variable + $thumb_path +
+
+
PHPFSPOT_CFG::$thumb_path in phpfspot_cfg.php
+
+
+ Variable + $thumb_width +
+
+
PHPFSPOT_CFG::$thumb_width in phpfspot_cfg.php
+
+
+ Variable + $tmpl +
+
+
PHPFSPOT::$tmpl in phpfspot.class.php
+
Smarty template engine
+
+
+ Method + translate_path +
+
+
PHPFSPOT::translate_path() in phpfspot.class.php
+
translate f-spoth photo path
+
+
+ +
+
u
+ +
+
+
+
+ Variable + $use_autocomplete +
+
+ +
+
+ Variable + $use_lightbox +
+
+
PHPFSPOT_CFG::$use_lightbox in phpfspot_cfg.php
+
+
+ Method + updateSortOrder +
+
+
PHPFSPOT::updateSortOrder() in phpfspot.class.php
+
updates sort order in session variable
+
+
+ +
+
w
+ +
+
+
+
+ Variable + $web_path +
+
+
PHPFSPOT_CFG::$web_path in phpfspot_cfg.php
+
+
+ Method + whatToDo +
+
+
PHPFSPOT::whatToDo() in phpfspot.class.php
+
tells the client browser what to do
+
+
+ +
+
_
+ +
+
+
+
+ Method + _error +
+
+
PHPFSPOT::_error() in phpfspot.class.php
+
output error text
+
+
+ Method + __construct +
+
+
PHPFSPOT_TMPL::__construct() in phpfspot_tmpl.php
+
class constructor
+
+
+ Method + __construct +
+
+ +
PHPFSPOT_RPC constructor
+
+
+ Method + __construct +
+
+
PHPFSPOT_IMG::__construct() in phpfspot_img.php
+
PHPFSPOT_IMG class constructor
+
+
+ Method + __construct +
+
+
PHPFSPOT_DB::__construct() in phpfspot_db.php
+
PHPFSPOT_DB class constructor
+
+
+ Method + __construct +
+
+
PHPFSPOT_CFG::__construct() in phpfspot_cfg.php
+
+
+ Method + __construct +
+
+
PHPFSPOT::__construct() in phpfspot.class.php
+
class constructor ($cfg, $db, $cfg_db, $tmpl, $db_ver)
+
+
+ Method + __destruct +
+
+
PHPFSPOT::__destruct() in phpfspot.class.php
+
+
+ Method + __destruct +
+
+
PHPFSPOT_IMG::__destruct() in phpfspot_img.php
+
PHPFSPOT_IMG class destructor
+
+
+ Method + __destruct +
+
+
PHPFSPOT_DB::__destruct() in phpfspot_db.php
+
PHPFSPOT_DB class deconstructor
+
+
+ +
+ a + b + c + d + e + f + g + h + i + l + m + p + r + s + t + u + w + _ +
+ \ No newline at end of file diff --git a/docs/elementindex_phpfspot.html b/docs/elementindex_phpfspot.html new file mode 100644 index 0000000..51cc660 --- /dev/null +++ b/docs/elementindex_phpfspot.html @@ -0,0 +1,1012 @@ + + + + + + + + + + + +

[phpfspot] element index

+All elements +
+
+ a + b + c + d + e + f + g + h + i + l + m + p + r + s + t + u + w + _ +
+ + +
+
_
+ +
+
+
+
+ Method + _error +
+
+
PHPFSPOT::_error() in phpfspot.class.php
+
output error text
+
+
+ Method + __construct +
+
+
PHPFSPOT_TMPL::__construct() in phpfspot_tmpl.php
+
class constructor
+
+
+ Method + __construct +
+
+ +
PHPFSPOT_RPC constructor
+
+
+ Method + __construct +
+
+
PHPFSPOT_IMG::__construct() in phpfspot_img.php
+
PHPFSPOT_IMG class constructor
+
+
+ Method + __construct +
+
+
PHPFSPOT_DB::__construct() in phpfspot_db.php
+
PHPFSPOT_DB class constructor
+
+
+ Method + __construct +
+
+
PHPFSPOT_CFG::__construct() in phpfspot_cfg.php
+
+
+ Method + __construct +
+
+
PHPFSPOT::__construct() in phpfspot.class.php
+
class constructor ($cfg, $db, $cfg_db, $tmpl, $db_ver)
+
+
+ Method + __destruct +
+
+
PHPFSPOT::__destruct() in phpfspot.class.php
+
+
+ Method + __destruct +
+
+
PHPFSPOT_IMG::__destruct() in phpfspot_img.php
+
PHPFSPOT_IMG class destructor
+
+
+ Method + __destruct +
+
+
PHPFSPOT_DB::__destruct() in phpfspot_db.php
+
PHPFSPOT_DB class deconstructor
+
+
+ +
+
a
+ +
+
+
+
+ Variable + $avail_tags +
+
+
PHPFSPOT::$avail_tags in phpfspot.class.php
+
list of available, not-selected, tags
+
+
+ Method + addTag +
+
+
PHPFSPOT::addTag() in phpfspot.class.php
+
add tag to users session variable
+
+
+ +
+
b
+ +
+
+
+
+ Variable + $base_path +
+
+
PHPFSPOT_CFG::$base_path in phpfspot_cfg.php
+
+
+ +
+
c
+ +
+
+
+
+ Variable + $cfg +
+
+
PHPFSPOT::$cfg in phpfspot.class.php
+
phpfspot configuration
+
+
+ Variable + $cfg_db +
+
+
PHPFSPOT::$cfg_db in phpfspot.class.php
+
SQLite database handle to phpfspot database
+
+
+ Method + checkifImageSupported +
+
+
PHPFSPOT::checkifImageSupported() in phpfspot.class.php
+
check if specified MIME type is supported
+
+
+ Method + check_config_table +
+
+
PHPFSPOT::check_config_table() in phpfspot.class.php
+
create phpfspot own sqlite database
+
+
+ Method + cleanup_phpfspot_db +
+
+
PHPFSPOT::cleanup_phpfspot_db() in phpfspot.class.php
+
cleanup phpfspot own database
+
+
+ Method + create_thumbnail +
+
+
PHPFSPOT::create_thumbnail() in phpfspot.class.php
+
create_thumbnails for the requested width
+
+
+ +
+
d
+ +
+
+
+
+ Variable + $db +
+
+
PHPFSPOT::$db in phpfspot.class.php
+
SQLite database handle to f-spot database
+
+
+ Variable + $db_access +
+
+
PHPFSPOT_CFG::$db_access in phpfspot_cfg.php
+
+
+ Method + db_check_table_exists +
+
+ +
PHPFSPOT_DB check table exists
+
+
+ Method + db_exec +
+
+
PHPFSPOT_DB::db_exec() in phpfspot_db.php
+
PHPFSPOT_DB database query & execute
+
+
+ Method + db_fetchSingleRow +
+
+ +
PHPFSPOT_DB fetch ONE row
+
+
+ Method + db_fetch_object +
+
+ +
+
+ Method + db_getNumRows +
+
+
PHPFSPOT_DB::db_getNumRows() in phpfspot_db.php
+
PHPFSPOT_DB number of affected rows
+
+
+ Method + db_query +
+
+
PHPFSPOT_DB::db_query() in phpfspot_db.php
+
PHPFSPOT_DB database query
+
+
+ Method + delTag +
+
+
PHPFSPOT::delTag() in phpfspot.class.php
+
remove tag to users session variable
+
+
+ +
+
e
+ +
+
+
+
+ Variable + $error_found +
+
+
PHPFSPOT_CFG::$error_found in phpfspot_cfg.php
+
+
+ +
+
f
+ +
+
+
+
+ Variable + $fspot_db +
+
+
PHPFSPOT_CFG::$fspot_db in phpfspot_cfg.php
+
+
+ Page + find_dups.php +
+
+
find_dups.php in find_dups.php
+
+
+ +
+
g
+ +
+
+
+
+ Method + gen_thumb +
+
+
PHPFSPOT::gen_thumb() in phpfspot.class.php
+
Generates a thumbnail from photo idx
+
+
+ Page + gen_thumbs.php +
+
+
gen_thumbs.php in gen_thumbs.php
+
+
+ Method + getAvailableTags +
+
+
PHPFSPOT::getAvailableTags() in phpfspot.class.php
+
all available tags and tag cloud
+
+
+ Method + getCurrentPhoto +
+
+
PHPFSPOT::getCurrentPhoto() in phpfspot.class.php
+
return the current photo
+
+
+ Method + getExport +
+
+
PHPFSPOT::getExport() in phpfspot.class.php
+
output export page
+
+
+ Method + getFspotDBVersion +
+
+
PHPFSPOT::getFspotDBVersion() in phpfspot.class.php
+
retrive F-Spot database version
+
+
+ Method + getMD5 +
+
+
PHPFSPOT::getMD5() in phpfspot.class.php
+
returns stored md5 sum for a specific photo
+
+
+ Method + getNextSlideShowImage +
+
+
PHPFSPOT::getNextSlideShowImage() in phpfspot.class.php
+
return the next to be shown slide show image
+
+
+ Method + getPhotoName +
+
+
PHPFSPOT::getPhotoName() in phpfspot.class.php
+
returns aligned photo names
+
+
+ Method + getPhotoSelection +
+
+
PHPFSPOT::getPhotoSelection() in phpfspot.class.php
+
return all photo according selection
+
+
+ Method + getPrevSlideShowImage +
+
+
PHPFSPOT::getPrevSlideShowImage() in phpfspot.class.php
+
return the previous to be shown slide show image
+
+
+ Method + getRSSFeed +
+
+
PHPFSPOT::getRSSFeed() in phpfspot.class.php
+
output RSS feed
+
+
+ Method + getSelectedTags +
+
+
PHPFSPOT::getSelectedTags() in phpfspot.class.php
+
output all selected tags
+
+
+ Method + get_calendar_matrix +
+
+
PHPFSPOT::get_calendar_matrix() in phpfspot.class.php
+
output calendar matrix
+
+
+ Method + get_meta_informations +
+
+
PHPFSPOT::get_meta_informations() in phpfspot.class.php
+
return all exif meta data from the file
+
+
+ Method + get_num_photos +
+
+
PHPFSPOT::get_num_photos() in phpfspot.class.php
+
returns the number of photos which are tagged with $tag_id
+
+
+ Method + get_photo_details +
+
+
PHPFSPOT::get_photo_details() in phpfspot.class.php
+
extract all photo details
+
+
+ Method + get_random_photo +
+
+
PHPFSPOT::get_random_photo() in phpfspot.class.php
+
get random photo
+
+
+ Method + get_thumb_path +
+
+
PHPFSPOT::get_thumb_path() in phpfspot.class.php
+
returns the full path to a thumbnail
+
+
+ Method + get_xml_tag_list +
+
+
PHPFSPOT::get_xml_tag_list() in phpfspot.class.php
+
returns the value for the autocomplet tag-search
+
+
+ +
+
h
+ +
+
+
+
+ Variable + $hide_tags +
+
+
PHPFSPOT_CFG::$hide_tags in phpfspot_cfg.php
+
+
+ +
+
i
+ +
+
+
+
+ Page + index.php +
+
+
index.php in index.php
+
+
+ Method + isValidDate +
+
+
PHPFSPOT::isValidDate() in phpfspot.class.php
+
validates provided date
+
+
+ +
+
l
+ +
+
+
+
+ Variable + $logging +
+
+
PHPFSPOT_CFG::$logging in phpfspot_cfg.php
+
+
+ Variable + $log_file +
+
+
PHPFSPOT_CFG::$log_file in phpfspot_cfg.php
+
+
+ +
+
m
+ +
+
+
+
+ Variable + $mini_width +
+
+
PHPFSPOT_CFG::$mini_width in phpfspot_cfg.php
+
+
+ +
+
p
+ +
+
+
+
+ Variable + $page_title +
+
+
PHPFSPOT_CFG::$page_title in phpfspot_cfg.php
+
+
+ Variable + $path_replace_from +
+
+ +
+
+ Variable + $path_replace_to +
+
+
PHPFSPOT_CFG::$path_replace_to in phpfspot_cfg.php
+
+
+ Variable + $photo_width +
+
+
PHPFSPOT_CFG::$photo_width in phpfspot_cfg.php
+
+
+ Variable + $phpfspot_db +
+
+
PHPFSPOT_CFG::$phpfspot_db in phpfspot_cfg.php
+
+
+ Method + parse_uri +
+
+
PHPFSPOT::parse_uri() in phpfspot.class.php
+
parse the provided URI and will returned the requested chunk
+
+
+ Class + PHPFSPOT +
+
+
PHPFSPOT in phpfspot.class.php
+
PHPFSPOT main class
+
+
+ Page + phpfspot.class.php +
+
+
phpfspot.class.php in phpfspot.class.php
+
+
+ Class + PHPFSPOT_CFG +
+
+
PHPFSPOT_CFG in phpfspot_cfg.php
+
+
+ Page + phpfspot_cfg.php +
+
+
phpfspot_cfg.php in phpfspot_cfg.php
+
+
+ Class + PHPFSPOT_DB +
+
+
PHPFSPOT_DB in phpfspot_db.php
+
PHPFSPOT_DB class
+
+
+ Page + phpfspot_db.php +
+
+
phpfspot_db.php in phpfspot_db.php
+
+
+ Class + PHPFSPOT_IMG +
+
+
PHPFSPOT_IMG in phpfspot_img.php
+
PHPFSPOT_IMG class
+
+
+ Page + phpfspot_img.php +
+
+
phpfspot_img.php in phpfspot_img.php
+
+
+ Class + PHPFSPOT_RPC +
+
+
PHPFSPOT_RPC in rpc.php
+
PHPFSPOT_RPC class
+
+
+ Class + PHPFSPOT_TMPL +
+
+
PHPFSPOT_TMPL in phpfspot_tmpl.php
+
PHPFSPOT_TMPL class
+
+
+ Page + phpfspot_tmpl.php +
+
+
phpfspot_tmpl.php in phpfspot_tmpl.php
+
+
+ Method + process_ajax_request +
+
+ +
+
+ +
+
r
+ +
+
+
+
+ Method + resetDateSearch +
+
+
PHPFSPOT::resetDateSearch() in phpfspot.class.php
+
reset date search
+
+
+ Method + resetNameSearch +
+
+
PHPFSPOT::resetNameSearch() in phpfspot.class.php
+
reset name search
+
+
+ Method + resetPhotoView +
+
+
PHPFSPOT::resetPhotoView() in phpfspot.class.php
+
reset single photo
+
+
+ Method + resetSlideShow +
+
+
PHPFSPOT::resetSlideShow() in phpfspot.class.php
+
+
+ Method + resetTags +
+
+
PHPFSPOT::resetTags() in phpfspot.class.php
+
reset tag selection
+
+
+ Method + resetTagSearch +
+
+
PHPFSPOT::resetTagSearch() in phpfspot.class.php
+
reset tag search
+
+
+ Page + rpc.php +
+
+
rpc.php in rpc.php
+
+
+ +
+
s
+ +
+
+
+
+ Variable + $smarty_path +
+
+
PHPFSPOT_CFG::$smarty_path in phpfspot_cfg.php
+
+
+ Method + setTagCondition +
+
+
PHPFSPOT::setTagCondition() in phpfspot.class.php
+
store current tag condition
+
+
+ Method + show +
+
+
PHPFSPOT_IMG::show() in phpfspot_img.php
+
sends the specified image to the browser
+
+
+ Method + show +
+
+
PHPFSPOT_TMPL::show() in phpfspot_tmpl.php
+
show template
+
+
+ Method + show +
+
+
PHPFSPOT::show() in phpfspot.class.php
+
show - generate html output
+
+
+ Method + showCredits +
+
+
PHPFSPOT::showCredits() in phpfspot.class.php
+
show credit template
+
+
+ Method + showPhoto +
+
+
PHPFSPOT::showPhoto() in phpfspot.class.php
+
control HTML ouput for a single photo
+
+
+ Method + showPhotoIndex +
+
+
PHPFSPOT::showPhotoIndex() in phpfspot.class.php
+
control HTML ouput for photo index
+
+
+ Method + showTextImage +
+
+
PHPFSPOT::showTextImage() in phpfspot.class.php
+
create on-the-fly images with text within
+
+
+ Method + smarty_sort_select_list +
+
+ +
returns a select-dropdown box to select photo index sort parameters
+
+
+ Method + startSearch +
+
+
PHPFSPOT::startSearch() in phpfspot.class.php
+
invoke tag & date search
+
+
+ +
+
t
+ +
+
+
+
+ Variable + $tags +
+
+
PHPFSPOT::$tags in phpfspot.class.php
+
full tag - list
+
+
+ Variable + $theme_name +
+
+
PHPFSPOT_CFG::$theme_name in phpfspot_cfg.php
+
+
+ Variable + $thumbs_per_page +
+
+
PHPFSPOT_CFG::$thumbs_per_page in phpfspot_cfg.php
+
+
+ Variable + $thumb_height +
+
+
PHPFSPOT_CFG::$thumb_height in phpfspot_cfg.php
+
+
+ Variable + $thumb_path +
+
+
PHPFSPOT_CFG::$thumb_path in phpfspot_cfg.php
+
+
+ Variable + $thumb_width +
+
+
PHPFSPOT_CFG::$thumb_width in phpfspot_cfg.php
+
+
+ Variable + $tmpl +
+
+
PHPFSPOT::$tmpl in phpfspot.class.php
+
Smarty template engine
+
+
+ Method + translate_path +
+
+
PHPFSPOT::translate_path() in phpfspot.class.php
+
translate f-spoth photo path
+
+
+ +
+
u
+ +
+
+
+
+ Variable + $use_autocomplete +
+
+ +
+
+ Variable + $use_lightbox +
+
+
PHPFSPOT_CFG::$use_lightbox in phpfspot_cfg.php
+
+
+ Method + updateSortOrder +
+
+
PHPFSPOT::updateSortOrder() in phpfspot.class.php
+
updates sort order in session variable
+
+
+ +
+
w
+ +
+
+
+
+ Variable + $web_path +
+
+
PHPFSPOT_CFG::$web_path in phpfspot_cfg.php
+
+
+ Method + whatToDo +
+
+
PHPFSPOT::whatToDo() in phpfspot.class.php
+
tells the client browser what to do
+
+
+ +
+ a + b + c + d + e + f + g + h + i + l + m + p + r + s + t + u + w + _ +
+ \ No newline at end of file diff --git a/docs/errors.html b/docs/errors.html new file mode 100644 index 0000000..16075cd --- /dev/null +++ b/docs/errors.html @@ -0,0 +1,66 @@ + + + + + + phpDocumentor Parser Errors and Warnings + + + + + Post-parsing
+gen_thumbs.php
+index.php
+phpfspot.class.php
+phpfspot_cfg.php
+phpfspot_db.php
+phpfspot_img.php
+phpfspot_tmpl.php
+rpc.php
+ +

Post-parsing

+

Warnings:


+Warning - Class PHPFSPOT_TMPL parent Smarty not found
+ +

find_dups.php

+

Warnings:


+Warning on line 56 - File "/var/www/beau.netshadow.at/htdocs/find_dups.php" has no page-level DocBlock, use @package in the first DocBlock to create one
+ +

gen_thumbs.php

+

Warnings:


+Warning on line 90 - File "/var/www/beau.netshadow.at/htdocs/gen_thumbs.php" has no page-level DocBlock, use @package in the first DocBlock to create one
+ +

index.php

+

Warnings:


+Warning on line 29 - File "/var/www/beau.netshadow.at/htdocs/index.php" has no page-level DocBlock, use @package in the first DocBlock to create one
+ +

phpfspot.class.php

+

Warnings:


+Warning on line 2567 - Unknown tag "@retrun" used
+Warning on line 2796 - File "/var/www/beau.netshadow.at/htdocs/phpfspot.class.php" has no page-level DocBlock, use @package in the first DocBlock to create one
+ +

phpfspot_cfg.php

+

Warnings:


+Warning on line 2 - no @package tag was used in a DocBlock for class PHPFSPOT_CFG
+Warning on line 83 - File "/var/www/beau.netshadow.at/htdocs/phpfspot_cfg.php" has no page-level DocBlock, use @package in the first DocBlock to create one
+ +

phpfspot_db.php

+

Warnings:


+Warning on line 28 - no @package tag was used in a DocBlock for file /var/www/beau.netshadow.at/htdocs/phpfspot_db.php
+ +

phpfspot_img.php

+

Warnings:


+Warning on line 142 - File "/var/www/beau.netshadow.at/htdocs/phpfspot_img.php" has no page-level DocBlock, use @package in the first DocBlock to create one
+ +

phpfspot_tmpl.php

+

Warnings:


+Warning on line 30 - no @package tag was used in a DocBlock for file /var/www/beau.netshadow.at/htdocs/phpfspot_tmpl.php
+ +

rpc.php

+

Warnings:


+Warning on line 178 - File "/var/www/beau.netshadow.at/htdocs/rpc.php" has no page-level DocBlock, use @package in the first DocBlock to create one
+

+ 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/index.html b/docs/index.html new file mode 100644 index 0000000..ac623fd --- /dev/null +++ b/docs/index.html @@ -0,0 +1,24 @@ + + + + + + phpfspot source-code documentation + + + + + + + + + + + <H2>Frame Alert</H2> + <P>This document is designed to be viewed using the frames feature. + If you see this message, you are using a non-frame-capable web client.</P> + + + \ No newline at end of file diff --git a/docs/li_phpfspot.html b/docs/li_phpfspot.html new file mode 100644 index 0000000..9173f8f --- /dev/null +++ b/docs/li_phpfspot.html @@ -0,0 +1,47 @@ + + + + + + + + + + +
phpfspot
+ +

phpDocumentor v 1.4.2

+ + \ No newline at end of file diff --git a/docs/media/banner.css b/docs/media/banner.css new file mode 100644 index 0000000..032b037 --- /dev/null +++ b/docs/media/banner.css @@ -0,0 +1,33 @@ +body +{ + background-color: #EEEEEE; + margin: 0px; + padding: 0px; +} + +/* Banner (top bar) classes */ + +.banner { } + +.banner-menu +{ + text-align: right; + clear: both; + padding: .5em; + border-top: 2px solid #AAAAAA; +} + +.banner-title +{ + text-align: right; + font-size: 20pt; + font-weight: bold; + margin: .2em; +} + +.package-selector +{ + background-color: #DDDDDD; + border: 1px solid #AAAAAA; + color: #000090; +} diff --git a/docs/media/images/AbstractClass.png b/docs/media/images/AbstractClass.png new file mode 100644 index 0000000..afa9d1d Binary files /dev/null and b/docs/media/images/AbstractClass.png differ diff --git a/docs/media/images/AbstractClass_logo.png b/docs/media/images/AbstractClass_logo.png new file mode 100644 index 0000000..8f65c39 Binary files /dev/null and b/docs/media/images/AbstractClass_logo.png differ diff --git a/docs/media/images/AbstractMethod.png b/docs/media/images/AbstractMethod.png new file mode 100644 index 0000000..605ccbe Binary files /dev/null and b/docs/media/images/AbstractMethod.png differ diff --git a/docs/media/images/AbstractPrivateClass.png b/docs/media/images/AbstractPrivateClass.png new file mode 100644 index 0000000..53d76c6 Binary files /dev/null and b/docs/media/images/AbstractPrivateClass.png differ diff --git a/docs/media/images/AbstractPrivateClass_logo.png b/docs/media/images/AbstractPrivateClass_logo.png new file mode 100644 index 0000000..4e68f57 Binary files /dev/null and b/docs/media/images/AbstractPrivateClass_logo.png differ diff --git a/docs/media/images/AbstractPrivateMethod.png b/docs/media/images/AbstractPrivateMethod.png new file mode 100644 index 0000000..41cc9f0 Binary files /dev/null and b/docs/media/images/AbstractPrivateMethod.png differ diff --git a/docs/media/images/Class.png b/docs/media/images/Class.png new file mode 100644 index 0000000..cf548d2 Binary files /dev/null and b/docs/media/images/Class.png differ diff --git a/docs/media/images/Class_logo.png b/docs/media/images/Class_logo.png new file mode 100644 index 0000000..6f223c4 Binary files /dev/null and b/docs/media/images/Class_logo.png differ diff --git a/docs/media/images/Constant.png b/docs/media/images/Constant.png new file mode 100644 index 0000000..a9c6f28 Binary files /dev/null and b/docs/media/images/Constant.png differ diff --git a/docs/media/images/Constructor.png b/docs/media/images/Constructor.png new file mode 100644 index 0000000..3f16222 Binary files /dev/null and b/docs/media/images/Constructor.png differ diff --git a/docs/media/images/Destructor.png b/docs/media/images/Destructor.png new file mode 100644 index 0000000..f28528f Binary files /dev/null and b/docs/media/images/Destructor.png differ diff --git a/docs/media/images/Function.png b/docs/media/images/Function.png new file mode 100644 index 0000000..902fe25 Binary files /dev/null and b/docs/media/images/Function.png differ diff --git a/docs/media/images/Global.png b/docs/media/images/Global.png new file mode 100644 index 0000000..7281bd2 Binary files /dev/null and b/docs/media/images/Global.png differ diff --git a/docs/media/images/I.png b/docs/media/images/I.png new file mode 100644 index 0000000..e8512fb Binary files /dev/null and b/docs/media/images/I.png differ diff --git a/docs/media/images/Index.png b/docs/media/images/Index.png new file mode 100644 index 0000000..6558ec3 Binary files /dev/null and b/docs/media/images/Index.png differ diff --git a/docs/media/images/Interface.png b/docs/media/images/Interface.png new file mode 100644 index 0000000..e6cd51e Binary files /dev/null and b/docs/media/images/Interface.png differ diff --git a/docs/media/images/Interface_logo.png b/docs/media/images/Interface_logo.png new file mode 100644 index 0000000..6f223c4 Binary files /dev/null and b/docs/media/images/Interface_logo.png differ diff --git a/docs/media/images/L.png b/docs/media/images/L.png new file mode 100644 index 0000000..eb334ed Binary files /dev/null and b/docs/media/images/L.png differ diff --git a/docs/media/images/Lminus.png b/docs/media/images/Lminus.png new file mode 100644 index 0000000..f7c43c0 Binary files /dev/null and b/docs/media/images/Lminus.png differ diff --git a/docs/media/images/Lplus.png b/docs/media/images/Lplus.png new file mode 100644 index 0000000..848ec2f Binary files /dev/null and b/docs/media/images/Lplus.png differ diff --git a/docs/media/images/Method.png b/docs/media/images/Method.png new file mode 100644 index 0000000..9b21578 Binary files /dev/null and b/docs/media/images/Method.png differ diff --git a/docs/media/images/Page.png b/docs/media/images/Page.png new file mode 100644 index 0000000..ffe7986 Binary files /dev/null and b/docs/media/images/Page.png differ diff --git a/docs/media/images/Page_logo.png b/docs/media/images/Page_logo.png new file mode 100644 index 0000000..44ce0b3 Binary files /dev/null and b/docs/media/images/Page_logo.png differ diff --git a/docs/media/images/PrivateClass.png b/docs/media/images/PrivateClass.png new file mode 100644 index 0000000..470e6d5 Binary files /dev/null and b/docs/media/images/PrivateClass.png differ diff --git a/docs/media/images/PrivateClass_logo.png b/docs/media/images/PrivateClass_logo.png new file mode 100644 index 0000000..590e006 Binary files /dev/null and b/docs/media/images/PrivateClass_logo.png differ diff --git a/docs/media/images/PrivateMethod.png b/docs/media/images/PrivateMethod.png new file mode 100644 index 0000000..d01f2b3 Binary files /dev/null and b/docs/media/images/PrivateMethod.png differ diff --git a/docs/media/images/PrivateVariable.png b/docs/media/images/PrivateVariable.png new file mode 100644 index 0000000..d76b21d Binary files /dev/null and b/docs/media/images/PrivateVariable.png differ diff --git a/docs/media/images/StaticMethod.png b/docs/media/images/StaticMethod.png new file mode 100644 index 0000000..9b21578 Binary files /dev/null and b/docs/media/images/StaticMethod.png differ diff --git a/docs/media/images/StaticVariable.png b/docs/media/images/StaticVariable.png new file mode 100644 index 0000000..8e82019 Binary files /dev/null and b/docs/media/images/StaticVariable.png differ diff --git a/docs/media/images/T.png b/docs/media/images/T.png new file mode 100644 index 0000000..3017325 Binary files /dev/null and b/docs/media/images/T.png differ diff --git a/docs/media/images/Tminus.png b/docs/media/images/Tminus.png new file mode 100644 index 0000000..2260e42 Binary files /dev/null and b/docs/media/images/Tminus.png differ diff --git a/docs/media/images/Tplus.png b/docs/media/images/Tplus.png new file mode 100644 index 0000000..2c8d8f4 Binary files /dev/null and b/docs/media/images/Tplus.png differ diff --git a/docs/media/images/Variable.png b/docs/media/images/Variable.png new file mode 100644 index 0000000..8e82019 Binary files /dev/null and b/docs/media/images/Variable.png differ diff --git a/docs/media/images/blank.png b/docs/media/images/blank.png new file mode 100644 index 0000000..cee9cd3 Binary files /dev/null and b/docs/media/images/blank.png differ diff --git a/docs/media/images/class_folder.png b/docs/media/images/class_folder.png new file mode 100644 index 0000000..84e9587 Binary files /dev/null and b/docs/media/images/class_folder.png differ diff --git a/docs/media/images/empty.png b/docs/media/images/empty.png new file mode 100644 index 0000000..d568386 Binary files /dev/null and b/docs/media/images/empty.png differ diff --git a/docs/media/images/file.png b/docs/media/images/file.png new file mode 100644 index 0000000..0bb2427 Binary files /dev/null and b/docs/media/images/file.png differ diff --git a/docs/media/images/folder.png b/docs/media/images/folder.png new file mode 100644 index 0000000..a2d79f8 Binary files /dev/null and b/docs/media/images/folder.png differ diff --git a/docs/media/images/function_folder.png b/docs/media/images/function_folder.png new file mode 100644 index 0000000..8b3d6e3 Binary files /dev/null and b/docs/media/images/function_folder.png differ diff --git a/docs/media/images/next_button.png b/docs/media/images/next_button.png new file mode 100644 index 0000000..cdbc615 Binary files /dev/null and b/docs/media/images/next_button.png differ diff --git a/docs/media/images/next_button_disabled.png b/docs/media/images/next_button_disabled.png new file mode 100644 index 0000000..4a11780 Binary files /dev/null and b/docs/media/images/next_button_disabled.png differ diff --git a/docs/media/images/package.png b/docs/media/images/package.png new file mode 100644 index 0000000..b04cf56 Binary files /dev/null and b/docs/media/images/package.png differ diff --git a/docs/media/images/package_folder.png b/docs/media/images/package_folder.png new file mode 100644 index 0000000..6162baf Binary files /dev/null and b/docs/media/images/package_folder.png differ diff --git a/docs/media/images/previous_button.png b/docs/media/images/previous_button.png new file mode 100644 index 0000000..327fdbc Binary files /dev/null and b/docs/media/images/previous_button.png differ diff --git a/docs/media/images/previous_button_disabled.png b/docs/media/images/previous_button_disabled.png new file mode 100644 index 0000000..c02ff64 Binary files /dev/null and b/docs/media/images/previous_button_disabled.png differ diff --git a/docs/media/images/private_class_logo.png b/docs/media/images/private_class_logo.png new file mode 100644 index 0000000..590e006 Binary files /dev/null and b/docs/media/images/private_class_logo.png differ diff --git a/docs/media/images/tutorial.png b/docs/media/images/tutorial.png new file mode 100644 index 0000000..bc19737 Binary files /dev/null and b/docs/media/images/tutorial.png differ diff --git a/docs/media/images/tutorial_folder.png b/docs/media/images/tutorial_folder.png new file mode 100644 index 0000000..2a468b2 Binary files /dev/null and b/docs/media/images/tutorial_folder.png differ diff --git a/docs/media/images/up_button.png b/docs/media/images/up_button.png new file mode 100644 index 0000000..ff36c59 Binary files /dev/null and b/docs/media/images/up_button.png differ diff --git a/docs/media/stylesheet.css b/docs/media/stylesheet.css new file mode 100644 index 0000000..96729b6 --- /dev/null +++ b/docs/media/stylesheet.css @@ -0,0 +1,146 @@ +a { color: #000090; text-decoration: none; } +a:hover, a:active, a:focus { color: highlighttext; background-color: highlight; text-decoration: none; } + +body { background: #FFFFFF; } +body, table { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; } + +a img { border: 0px; } + +/* Page layout/boxes */ + +.info-box { } +.info-box-title { margin: 1em 0em 0em 0em; font-weight: normal; font-size: 14pt; color: #999999; border-bottom: 2px solid #999999; } +.info-box-body { border: 1px solid #999999; padding: .5em; } +.nav-bar { font-size: 8pt; white-space: nowrap; text-align: right; padding: .2em; margin: 0em 0em 1em 0em; } + +.oddrow { background-color: #F8F8F8; border: 1px solid #AAAAAA; padding: .5em; margin-bottom: 1em} +.evenrow { border: 1px solid #AAAAAA; padding: .5em; margin-bottom: 1em} + +.page-body { max-width: 800px; margin: auto; } +.tree { white-space: nowrap; font: icon } +.tree dd { margin-left: 19px } +.tree dl { margin: 0px } +.tree-icon { vertical-align: middle; border: 0px; margin-right: 3px } + +/* Index formatting classes */ + +.index-item-body { margin-top: .5em; margin-bottom: .5em} +.index-item-description { margin-top: .25em } +.index-item-details { font-weight: normal; font-style: italic; font-size: 8pt } +.index-letter-section { background-color: #EEEEEE; border: 1px dotted #999999; padding: .5em; margin-bottom: 1em} +.index-letter-title { font-size: 12pt; font-weight: bold } +.index-letter-menu { text-align: center; margin: 1em } +.index-letter { font-size: 12pt } + +/* Docbook classes */ + +.description {} +.short-description { font-weight: bold; color: #666666; } +.tags { padding-left: 0em; margin-left: 3em; color: #666666; list-style-type: square; } +.parameters { padding-left: 0em; margin-left: 3em; color: #014fbe; list-style-type: square; } +.redefinitions { font-size: 8pt; padding-left: 0em; margin-left: 2em; } +.package { font-weight: bold; } +.package-title { font-weight: bold; font-size: 14pt; border-bottom: 1px solid black } +.package-details { font-size: 85%; } +.sub-package { font-weight: bold; } +.tutorial { border-width: thin; border-color: #0066ff; } +.tutorial-nav-box { width: 100%; border: 1px solid #999999; background-color: #F8F8F8; } +.folder-title { font-style: italic; font-family: Verdana, Arial, Helvetica, sans-serif } + +/* Generic formatting */ + +.field { font-weight: bold; } +.detail { font-size: 8pt; } +.notes { font-style: italic; font-size: 8pt; } +.separator { background-color: #999999; height: 2px; } +.warning { color: #FF6600; } +.disabled { font-style: italic; color: #999999; } + +/* Code elements */ + +.line-number { } + +.class-table { width: 100%; } +.class-table-header { border-bottom: 1px dotted #666666; text-align: left} +.class-name { color: #0000AA; font-weight: bold; } + +.method-summary { color: #009000; padding-left: 1em; font-size: 8pt; } +.method-header { } +.method-definition { margin-bottom: .2em } +.method-title { color: #009000; font-weight: bold; } +.method-name { font-weight: bold; } +.method-signature { font-size: 85%; color: #666666; margin: .5em 0em } +.method-result { font-style: italic; } + +.var-summary { padding-left: 1em; font-size: 8pt; } +.var-header { } +.var-title { color: #014fbe; margin-bottom: .3em } +.var-type { font-style: italic; } +.var-name { font-weight: bold; } +.var-default {} +.var-description { font-weight: normal; color: #000000; } + +.include-title { color: #014fbe;} +.include-type { font-style: italic; } +.include-name { font-weight: bold; } + +.const-title { color: #FF6600; } +.const-name { font-weight: bold; } + +/* Syntax highlighting */ + +.src-code { font-family: 'Courier New', Courier, monospace; font-weight: normal; } +.src-line { font-family: 'Courier New', Courier, monospace; font-weight: normal; } + +.src-code a:link { padding: 1px; text-decoration: underline; color: #0000DD; } +.src-code a:visited { text-decoration: underline; color: #0000DD; } +.src-code a:active { background-color: #FFFF66; color: #008000; } +.src-code a:hover { background-color: #FFFF66; text-decoration: overline underline; color: #008000; } + +.src-comm { color: #666666; } +.src-id { color: #FF6600; font-style: italic; } +.src-inc { color: #0000AA; font-weight: bold; } +.src-key { color: #0000AA; font-weight: bold; } +.src-num { color: #CC0000; } +.src-str { color: #CC0000; } +.src-sym { } +.src-var { } + +.src-php { font-weight: bold; } + +.src-doc { color: #666666; } +.src-doc-close-template { color: #666666 } +.src-doc-coretag { color: #008000; } +.src-doc-inlinetag {} +.src-doc-internal {} +.src-doc-tag { color: #0080CC; } +.src-doc-template { color: #666666 } +.src-doc-type { font-style: italic; color: #444444 } +.src-doc-var { color: #444444 } + +.tute-tag { color: #009999 } +.tute-attribute-name { color: #0000FF } +.tute-attribute-value { color: #0099FF } +.tute-entity { font-weight: bold; } +.tute-comment { font-style: italic } +.tute-inline-tag { color: #636311; font-weight: bold } + +/* tutorial */ + +.authors { } +.author { font-style: italic; font-weight: bold } +.author-blurb { margin: .5em 0em .5em 2em; font-size: 85%; font-weight: normal; font-style: normal } +.example { border: 1px dashed #999999; background-color: #EEEEEE; padding: .5em; } +*[class="example"] { line-height : 1.0em; } +.listing { border: 1px dashed #999999; background-color: #EEEEEE; padding: .5em; white-space: nowrap; } +*[class="listing"] { line-height : 1.0em; } +.release-info { font-size: 85%; font-style: italic; margin: 1em 0em } +.ref-title-box { } +.ref-title { } +.ref-purpose { font-style: italic; color: #666666 } +.ref-synopsis { } +.title { font-weight: bold; border-bottom: 1px solid #999999; color: #999999; } +.cmd-synopsis { margin: 1em 0em } +.cmd-title { font-weight: bold } +.toc { margin-left: 2em; padding-left: 0em } + diff --git a/docs/packages.html b/docs/packages.html new file mode 100644 index 0000000..2293be8 --- /dev/null +++ b/docs/packages.html @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + \ No newline at end of file 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 diff --git a/docs/ric_CHANGELOG.html b/docs/ric_CHANGELOG.html new file mode 100644 index 0000000..3e1e35a --- /dev/null +++ b/docs/ric_CHANGELOG.html @@ -0,0 +1,80 @@ + + + + + + + + + + +

CHANGELOG

+
+phpfspot (1.4)
+
+  * feature, support PNG image format.
+  * feature, auto-completion for tag-search.
+  * feature, lightbox2 for photo preview out of the photo index.
+  * feature, a bit more color for tag-cloud.
+  * bug, SQlite temporary directory can now be set in phpfspot_cfg.php
+  * bug, modify AJAX-loading notification. Standard HTML_AJAX is getting overlayed.
+
+ -- Andreas Unterkircher <unki@netshadow.at>  Sat, 29 Mar 2008 11:00:00 +0100
+
+phpfspot (1.3)
+
+  * bug, fixed auto-rotation when EXIF Orientation header is set.
+  * bug, fixed incorrect time-range when using external-url to enter phpfspot.
+  * bug, display also photos which have no tags.
+  * bug, sometimes photos where displayed several times.
+  * bug, fixed image handling which were slender enough, but too high.
+  * bug, fix for PDO sqlite when trying to fetch one single row (contributed by
+  * bug, fix for incorrect SQL query (contributed by Arun Persaud).
+  * bug, fixed window-movement when switching between photo index & photo
+  * feature, removed much of HTML tables to speed up GUI & CSS cleanup
+  * feature, key navigation (next/prev photo, photo index, reset all).
+  * feature, gen_thumbs.php has a new overwrite-thumbnails option.
+  * feature, max. thumb height can now be changed in config settings.
+    Arun Persaud).
+  * feature, new sort order which will group photos by tag-names (alphabetical).
+  * feature, simplified config file by moving config-check out to the main class file.
+  * feature, script to search for duplicated photos via comparing MD5 hash sums.
+  * feature, search for filename's and through photo descriptions.
+  * feature, zooming
+  * feature, new icon's from the Nuovo icon set.
+
+ -- Andreas Unterkircher <unki@netshadow.at>  Sat, 12 Jan 2008 11:00:00 +0100
+
+phpfspot (1.2)
+
+  * Show only user-definied tags and pictures (contributed by Arun Persaud).
+  * handling introduced database layout of F-Spot 0.4.x
+  * cleaning up code to avoid PHP warning messages on E_ALL
+
+ -- Andreas Unterkircher <unki@netshadow.at>  Fri, 30 Dec 2007 20:03:38 +0100
+
+phpfspot (1.1)
+
+  * new thumbnail directory strcuture inspired by GIT's directory structure
+    (contributed by Arun Persaud).
+  * support for RSS feed (v2.0)
+  * support for PHP5's PDO (PHP Data Objects) to access sqlite3 database
+    (contributed by Arun Persaud).
+  * additional configurable options
+    - Path to smarty
+    - Path to store thumbnails
+
+ -- Andreas Unterkircher <unki@netshadow.at>  Fri, 09 Nov 2007 18:41:00 +0100
+
+phpfspot (1.0)
+
+  * first major release
+
+ -- Andreas Unterkircher <unki@netshadow.at>  Sat, 18 Aug 2007 16:36:00 +0200
+
+
+

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

+ + \ No newline at end of file diff --git a/docs/ric_INSTALL.html b/docs/ric_INSTALL.html new file mode 100644 index 0000000..d241378 --- /dev/null +++ b/docs/ric_INSTALL.html @@ -0,0 +1,62 @@ + + + + + + + + + + +

INSTALL

+
+phpfspot install howto:
+
+* requirements
+ 
+ - apache/apache2 (in fact any webserver which supports php)
+ - php5
+   - the following extensions must be available
+     (compiled in or as shared object):
+     * gd
+     * sqlite3 (native or as PDO driver)
+   - PEAR extensions (pear install %name%)
+     * Calendar
+     * HTML_AJAX
+ - Smarty (php template engine, http://smarty.php.net)
+ - sqlite3
+  
+* installation
+
+ 1. copy the sample phpfspot-config-file to your new config file
+
+    cp phpfspot_cfg.php.dist phpfspot_cfg.php
+
+ 2. Edit phpfspot_cfg.php and edit the necessary configuration
+    parameters. This file also include explanation of each option.
+    Take care that the path to the f-spot database (photos.db)
+    and the f-spot photo base directory (usally Photos) is set
+    correctly.
+
+ 3. Open phpfspot in our favourite browser. The URL depends what
+    you have specify as $webpath in the configuration var. But
+    usually it will be http://myserver/phpfspot (where myserver
+    is your webservers IP, server name, virtual host name, ...).
+
+ 4. To pre-create all thumbnails invoke the script gen_thumbs.php
+
+    cd ${phpfspot_home}
+    "./gen_thumbs.php"
+    or 
+    "php gen_thumbs.php" (if execute-permission is not set)
+
+    thumbnails can also be created on-the-fly by the webserver but
+    this will take away a lot of resources of your system during
+    thumb-generation. pre-creation on the shell works faster.
+
+
+

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

+ + \ No newline at end of file diff --git a/docs/ric_README.html b/docs/ric_README.html new file mode 100644 index 0000000..2578177 --- /dev/null +++ b/docs/ric_README.html @@ -0,0 +1,24 @@ + + + + + + + + + + +

README

+
+Package Name: phpfspot
+Version:      1.4
+Author:       Andreas Unterkircher <unki@netshadow.at>
+Website:      http://oss.netshadow.at
+Desc:         dynamic PHP gallery for F-Spot
+
+
+

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

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