Docs Goabase

AjaxCommentsWrite
in package
uses TraitCommentsList, TraitDataWrite, TraitEmbed, TraitMemberLink

Table of Contents

Properties

$dataWrite  : DataWrite
$env  : array<string|int, mixed>
$memberLink  : MemberLink

Methods

__construct()  : mixed
editAjax()  : array{'cmtText': string, 'cmtTime': string}
getCommentsListInstance()  : CommentsList
getDataWriteInstance()  : DataWrite
getEmbedInstance()  : Embed
getMemberLinkInstance()  : MemberLink
writeAjax()  : array{'comments': string, 'informbtn': string}
getMainID()  : int

Properties

Methods

editAjax()

public editAjax(int $nID[, string $comment = '' ]) : array{'cmtText': string, 'cmtTime': string}
Parameters
$nID : int
$comment : string = ''
Tags
throws
RandomException
throws
Exception
Return values
array{'cmtText': string, 'cmtTime': string}

writeAjax()

public writeAjax(int $nID, int $TID, string $comment[, string $PUID = '' ][, int $PID = 0 ]) : array{'comments': string, 'informbtn': string}
Parameters
$nID : int
$TID : int
$comment : string
$PUID : string = ''
$PID : int = 0
Tags
throws
Exception
throws
RandomException
Return values
array{'comments': string, 'informbtn': string}

getMainID()

private getMainID(string $PUID, int $TID, int $PID) : int
Parameters
$PUID : string
$TID : int
$PID : int
Return values
int

        
On this page

Search results