Docs Goabase

Guestbook
in package
uses TraitEmbed, TraitDataWrite, TraitMemberLink, TraitPage

Table of Contents

Properties

$delName  : string
$embed  : Embed
$env  : array<string|int, mixed>
$input  : Input
$memberLink  : MemberLink
$owner  : string
$page  : Page
$pos  : int
$table  : string
$target  : string
$tplDefLink  : string
$tplLoop  : string

Methods

__construct()  : mixed
getDataWriteInstance()  : DataWrite
getEmbedInstance()  : Embed
getForm()  : string
getListGuestbook()  : string
Gets the entries as html
getMemberLinkInstance()  : MemberLink
getPageInstance()  : Page
writePinboard()  : void
Only for guestbook.php
createSqlQueries()  : array<string|int, mixed>
getTplLoop()  : string
getTplStart()  : string
getTplStop()  : string
processRowData()  : array<string|int, mixed>
writeInform()  : void

Properties

Methods

__construct()

public __construct([string $owner = 'public' ][, int $pos = 0 ]) : mixed
Parameters
$owner : string = 'public'
$pos : int = 0

getForm()

public getForm(array<string|int, mixed> $pageData) : string
Parameters
$pageData : array<string|int, mixed>
Tags
throws
RandomException
throws
Exception
Return values
string

getListGuestbook()

Gets the entries as html

public getListGuestbook() : string
Tags
throws
Exception
Return values
string

writePinboard()

Only for guestbook.php

public writePinboard() : void
Tags
throws
Exception

createSqlQueries()

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

getTplLoop()

private getTplLoop([array<string|int, mixed> $row = [] ]) : string
Parameters
$row : array<string|int, mixed> = []
Tags
throws
Exception
Return values
string

getTplStart()

private getTplStart() : string
Tags
throws
Exception
Return values
string

getTplStop()

private getTplStop() : string
Tags
throws
Exception
Return values
string

processRowData()

private processRowData(string $countSql, string $querySql) : array<string|int, mixed>
Parameters
$countSql : string
$querySql : string
Tags
throws
Exception
Return values
array<string|int, mixed>

        
On this page

Search results