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
$commentsList
private
CommentsList
$commentsList
$embed
private
Embed
$embed
$env
private
array<string|int, mixed>
$env
$imageTag
private
ImageTag
$imageTag
$member
private
Member
$member
$memberLink
private
MemberLink
$memberLink
$nPhotoID
private
int
$nPhotoID
$nPos
private
int
$nPos
$partyInfo
private
PartyInfo
$partyInfo
$PID
private
int
$PID
$PUID
private
string
$PUID
$saUserPublic
private
array<string|int, mixed>
$saUserPublic
$table
private
string
$table
$thisImage
private
string
$thisImage
= ''
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
Return values
stringgetCommentsListInstance()
public
getCommentsListInstance() : CommentsList
Return values
CommentsListgetEmbedInstance()
public
getEmbedInstance() : Embed
Return values
EmbedgetFiveStars()
public
getFiveStars(mixed $entry_date) : string
Parameters
- $entry_date : mixed
Tags
Return values
stringgetForGallery()
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
Return values
stringgetImageTagInstance()
public
getImageTagInstance() : ImageTag
Return values
ImageTaggetImageToolsInstance()
public
getImageToolsInstance() : ImageTools
Return values
ImageToolsgetMemberInstance()
public
getMemberInstance() : Member
Return values
MembergetPartyInfoInstance()
public
getPartyInfoInstance() : PartyInfo
Return values
PartyInfoinitParams()
public
initParams() : void
setPos()
public
setPos(int $nPos) : void
Parameters
- $nPos : int
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
getGalleryThumbnail()
private
getGalleryThumbnail() : string
Return values
stringgetImage()
private
getImage() : array<string|int, mixed>