PhotoClassicView
in package
uses
TraitCommentsList, TraitData, TraitImageTags, TraitMemberLink, TraitPartyInfo, TraitPage, TraitSeo
FinalYes
Table of Contents
Constants
- TBL_PARTY_IMAGES = 'party_images'
- TBL_USER_IMAGES = 'user_images'
Properties
- $commentsList : CommentsList
- $data : Data
- $getParas : array<string|int, mixed>
- $imageTag : ImageTag
- $memberLink : MemberLink
- $memberMsgIcons : MemberMsgIcons
- $page : Page
Methods
- __construct() : mixed
- getCommentsListInstance() : CommentsList
- getDataInstance() : Data
- getImageTagInstance() : ImageTag
- getMemberLinkInstance() : MemberLink
- getPageInstance() : Page
- getParty() : array{id: int, photo_container: string}
- Returns photo ID and full photo container
- getPartyInfoInstance() : PartyInfo
- getPhotoCommentsList() : string
- getSeoInstance() : Seo
- openPage() : void
- preCheckPartyPhotoView() : void
- fillContainerMember() : string
- vollbild eines member-fotos aus der gallery
- fillContainerParty() : string
- Full view of a photo
- getLeftRight() : array<string|int, mixed>
- Nachbar-Fotos in session, bildet links für vorheriges und nächstes Urspruenglich nur Party-Fotos, nun auch Member-Fotos
- getLRSQL() : array{sql: string, params: array}
- getMember() : array{id: int, photo_container: string}
- Zeigt ein Member-Bild
- getMsgIcons() : string
- getPhotoEditUploadLink() : string
- Edit und Upload-Link
- getPhotoNaviLinks() : array<string|int, mixed>
- Spezielle Links für die klassische Vollbild-Ansicht
- precheckMemberPhoto() : void
Constants
TBL_PARTY_IMAGES
private
mixed
TBL_PARTY_IMAGES
= 'party_images'
TBL_USER_IMAGES
private
mixed
TBL_USER_IMAGES
= 'user_images'
Properties
$commentsList
private
CommentsList
$commentsList
$data
private
Data
$data
$getParas
private
array<string|int, mixed>
$getParas
$imageTag
private
ImageTag
$imageTag
$memberLink
private
MemberLink
$memberLink
$memberMsgIcons
private
MemberMsgIcons
$memberMsgIcons
$page
private
Page
$page
Methods
__construct()
public
__construct([array<string|int, mixed> $getParas = [] ]) : mixed
Parameters
- $getParas : array<string|int, mixed> = []
getCommentsListInstance()
public
getCommentsListInstance() : CommentsList
Return values
CommentsListgetDataInstance()
public
getDataInstance() : Data
Return values
DatagetImageTagInstance()
public
getImageTagInstance() : ImageTag
Return values
ImageTaggetMemberLinkInstance()
public
getMemberLinkInstance() : MemberLink
Return values
MemberLinkgetPageInstance()
public
getPageInstance() : Page
Return values
PagegetParty()
Returns photo ID and full photo container
public
getParty() : array{id: int, photo_container: string}
2004-03-12 2016-05-16
Return values
array{id: int, photo_container: string} —- [id] of the record, [photo_container]
getPartyInfoInstance()
public
getPartyInfoInstance() : PartyInfo
Return values
PartyInfogetPhotoCommentsList()
public
getPhotoCommentsList(array<string|int, mixed> $getParas, int $nInformID[, mixed $type = 'party' ]) : string
Parameters
- $getParas : array<string|int, mixed>
- $nInformID : int
- $type : mixed = 'party'
Return values
stringgetSeoInstance()
public
getSeoInstance() : Seo
Return values
SeoopenPage()
public
openPage(HtmlHeader $htmlHeader, InitUser $initUser) : void
Parameters
- $htmlHeader : HtmlHeader
- $initUser : InitUser
preCheckPartyPhotoView()
public
preCheckPartyPhotoView(HtmlHeader $htmlHeader) : void
Parameters
- $htmlHeader : HtmlHeader
fillContainerMember()
vollbild eines member-fotos aus der gallery
private
fillContainerMember(array<string|int, mixed> $saRow) : string
Parameters
- $saRow : array<string|int, mixed>
Return values
stringfillContainerParty()
Full view of a photo
private
fillContainerParty(array<string|int, mixed> $saRow) : string
Parameters
- $saRow : array<string|int, mixed>
Tags
Return values
stringgetLeftRight()
Nachbar-Fotos in session, bildet links für vorheriges und nächstes Urspruenglich nur Party-Fotos, nun auch Member-Fotos
private
getLeftRight(int $nPhotoID[, string $strType = 'party' ]) : array<string|int, mixed>
Parameters
- $nPhotoID : int
-
aktuelles foto
- $strType : string = 'party'
-
party oder member
Return values
array<string|int, mixed> —[0] = vorheriges, [1] = naechstes, ['get_right'] = get para fuer nextes foto
getLRSQL()
private
getLRSQL([string $strType = 'party' ]) : array{sql: string, params: array}
Parameters
- $strType : string = 'party'
Return values
array{sql: string, params: array}getMember()
Zeigt ein Member-Bild
private
getMember() : array{id: int, photo_container: string}
Return values
array{id: int, photo_container: string}getMsgIcons()
private
getMsgIcons(array<string|int, mixed> $saUserPublic, int $id[, string $source = 'party' ]) : string
Parameters
- $saUserPublic : array<string|int, mixed>
- $id : int
- $source : string = 'party'
Return values
stringgetPhotoEditUploadLink()
Edit und Upload-Link
private
getPhotoEditUploadLink(string $strLink, int $nID) : string
Parameters
- $strLink : string
- $nID : int
Return values
stringgetPhotoNaviLinks()
Spezielle Links für die klassische Vollbild-Ansicht
private
getPhotoNaviLinks(array<string|int, mixed> $saLeftRight[, string $strPhotoTag = '' ][, int $PID = 0 ]) : array<string|int, mixed>
Parameters
- $saLeftRight : array<string|int, mixed>
- $strPhotoTag : string = ''
- $PID : int = 0
Return values
array<string|int, mixed>precheckMemberPhoto()
private
precheckMemberPhoto(array<string|int, mixed> $saUserPublic) : void
Parameters
- $saUserPublic : array<string|int, mixed>