getAlbumPlace [line 222]
Returns the Location of the album.
getAllSubalbums [line 380]
Parameters:
void getAllSubalbums(
[ $param = NULL]
)
|
|
getCommentDate [line 122]
Retrieves the date of the current comment.
Deprecated--use getCommentDateTime()
Returns a formatted date
Parameters:
|
string |
$format: |
how to format the result |
string getCommentDate(
[string $format = NULL]
)
|
|
getCommentTime [line 148]
Retrieves the time of the current comment.
Deprecated--use getCommentDateTime()
Returns a formatted time
Parameters:
|
string |
$format: |
how to format the result |
string getCommentTime(
[string $format = '%I:%M %p']
)
|
|
getImageEXIFData [line 210]
Returns the EXIF infromation from the current image
array getImageEXIFData(
)
|
|
getNewsImageTags [line 325]
CombiNews feature: Returns a list of tags of an image.
array getNewsImageTags(
)
|
|
getNumSubalbums [line 375]
getZenpageHitcounter [line 24]
THIS FUNCTION IS DEPRECATED! Use getHitcounter()! Gets the hitcount of a page, news article or news category
Parameters:
|
string |
$mode: |
Pass "news", "page" or "category" to get the hitcounter of the current page, article or category if one is set |
|
mixed |
$obj: |
If you want to get the hitcount of a specific page or article you additionally can to pass its object. If you want to get the hitcount of a specific category you need to pass its cat_link. In any case $mode must be set! |
int getZenpageHitcounter(
[string $mode = ""], [mixed $obj = NULL]
)
|
|
hitcounter [line 164]
Returns the hitcounter for the page viewed (image.php and album.php only).
Deprecated, use getHitcounter()
Parameters:
|
string |
$option: |
"image" for image hit counter (default), "album" for album hit counter |
|
bool |
$viewonly: |
set to true if you don't want to increment the counter. |
|
int |
$id: |
Optional record id of the object if not the current image or album |
Information Tags:
string hitcounter(
[string $option = 'image'], [bool $viewonly = false], [int $id = NULL]
)
|
|
my_truncate_string [line 195]
Shortens a string to $length
Deprecated: use truncate_string
Parameters:
|
string |
$string: |
the string to be shortened |
|
int |
$length: |
the desired length for the string |
string my_truncate_string(
string $string, int $length
)
|
|
printAlbumPlace [line 236]
Prints the location of the album and make it editable
Parameters:
|
bool |
$editable: |
when true, enables AJAX editing in place |
|
string |
$editclass: |
CSS class applied to element if editable |
|
mixed |
$messageIfEmpty: |
Either bool or string. If false, echoes nothing when description is empty. If true, echoes default placeholder message if empty. If string, echoes string. |
Information Tags:
void printAlbumPlace(
[bool $editable = false], [string $editclass = ''], [mixed $messageIfEmpty = true]
)
|
|
printAlbumRating [line 74]
Prints the album rating information for the current image
Deprecated: Included for forward compatibility--use printRating() directly
Parameters:
void printAlbumRating(
[ $object = NULL]
)
|
|
printCustomSizedImageMaxHeight [line 103]
This function is considered deprecated.
Please use the new replacement get/printCustomSizedImageMaxSpace().
Prints out a sized image up to $maxheight tall (as width the value set in the admin option is taken)
Parameters:
|
int |
$maxheight: |
how bif the picture should be |
void printCustomSizedImageMaxHeight(
int $maxheight
)
|
|
printImageEXIFData [line 86]
Prints image data.
Deprecated, use printImageMetadata
void printImageEXIFData(
)
|
|
printImageRating [line 62]
Prints the image rating information for the current image
Deprecated: Included for forward compatibility--use printRating() directly
Parameters:
void printImageRating(
[ $object = NULL]
)
|
|
printNewsImageTags [line 346]
CombiNews feature: Prints a list of tags of an image. These tags are not editable.
Parameters:
|
string |
$option: |
links by default, if anything else the tags will not link to all other photos with the same tag |
|
string |
$preText: |
text to go before the printed tags |
|
string |
$class: |
css class to apply to the UL list |
|
string |
$separator: |
what charactor shall separate the tags |
|
bool |
$editable: |
true to allow admin to edit the tags |
string printNewsImageTags(
[string $option = 'links'], [string $preText = NULL], [string $class = 'taglist'], [string $separator = ', '], [bool $editable = TRUE]
)
|
|
rewrite_path_zenpage [line 311]
Same as zenphoto's rewrite_path() except it's without WEBPATH, needed for some partial urls
Parameters:
|
$rewrite |
$rewrite: |
The path with mod_rewrite |
|
$plain |
$plain: |
The path without |
string rewrite_path_zenpage(
[$rewrite $rewrite = ''], [$plain $plain = '']
)
|
|
zenpageHitcounter [line 261]
THIS FUNCTION IS DEPRECATED! Use getHitcounter()!
Increments (optionally) and returns the hitcounter for a news category (page 1), a single news article or a page Does not increment the hitcounter if the viewer is logged in as the gallery admin. Also does currently not work if the static cache is enabled
Parameters:
|
string |
$option: |
"pages" for a page, "news" for a news article, "category" for a news category (page 1 only) |
|
bool |
$viewonly: |
set to true if you don't want to increment the counter. |
|
int |
$id: |
Optional record id of the object if not the current image or album |
string zenpageHitcounter(
[string $option = 'pages'], [bool $viewonly = false], [int $id = NULL]
)
|
|