Docs Goabase

CommentsGallery
in package
uses TraitCommentsList, TraitEmbed, TraitImageTools, TraitMember, TraitPartyInfo

Table of Contents

Properties

$commentsList  : CommentsList
$embed  : Embed
$env  : array<string|int, mixed>
$imageTag  : ImageTag
$member  : Member
$memberLink  : MemberLink
$nPhotoID  : int
$nPos  : int
$partyInfo  : PartyInfo
$PID  : int
$PUID  : string
$saUserPublic  : array<string|int, mixed>
$table  : string
$thisImage  : string

Methods

__construct()  : mixed
generateDeleteForm()  : string
getCommentsListInstance()  : CommentsList
getEmbedInstance()  : Embed
getFiveStars()  : string
getForGallery()  : string
this comment part will be loaded next any image of the lightgallery it's also with the image-header
getImageTagInstance()  : ImageTag
getImageToolsInstance()  : ImageTools
getMemberInstance()  : Member
getPartyInfoInstance()  : PartyInfo
initParams()  : void
setPos()  : void
setUserPublic()  : void
getGalleryInformBox()  : mixed
getGalleryThumbnail()  : string
getImage()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(int $nPhotoID, string $PUID, int $PID) : mixed
Parameters
$nPhotoID : int
$PUID : string
$PID : int

generateDeleteForm()

public generateDeleteForm(mixed $nUserOwnerID, string $strRelPath) : string
Parameters
$nUserOwnerID : mixed
$strRelPath : string
Tags
throws
Exception
Return values
string

getFiveStars()

public getFiveStars(mixed $entry_date) : string
Parameters
$entry_date : mixed
Tags
throws
RandomException
Return values
string

getForGallery()

this comment part will be loaded next any image of the lightgallery it's also with the image-header

public getForGallery() : string

in use for member images and party images complicated because PID/PUID and $nMainID/$nUserID mix

$imgID is the $nPhotoID, set in js on which the comments are made

Tags
throws
Exception
Return values
string

setUserPublic()

public setUserPublic(array<string|int, mixed> $saUserPublic) : void
Parameters
$saUserPublic : array<string|int, mixed>

getGalleryInformBox()

private getGalleryInformBox(mixed $nInformMainID) : mixed
Parameters
$nInformMainID : mixed
Tags
throws
RandomException

getGalleryThumbnail()

private getGalleryThumbnail() : string
Return values
string

getImage()

private getImage() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results