Docs Goabase

PhotoRnd
in package
uses TraitCommentsList, TraitImageTools, TraitMemberLink, TraitPartyInfo

Table of Contents

Properties

$commentsList  : CommentsList
$env  : array<string|int, mixed>
$imageTag  : ImageTag
$memberLink  : MemberLink
$partyInfo  : PartyInfo
$partyPhoto  : PartyPhoto
$strTable  : string

Methods

__construct()  : mixed
getBox()  : string
getCommentsListInstance()  : CommentsList
getImageTagInstance()  : ImageTag
getImageToolsInstance()  : ImageTools
getImg()  : string
Random image from the tables user_images, party_images, user_record_images
getMemberLinkInstance()  : MemberLink
getPartyInfoInstance()  : PartyInfo
getRandomIds()  : array<string|int, mixed>
getRandomList()  : array{list: string, gburl: string}
List of random photos
setTable()  : void
calculateImageSize()  : array<string|int, mixed>
getIDs()  : string
Get 40 random IDs
getThePhoto()  : string
Holt Container für Rnd-Photo

Properties

$env

private array<string|int, mixed> $env

Methods

__construct()

public __construct([string $strTable = '' ]) : mixed
Parameters
$strTable : string = ''

getBox()

public getBox([string $here = '' ]) : string
Parameters
$here : string = ''
Tags
throws
RandomException
Return values
string

getImg()

Random image from the tables user_images, party_images, user_record_images

public getImg() : string
Tags
throws
RandomException
throws
Exception
Return values
string

getRandomIds()

public getRandomIds([string $table = 'TBL_PARTY_IMAGES' ]) : array<string|int, mixed>
Parameters
$table : string = 'TBL_PARTY_IMAGES'
Tags
throws
RandomException
Return values
array<string|int, mixed>

getRandomList()

List of random photos

public getRandomList() : array{list: string, gburl: string}
Tags
throws
Exception
Return values
array{list: string, gburl: string}

setTable()

public setTable(string $strTable) : void
Parameters
$strTable : string

calculateImageSize()

private calculateImageSize(array<string|int, mixed> $saImSize) : array<string|int, mixed>
Parameters
$saImSize : array<string|int, mixed>
Return values
array<string|int, mixed>

getIDs()

Get 40 random IDs

private getIDs() : string
Tags
throws
RandomException
Return values
string

getThePhoto()

Holt Container für Rnd-Photo

private getThePhoto(string $case, array<string|int, mixed> $row) : string
Parameters
$case : string
$row : array<string|int, mixed>
Tags
throws
Exception
Return values
string

        
On this page

Search results