class CTableAlbum extends CTableCache implements CTaggable_Item


Located at : UKNOWVA_ROOT/components/com_community/tables/album.php

Properties

$id
$photoid Album cover , FK to the photo id *
$creator
$name
$description
$permissions
$created
$path
$type
$groupid
$location
$latitude
$longitude
$hits

Methods

__construct($db)

Constructor

hasAccess($userId, $permissionType)

Allows us to test if the user has access to the album

getCoverThumbPath()

Return the path to the cover photo If no cover photo is specifies, we just load the first photo in the album

getRawCoverThumbPath()

No description

getCoverThumbURI()

No description

getPhotosCount()

Return the number of photos in this album

getURI()

No description

getDescription()

No description

delete()

Delete an album Set all photo within the album to have albumid = 0 Do not yet delete the photos, this could be very slow on an album that has huge amount of photos

check()

No description

store()

No description

hit()

Override parent's hit method as we don't really want to carefully increment it every time a photo is viewed.

tagGetTitle()

Return the title of the object

tagGetHtml()

Return the HTML summary of the object

tagGetLink()

Return the internal link of the object

tagAllow($userid)

Return true if the user is allow to modify the tag

Details

at line 36
__construct($db)

Constructor

Parameters

$db

at line 59
hasAccess($userId, $permissionType)

Allows us to test if the user has access to the album

Parameters

$userId
$permissionType

at line 107
getCoverThumbPath()

Return the path to the cover photo If no cover photo is specifies, we just load the first photo in the album

at line 123
getRawCoverThumbPath()

at line 130
getCoverThumbURI()

at line 138
getPhotosCount()

Return the number of photos in this album

at line 144
getURI()

at line 161
getDescription()

at line 172
delete()

Delete an album Set all photo within the album to have albumid = 0 Do not yet delete the photos, this could be very slow on an album that has huge amount of photos

at line 203
check()

at line 213
store()

at line 226
hit()

Override parent's hit method as we don't really want to carefully increment it every time a photo is viewed.

at line 240
tagGetTitle()

Return the title of the object

at line 248
tagGetHtml()

Return the HTML summary of the object

Return the internal link of the object

at line 266
tagAllow($userid)

Return true if the user is allow to modify the tag

Parameters

$userid