diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-04-12 19:33:51 +0200 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-04-12 19:33:51 +0200 |
commit | 5aacb6d86fa943c66ee94eb603887bb40e034ec5 (patch) | |
tree | d5150a93c3d82c2d3002154a446d424626d3593b /docs/phpfspot/PHPFSPOT.html | |
parent | b7a43526958fc12ce7d0e42b8023db52cb25f140 (diff) | |
parent | cd7402eecd6b5e50dcc62d8394342e6717c359e5 (diff) |
Merge commit 'origin/master' into nefformat
Diffstat (limited to 'docs/phpfspot/PHPFSPOT.html')
-rw-r--r-- | docs/phpfspot/PHPFSPOT.html | 1930 |
1 files changed, 1930 insertions, 0 deletions
diff --git a/docs/phpfspot/PHPFSPOT.html b/docs/phpfspot/PHPFSPOT.html new file mode 100644 index 0000000..33c8cb5 --- /dev/null +++ b/docs/phpfspot/PHPFSPOT.html @@ -0,0 +1,1930 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + <html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <!-- template designed by Marco Von Ballmoos --> + <title>Docs For Class PHPFSPOT</title> + <link rel="stylesheet" href="../media/stylesheet.css" /> + <meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> + </head> + <body> + <div class="page-body"> +<h2 class="class-name"><img src="../media/images/Class_logo.png" + alt=" Class" + title=" Class" + style="vertical-align: middle"> PHPFSPOT</h2> + +<a name="sec-description"></a> +<div class="info-box"> + <div class="info-box-title">Description</div> + <div class="nav-bar"> + <span class="disabled">Description</span> | + <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) + | <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) + + </div> + <div class="info-box-body"> + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">PHPFSPOT main class</p> +<p class="description"><p>this class contains the most functions which will to the major work for phpfspot.</p></p> + <p class="notes"> + Located in <a class="field" href="_phpfspot.class.php.html">/phpfspot.class.php</a> (line <span class="field">36</span>) + </p> + + + <pre></pre> + + </div> +</div> + + + + <a name="sec-var-summary"></a> + <div class="info-box"> + <div class="info-box-title">Variable Summary</span></div> + <div class="nav-bar"> + <a href="#sec-description">Description</a> | + <span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) + | + <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) + + </div> + <div class="info-box-body"> + <div class="var-summary"> + <div class="var-title"> + <img src="../media/images/Variable.png" alt=" " /> + <span class="var-type">array</span> + <a href="#$avail_tags" title="details" class="var-name">$avail_tags</a> + </div> + <div class="var-title"> + <img src="../media/images/Variable.png" alt=" " /> + <span class="var-type">PHPFSPOT_CFG</span> + <a href="#$cfg" title="details" class="var-name">$cfg</a> + </div> + <div class="var-title"> + <img src="../media/images/Variable.png" alt=" " /> + <span class="var-type"><a href="../phpfspot/PHPFSPOT_DB.html">PHPFSPOT_DB</a></span> + <a href="#$cfg_db" title="details" class="var-name">$cfg_db</a> + </div> + <div class="var-title"> + <img src="../media/images/Variable.png" alt=" " /> + <span class="var-type"><a href="../phpfspot/PHPFSPOT_DB.html">PHPFSPOT_DB</a></span> + <a href="#$db" title="details" class="var-name">$db</a> + </div> + <div class="var-title"> + <img src="../media/images/Variable.png" alt=" " /> + <span class="var-type">array</span> + <a href="#$tags" title="details" class="var-name">$tags</a> + </div> + <div class="var-title"> + <img src="../media/images/Variable.png" alt=" " /> + <span class="var-type"><a href="../phpfspot/PHPFSPOT_TMPL.html">PHPFSPOT_TMPL</a></span> + <a href="#$tmpl" title="details" class="var-name">$tmpl</a> + </div> + </div> + </div> + </div> + + <a name="sec-method-summary"></a> + <div class="info-box"> + <div class="info-box-title">Method Summary</span></div> + <div class="nav-bar"> + <a href="#sec-description">Description</a> | + <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) + + | + <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) + </div> + <div class="info-box-body"> + <div class="method-summary"> + <div class="method-definition"> + <img src="../media/images/Constructor.png" alt=" "/> + <span class="method-result">PHPFSPOT</span> + <a href="#__construct" title="details" class="method-name">__construct</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Destructor.png" alt=" "/> + <span class="method-result">void</span> + <a href="#__destruct" title="details" class="method-name">__destruct</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string</span> + <a href="#addTag" title="details" class="method-name">addTag</a> + (<span class="var-type"></span> <span class="var-name">$tag</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">boolean</span> + <a href="#checkifImageSupported" title="details" class="method-name">checkifImageSupported</a> + (<span class="var-type">string</span> <span class="var-name">$mime</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#check_config_table" title="details" class="method-name">check_config_table</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#cleanup_phpfspot_db" title="details" class="method-name">cleanup_phpfspot_db</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">boolean</span> + <a href="#create_thumbnail" title="details" class="method-name">create_thumbnail</a> + (<span class="var-type">string</span> <span class="var-name">$orig_image</span>, <span class="var-type">string</span> <span class="var-name">$thumb_image</span>, <span class="var-type">integer</span> <span class="var-name">$width</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string</span> + <a href="#delTag" title="details" class="method-name">delTag</a> + (<span class="var-type">string</span> <span class="var-name">$tag</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#gen_thumb" title="details" class="method-name">gen_thumb</a> + ([<span class="var-type">integer</span> <span class="var-name">$idx</span> = <span class="var-default">0</span>], [<span class="var-type">integer</span> <span class="var-name">$force</span> = <span class="var-default">0</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwrite</span> = <span class="var-default">false</span>]) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#getAvailableTags" title="details" class="method-name">getAvailableTags</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#getCurrentPhoto" title="details" class="method-name">getCurrentPhoto</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#getExport" title="details" class="method-name">getExport</a> + (<span class="var-type">string</span> <span class="var-name">$mode</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string|null</span> + <a href="#getFspotDBVersion" title="details" class="method-name">getFspotDBVersion</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string|null</span> + <a href="#getMD5" title="details" class="method-name">getMD5</a> + (<span class="var-type">integer</span> <span class="var-name">$idx</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string</span> + <a href="#getNextSlideShowImage" title="details" class="method-name">getNextSlideShowImage</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string|null</span> + <a href="#getPhotoName" title="details" class="method-name">getPhotoName</a> + (<span class="var-type">integer</span> <span class="var-name">$idx</span>, [<span class="var-type">integer</span> <span class="var-name">$limit</span> = <span class="var-default">0</span>]) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">array</span> + <a href="#getPhotoSelection" title="details" class="method-name">getPhotoSelection</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string</span> + <a href="#getPrevSlideShowImage" title="details" class="method-name">getPrevSlideShowImage</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#getRSSFeed" title="details" class="method-name">getRSSFeed</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string</span> + <a href="#getSelectedTags" title="details" class="method-name">getSelectedTags</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#get_calendar_matrix" title="details" class="method-name">get_calendar_matrix</a> + ([<span class="var-type">integer</span> <span class="var-name">$year</span> = <span class="var-default">0</span>], [<span class="var-type">integer</span> <span class="var-name">$month</span> = <span class="var-default">0</span>], [<span class="var-type">integer</span> <span class="var-name">$day</span> = <span class="var-default">0</span>]) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">array</span> + <a href="#get_meta_informations" title="details" class="method-name">get_meta_informations</a> + (<span class="var-type">string</span> <span class="var-name">$file</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">integer</span> + <a href="#get_num_photos" title="details" class="method-name">get_num_photos</a> + (<span class="var-type">integer</span> <span class="var-name">$tag_id</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">object|null</span> + <a href="#get_photo_details" title="details" class="method-name">get_photo_details</a> + (<span class="var-type">integer</span> <span class="var-name">$idx</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">array</span> + <a href="#get_random_photo" title="details" class="method-name">get_random_photo</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string</span> + <a href="#get_thumb_path" title="details" class="method-name">get_thumb_path</a> + (<span class="var-type">integer</span> <span class="var-name">$width</span>, <span class="var-type">integer</span> <span class="var-name">$photo</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string</span> + <a href="#get_xml_tag_list" title="details" class="method-name">get_xml_tag_list</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">boolean</span> + <a href="#isValidDate" title="details" class="method-name">isValidDate</a> + (<span class="var-type">string</span> <span class="var-name">$date_str</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string</span> + <a href="#parse_uri" title="details" class="method-name">parse_uri</a> + (<span class="var-type">string</span> <span class="var-name">$uri</span>, <span class="var-type">string</span> <span class="var-name">$mode</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#resetDateSearch" title="details" class="method-name">resetDateSearch</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#resetNameSearch" title="details" class="method-name">resetNameSearch</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#resetPhotoView" title="details" class="method-name">resetPhotoView</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#resetSlideShow" title="details" class="method-name">resetSlideShow</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#resetTags" title="details" class="method-name">resetTags</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#resetTagSearch" title="details" class="method-name">resetTagSearch</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string</span> + <a href="#setTagCondition" title="details" class="method-name">setTagCondition</a> + (<span class="var-type">string</span> <span class="var-name">$mode</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#show" title="details" class="method-name">show</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#showCredits" title="details" class="method-name">showCredits</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#showPhoto" title="details" class="method-name">showPhoto</a> + (<span class="var-type">integer</span> <span class="var-name">$photo</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#showPhotoIndex" title="details" class="method-name">showPhotoIndex</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#showTextImage" title="details" class="method-name">showTextImage</a> + (<span class="var-type">string</span> <span class="var-name">$txt</span>, [<span class="var-type">string</span> <span class="var-name">$color</span> = <span class="var-default">000000</span>], [<span class="var-type">integer</span> <span class="var-name">$space</span> = <span class="var-default">4</span>], [<span class="var-type">integer</span> <span class="var-name">$font</span> = <span class="var-default">4</span>], [<span class="var-type">integer</span> <span class="var-name">$w</span> = <span class="var-default">300</span>]) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string</span> + <a href="#smarty_sort_select_list" title="details" class="method-name">smarty_sort_select_list</a> + (<span class="var-type">array</span> <span class="var-name">$params</span>, <span class="var-type"></span> <span class="var-name">&$smarty</span>, <span class="var-type">smarty</span> <span class="var-name">$smarty</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string</span> + <a href="#startSearch" title="details" class="method-name">startSearch</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string</span> + <a href="#translate_path" title="details" class="method-name">translate_path</a> + (<span class="var-type">string</span> <span class="var-name">$path</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string</span> + <a href="#updateSortOrder" title="details" class="method-name">updateSortOrder</a> + (<span class="var-type"></span> <span class="var-name">$order</span>, <span class="var-type">string</span> <span class="var-name">$sort_order</span>) + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">string</span> + <a href="#whatToDo" title="details" class="method-name">whatToDo</a> + () + </div> + <div class="method-definition"> + <img src="../media/images/Method.png" alt=" "/> + <span class="method-result">void</span> + <a href="#_error" title="details" class="method-name">_error</a> + (<span class="var-type">string</span> <span class="var-name">$text</span>) + </div> + </div> + </div> + </div> + + <a name="sec-vars"></a> + <div class="info-box"> + <div class="info-box-title">Variables</div> + <div class="nav-bar"> + <a href="#sec-description">Description</a> | + <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) + + + | + <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) + + </div> + <div class="info-box-body"> + +<a name="var$avail_tags" id="$avail_tags"><!-- --></A> +<div class="oddrow"> + + <div class="var-header"> + <img src="../media/images/Variable.png" /> + <span class="var-title"> + <span class="var-type">array</span> + <span class="var-name">$avail_tags</span> + (line <span class="line-number">83</span>) + </span> + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">list of available, not-selected, tags</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + + + + +</div> +<a name="var$cfg" id="$cfg"><!-- --></A> +<div class="evenrow"> + + <div class="var-header"> + <img src="../media/images/Variable.png" /> + <span class="var-title"> + <span class="var-type">PHPFSPOT_CFG</span> + <span class="var-name">$cfg</span> + (line <span class="line-number">44</span>) + </span> + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">phpfspot configuration</p> + <ul class="tags"> + <li><span class="field">see:</span> PHPFSPOT_CFG()</li> + <li><span class="field">access:</span> public</li> + </ul> + + + + + +</div> +<a name="var$cfg_db" id="$cfg_db"><!-- --></A> +<div class="oddrow"> + + <div class="var-header"> + <img src="../media/images/Variable.png" /> + <span class="var-title"> + <span class="var-type"><a href="../phpfspot/PHPFSPOT_DB.html">PHPFSPOT_DB</a></span> + <span class="var-name">$cfg_db</span> + (line <span class="line-number">60</span>) + </span> + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">SQLite database handle to phpfspot database</p> + <ul class="tags"> + <li><span class="field">see:</span> PHPFSPOT_DB()</li> + <li><span class="field">access:</span> public</li> + </ul> + + + + + +</div> +<a name="var$db" id="$db"><!-- --></A> +<div class="evenrow"> + + <div class="var-header"> + <img src="../media/images/Variable.png" /> + <span class="var-title"> + <span class="var-type"><a href="../phpfspot/PHPFSPOT_DB.html">PHPFSPOT_DB</a></span> + <span class="var-name">$db</span> + (line <span class="line-number">52</span>) + </span> + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">SQLite database handle to f-spot database</p> + <ul class="tags"> + <li><span class="field">see:</span> PHPFSPOT_DB()</li> + <li><span class="field">access:</span> public</li> + </ul> + + + + + +</div> +<a name="var$tags" id="$tags"><!-- --></A> +<div class="oddrow"> + + <div class="var-header"> + <img src="../media/images/Variable.png" /> + <span class="var-title"> + <span class="var-type">array</span> + <span class="var-name">$tags</span> + (line <span class="line-number">76</span>) + </span> + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">full tag - list</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + + + + +</div> +<a name="var$tmpl" id="$tmpl"><!-- --></A> +<div class="evenrow"> + + <div class="var-header"> + <img src="../media/images/Variable.png" /> + <span class="var-title"> + <span class="var-type"><a href="../phpfspot/PHPFSPOT_TMPL.html">PHPFSPOT_TMPL</a></span> + <span class="var-name">$tmpl</span> + (line <span class="line-number">69</span>) + </span> + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">Smarty template engine</p> + <ul class="tags"> + <li><span class="field">see:</span> PHPFSPOT_TMPL()</li> + <li><span class="field">link:</span> <a href="http://smarty.php.net">http://smarty.php.net smarty.php.net</a></li> + <li><span class="field">access:</span> public</li> + </ul> + + + + + +</div> + + </div> + </div> + + <a name="sec-methods"></a> + <div class="info-box"> + <div class="info-box-title">Methods</div> + <div class="nav-bar"> + <a href="#sec-description">Description</a> | + <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) + <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) + + </div> + <div class="info-box-body"> + <A NAME='method_detail'></A> +<a name="method__construct" id="__construct"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Constructor.png" /> + <span class="method-title">Constructor __construct</span> (line <span class="line-number">106</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">class constructor ($cfg, $db, $cfg_db, $tmpl, $db_ver)</p> +<p class="description"><p>this function will be called on class construct and will check requirements, loads configuration, open databases and start the user session</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">PHPFSPOT</span> + <span class="method-name"> + __construct + </span> + () + </div> + + + + </div> +<a name="method__destruct" id="__destruct"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Destructor.png" /> + <span class="method-title">Destructor __destruct</span> (line <span class="line-number">226</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + __destruct + </span> + () + </div> + + + + </div> +<a name="methodaddTag" id="addTag"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">addTag</span> (line <span class="line-number">762</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">add tag to users session variable</p> +<p class="description"><p>this function will add the specified to users current tag selection. if a date search has been made before it will be now cleared</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string</span> + <span class="method-name"> + addTag + </span> + (<span class="var-type"></span> <span class="var-name">$tag</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type"></span> + <span class="var-name">$tag</span> </li> + </ul> + + + </div> +<a name="methodcheckifImageSupported" id="checkifImageSupported"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">checkifImageSupported</span> (line <span class="line-number">1979</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">check if specified MIME type is supported</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">boolean</span> + <span class="method-name"> + checkifImageSupported + </span> + (<span class="var-type">string</span> <span class="var-name">$mime</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">string</span> + <span class="var-name">$mime</span> </li> + </ul> + + + </div> +<a name="methodcheck_config_table" id="check_config_table"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">check_config_table</span> (line <span class="line-number">1518</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">create phpfspot own sqlite database</p> +<p class="description"><p>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, ...).</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + check_config_table + </span> + () + </div> + + + + </div> +<a name="methodcleanup_phpfspot_db" id="cleanup_phpfspot_db"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">cleanup_phpfspot_db</span> (line <span class="line-number">2745</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">cleanup phpfspot own database</p> +<p class="description"><p>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.</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + cleanup_phpfspot_db + </span> + () + </div> + + + + </div> +<a name="methodcreate_thumbnail" id="create_thumbnail"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">create_thumbnail</span> (line <span class="line-number">1351</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">create_thumbnails for the requested width</p> +<p class="description"><p>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.</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">boolean</span> + <span class="method-name"> + create_thumbnail + </span> + (<span class="var-type">string</span> <span class="var-name">$orig_image</span>, <span class="var-type">string</span> <span class="var-name">$thumb_image</span>, <span class="var-type">integer</span> <span class="var-name">$width</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">string</span> + <span class="var-name">$orig_image</span> </li> + <li> + <span class="var-type">string</span> + <span class="var-name">$thumb_image</span> </li> + <li> + <span class="var-type">integer</span> + <span class="var-name">$width</span> </li> + </ul> + + + </div> +<a name="methoddelTag" id="delTag"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">delTag</span> (line <span class="line-number">786</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">remove tag to users session variable</p> +<p class="description"><p>this function removes the specified tag from users current tag selection</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string</span> + <span class="method-name"> + delTag + </span> + (<span class="var-type">string</span> <span class="var-name">$tag</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">string</span> + <span class="var-name">$tag</span> </li> + </ul> + + + </div> +<a name="methodgen_thumb" id="gen_thumb"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">gen_thumb</span> (line <span class="line-number">1546</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">Generates a thumbnail from photo idx</p> +<p class="description"><p>This function will generate JPEG thumbnails from provided F-Spot photo indizes.</p><p><ol><li>Check if all thumbnail generations (width) are already in place and + readable</li><li>Check if the md5sum of the original file has changed</li><li>Generate the thumbnails if needed</li></ol></p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + gen_thumb + </span> + ([<span class="var-type">integer</span> <span class="var-name">$idx</span> = <span class="var-default">0</span>], [<span class="var-type">integer</span> <span class="var-name">$force</span> = <span class="var-default">0</span>], [<span class="var-type">boolean</span> <span class="var-name">$overwrite</span> = <span class="var-default">false</span>]) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">integer</span> + <span class="var-name">$idx</span> </li> + <li> + <span class="var-type">integer</span> + <span class="var-name">$force</span> </li> + <li> + <span class="var-type">boolean</span> + <span class="var-name">$overwrite</span> </li> + </ul> + + + </div> +<a name="methodgetAvailableTags" id="getAvailableTags"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">getAvailableTags</span> (line <span class="line-number">645</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">all available tags and tag cloud</p> +<p class="description"><p>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)</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + getAvailableTags + </span> + () + </div> + + + + </div> +<a name="methodgetCurrentPhoto" id="getCurrentPhoto"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">getCurrentPhoto</span> (line <span class="line-number">2256</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">return the current photo</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + getCurrentPhoto + </span> + () + </div> + + + + </div> +<a name="methodgetExport" id="getExport"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">getExport</span> (line <span class="line-number">2125</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">output export page</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + getExport + </span> + (<span class="var-type">string</span> <span class="var-name">$mode</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">string</span> + <span class="var-name">$mode</span> </li> + </ul> + + + </div> +<a name="methodgetFspotDBVersion" id="getFspotDBVersion"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">getFspotDBVersion</span> (line <span class="line-number">2616</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">retrive F-Spot database version</p> +<p class="description"><p>this function will return the F-Spot database version number It is stored within the sqlite3 database in the table meta</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string|null</span> + <span class="method-name"> + getFspotDBVersion + </span> + () + </div> + + + + </div> +<a name="methodgetMD5" id="getMD5"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">getMD5</span> (line <span class="line-number">1630</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">returns stored md5 sum for a specific photo</p> +<p class="description"><p>this function queries the phpfspot database for a stored MD5 checksum of the specified photo</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string|null</span> + <span class="method-name"> + getMD5 + </span> + (<span class="var-type">integer</span> <span class="var-name">$idx</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">integer</span> + <span class="var-name">$idx</span> </li> + </ul> + + + </div> +<a name="methodgetNextSlideShowImage" id="getNextSlideShowImage"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">getNextSlideShowImage</span> (line <span class="line-number">2373</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">return the next to be shown slide show image</p> +<p class="description"><p>this function returns the URL of the next image in the slideshow sequence.</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string</span> + <span class="method-name"> + getNextSlideShowImage + </span> + () + </div> + + + + </div> +<a name="methodgetPhotoName" id="getPhotoName"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">getPhotoName</span> (line <span class="line-number">454</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">returns aligned photo names</p> +<p class="description"><p>this function returns aligned (length) names for an specific photo. If the length of the name exceeds $limit the name will be shrinked (...)</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string|null</span> + <span class="method-name"> + getPhotoName + </span> + (<span class="var-type">integer</span> <span class="var-name">$idx</span>, [<span class="var-type">integer</span> <span class="var-name">$limit</span> = <span class="var-default">0</span>]) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">integer</span> + <span class="var-name">$idx</span> </li> + <li> + <span class="var-type">integer</span> + <span class="var-name">$limit</span> </li> + </ul> + + + </div> +<a name="methodgetPhotoSelection" id="getPhotoSelection"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">getPhotoSelection</span> (line <span class="line-number">927</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">return all photo according selection</p> +<p class="description"><p>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</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">array</span> + <span class="method-name"> + getPhotoSelection + </span> + () + </div> + + + + </div> +<a name="methodgetPrevSlideShowImage" id="getPrevSlideShowImage"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">getPrevSlideShowImage</span> (line <span class="line-number">2393</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">return the previous to be shown slide show image</p> +<p class="description"><p>this function returns the URL of the previous image in the slideshow sequence.</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string</span> + <span class="method-name"> + getPrevSlideShowImage + </span> + () + </div> + + + + </div> +<a name="methodgetRSSFeed" id="getRSSFeed"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">getRSSFeed</span> (line <span class="line-number">2167</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">output RSS feed</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + getRSSFeed + </span> + () + </div> + + + + </div> +<a name="methodgetSelectedTags" id="getSelectedTags"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">getSelectedTags</span> (line <span class="line-number">729</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">output all selected tags</p> +<p class="description"><p>this function output all tags which have been selected by the user. the selected tags are stored in the session-variable $_SESSION['selected_tags']</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string</span> + <span class="method-name"> + getSelectedTags + </span> + () + </div> + + + + </div> +<a name="methodget_calendar_matrix" id="get_calendar_matrix"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">get_calendar_matrix</span> (line <span class="line-number">2046</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">output calendar matrix</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + get_calendar_matrix + </span> + ([<span class="var-type">integer</span> <span class="var-name">$year</span> = <span class="var-default">0</span>], [<span class="var-type">integer</span> <span class="var-name">$month</span> = <span class="var-default">0</span>], [<span class="var-type">integer</span> <span class="var-name">$day</span> = <span class="var-default">0</span>]) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">integer</span> + <span class="var-name">$year</span> </li> + <li> + <span class="var-type">integer</span> + <span class="var-name">$month</span> </li> + <li> + <span class="var-type">integer</span> + <span class="var-name">$day</span> </li> + </ul> + + + </div> +<a name="methodget_meta_informations" id="get_meta_informations"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">get_meta_informations</span> (line <span class="line-number">1505</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">return all exif meta data from the file</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">array</span> + <span class="method-name"> + get_meta_informations + </span> + (<span class="var-type">string</span> <span class="var-name">$file</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">string</span> + <span class="var-name">$file</span> </li> + </ul> + + + </div> +<a name="methodget_num_photos" id="get_num_photos"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">get_num_photos</span> (line <span class="line-number">2545</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">returns the number of photos which are tagged with $tag_id</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">integer</span> + <span class="method-name"> + get_num_photos + </span> + (<span class="var-type">integer</span> <span class="var-name">$tag_id</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">integer</span> + <span class="var-name">$tag_id</span> </li> + </ul> + + + </div> +<a name="methodget_photo_details" id="get_photo_details"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">get_photo_details</span> (line <span class="line-number">395</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">extract all photo details</p> +<p class="description"><p>retrieve all available details from f-spot's database and return them as object</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">object|null</span> + <span class="method-name"> + get_photo_details + </span> + (<span class="var-type">integer</span> <span class="var-name">$idx</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">integer</span> + <span class="var-name">$idx</span> </li> + </ul> + + + </div> +<a name="methodget_random_photo" id="get_random_photo"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">get_random_photo</span> (line <span class="line-number">2424</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">get random photo</p> +<p class="description"><p>this function will get all photos from the fspot database and randomly return ONE entry</p><p>saddly there is yet no sqlite3 function which returns the bulk result in array, so we have to fill up our own here.</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">array</span> + <span class="method-name"> + get_random_photo + </span> + () + </div> + + + + </div> +<a name="methodget_thumb_path" id="get_thumb_path"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">get_thumb_path</span> (line <span class="line-number">2496</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">returns the full path to a thumbnail</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string</span> + <span class="method-name"> + get_thumb_path + </span> + (<span class="var-type">integer</span> <span class="var-name">$width</span>, <span class="var-type">integer</span> <span class="var-name">$photo</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">integer</span> + <span class="var-name">$width</span> </li> + <li> + <span class="var-type">integer</span> + <span class="var-name">$photo</span> </li> + </ul> + + + </div> +<a name="methodget_xml_tag_list" id="get_xml_tag_list"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">get_xml_tag_list</span> (line <span class="line-number">818</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">returns the value for the autocomplet tag-search</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string</span> + <span class="method-name"> + get_xml_tag_list + </span> + () + </div> + + + + </div> +<a name="methodisValidDate" id="isValidDate"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">isValidDate</span> (line <span class="line-number">2450</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">validates provided date</p> +<p class="description"><p>this function validates if the provided date contains a valid date and will return true if it is.</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">boolean</span> + <span class="method-name"> + isValidDate + </span> + (<span class="var-type">string</span> <span class="var-name">$date_str</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">string</span> + <span class="var-name">$date_str</span> </li> + </ul> + + + </div> +<a name="methodparse_uri" id="parse_uri"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">parse_uri</span> (line <span class="line-number">2636</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">parse the provided URI and will returned the requested chunk</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string</span> + <span class="method-name"> + parse_uri + </span> + (<span class="var-type">string</span> <span class="var-name">$uri</span>, <span class="var-type">string</span> <span class="var-name">$mode</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">string</span> + <span class="var-name">$uri</span> </li> + <li> + <span class="var-type">string</span> + <span class="var-name">$mode</span> </li> + </ul> + + + </div> +<a name="methodresetDateSearch" id="resetDateSearch"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">resetDateSearch</span> (line <span class="line-number">909</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">reset date search</p> +<p class="description"><p>if any date search has taken place, reset it now</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + resetDateSearch + </span> + () + </div> + + + + </div> +<a name="methodresetNameSearch" id="resetNameSearch"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">resetNameSearch</span> (line <span class="line-number">896</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">reset name search</p> +<p class="description"><p>if any name search has taken place, reset it now</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + resetNameSearch + </span> + () + </div> + + + + </div> +<a name="methodresetPhotoView" id="resetPhotoView"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">resetPhotoView</span> (line <span class="line-number">872</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">reset single photo</p> +<p class="description"><p>if a specific photo was requested (external link) unset the session variable now</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + resetPhotoView + </span> + () + </div> + + + + </div> +<a name="methodresetSlideShow" id="resetSlideShow"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">resetSlideShow</span> (line <span class="line-number">2406</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + resetSlideShow + </span> + () + </div> + + + + </div> +<a name="methodresetTags" id="resetTags"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">resetTags</span> (line <span class="line-number">807</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">reset tag selection</p> +<p class="description"><p>if there is any tag selection, it will be deleted now</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + resetTags + </span> + () + </div> + + + + </div> +<a name="methodresetTagSearch" id="resetTagSearch"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">resetTagSearch</span> (line <span class="line-number">884</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">reset tag search</p> +<p class="description"><p>if any tag search has taken place, reset it now</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + resetTagSearch + </span> + () + </div> + + + + </div> +<a name="methodsetTagCondition" id="setTagCondition"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">setTagCondition</span> (line <span class="line-number">1668</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">store current tag condition</p> +<p class="description"><p>this function stores the current tag condition (AND or OR) in the users session variables</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string</span> + <span class="method-name"> + setTagCondition + </span> + (<span class="var-type">string</span> <span class="var-name">$mode</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">string</span> + <span class="var-name">$mode</span> </li> + </ul> + + + </div> +<a name="methodshow" id="show"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">show</span> (line <span class="line-number">240</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">show - generate html output</p> +<p class="description"><p>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.</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + show + </span> + () + </div> + + + + </div> +<a name="methodshowCredits" id="showCredits"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">showCredits</span> (line <span class="line-number">1330</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">show credit template</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + showCredits + </span> + () + </div> + + + + </div> +<a name="methodshowPhoto" id="showPhoto"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">showPhoto</span> (line <span class="line-number">509</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">control HTML ouput for a single photo</p> +<p class="description"><p>this function provides all the necessary information for the single photo template.</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + showPhoto + </span> + (<span class="var-type">integer</span> <span class="var-name">$photo</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">integer</span> + <span class="var-name">$photo</span><span class="var-description">: photo</span> </li> + </ul> + + + </div> +<a name="methodshowPhotoIndex" id="showPhotoIndex"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">showPhotoIndex</span> (line <span class="line-number">1131</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">control HTML ouput for photo index</p> +<p class="description"><p>this function provides all the necessary information for the photo index template.</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + showPhotoIndex + </span> + () + </div> + + + + </div> +<a name="methodshowTextImage" id="showTextImage"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">showTextImage</span> (line <span class="line-number">1893</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">create on-the-fly images with text within</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + showTextImage + </span> + (<span class="var-type">string</span> <span class="var-name">$txt</span>, [<span class="var-type">string</span> <span class="var-name">$color</span> = <span class="var-default">000000</span>], [<span class="var-type">integer</span> <span class="var-name">$space</span> = <span class="var-default">4</span>], [<span class="var-type">integer</span> <span class="var-name">$font</span> = <span class="var-default">4</span>], [<span class="var-type">integer</span> <span class="var-name">$w</span> = <span class="var-default">300</span>]) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">string</span> + <span class="var-name">$txt</span> </li> + <li> + <span class="var-type">string</span> + <span class="var-name">$color</span> </li> + <li> + <span class="var-type">integer</span> + <span class="var-name">$space</span> </li> + <li> + <span class="var-type">integer</span> + <span class="var-name">$font</span> </li> + <li> + <span class="var-type">integer</span> + <span class="var-name">$w</span> </li> + </ul> + + + </div> +<a name="methodsmarty_sort_select_list" id="smarty_sort_select_list"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">smarty_sort_select_list</span> (line <span class="line-number">2311</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">returns a select-dropdown box to select photo index sort parameters</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string</span> + <span class="method-name"> + smarty_sort_select_list + </span> + (<span class="var-type">array</span> <span class="var-name">$params</span>, <span class="var-type"></span> <span class="var-name">&$smarty</span>, <span class="var-type">smarty</span> <span class="var-name">$smarty</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">array</span> + <span class="var-name">$params</span> </li> + <li> + <span class="var-type">smarty</span> + <span class="var-name">$smarty</span> </li> + <li> + <span class="var-type"></span> + <span class="var-name">&$smarty</span> </li> + </ul> + + + </div> +<a name="methodstartSearch" id="startSearch"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">startSearch</span> (line <span class="line-number">1686</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">invoke tag & date search</p> +<p class="description"><p>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.</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string</span> + <span class="method-name"> + startSearch + </span> + () + </div> + + + + </div> +<a name="methodtranslate_path" id="translate_path"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">translate_path</span> (line <span class="line-number">496</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">translate f-spoth photo path</p> +<p class="description"><p>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</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string</span> + <span class="method-name"> + translate_path + </span> + (<span class="var-type">string</span> <span class="var-name">$path</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">string</span> + <span class="var-name">$path</span> </li> + </ul> + + + </div> +<a name="methodupdateSortOrder" id="updateSortOrder"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">updateSortOrder</span> (line <span class="line-number">1738</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">updates sort order in session variable</p> +<p class="description"><p>this function is invoked by RPC and will sort the requested sort order in the session variable.</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string</span> + <span class="method-name"> + updateSortOrder + </span> + (<span class="var-type"></span> <span class="var-name">$order</span>, <span class="var-type">string</span> <span class="var-name">$sort_order</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">string</span> + <span class="var-name">$sort_order</span> </li> + <li> + <span class="var-type"></span> + <span class="var-name">$order</span> </li> + </ul> + + + </div> +<a name="methodwhatToDo" id="whatToDo"><!-- --></a> +<div class="evenrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">whatToDo</span> (line <span class="line-number">2273</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">tells the client browser what to do</p> +<p class="description"><p>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</p></p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">string</span> + <span class="method-name"> + whatToDo + </span> + () + </div> + + + + </div> +<a name="method_error" id="_error"><!-- --></a> +<div class="oddrow"> + + <div class="method-header"> + <img src="../media/images/Method.png" /> + <span class="method-title">_error</span> (line <span class="line-number">1992</span>) + </div> + + <!-- ========== Info from phpDoc block ========= --> +<p class="short-description">output error text</p> + <ul class="tags"> + <li><span class="field">access:</span> public</li> + </ul> + + <div class="method-signature"> + <span class="method-result">void</span> + <span class="method-name"> + _error + </span> + (<span class="var-type">string</span> <span class="var-name">$text</span>) + </div> + + <ul class="parameters"> + <li> + <span class="var-type">string</span> + <span class="var-name">$text</span> </li> + </ul> + + + </div> + + </div> + </div> + + + <p class="notes" id="credit"> + Documentation generated on Sat, 12 Apr 2008 18:39:42 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.2</a> + </p> + </div></body> +</html>
\ No newline at end of file |