Docs Goabase

Comments
in package
uses TraitUser

Table of Contents

Properties

$env  : array<string|int, mixed>
$nBlockedID  : int
$user  : User

Methods

__construct()  : mixed
getBlockedID()  : int
getCommentMainStatus()  : array<string|int, mixed>
The rights for the comments on the main entry
getUserInstance()  : User
hasPostingRight()  : bool
Returns true / false if the user have the right to write Users below 48 hours haven't the writing right
makeHiddenEditForm()  : array{'formDef': string, 'formSmall': string, 'hiddenVars': string}
setBlockedID()  : void
getRight()  : int

Properties

$env

private array<string|int, mixed> $env

Methods

__construct()

public __construct() : mixed

getBlockedID()

public getBlockedID() : int
Return values
int

getCommentMainStatus()

The rights for the comments on the main entry

public getCommentMainStatus(array<string|int, mixed> $saAtt) : array<string|int, mixed>
Parameters
$saAtt : array<string|int, mixed>
Return values
array<string|int, mixed>

hasPostingRight()

Returns true / false if the user have the right to write Users below 48 hours haven't the writing right

public hasPostingRight() : bool
Return values
bool

makeHiddenEditForm()

public makeHiddenEditForm(array<string|int, mixed> $saAtt[, int $nPos = 0 ][, int $bPast = 0 ]) : array{'formDef': string, 'formSmall': string, 'hiddenVars': string}
Parameters
$saAtt : array<string|int, mixed>
$nPos : int = 0
$bPast : int = 0
Tags
throws
RandomException
throws
RandomException
Return values
array{'formDef': string, 'formSmall': string, 'hiddenVars': string}

setBlockedID()

public setBlockedID(int $nBlockedID) : void
Parameters
$nBlockedID : int

getRight()

private getRight(array<string|int, mixed> $saAtt) : int
Parameters
$saAtt : array<string|int, mixed>
  • table_name, record_id
Return values
int

        
On this page

Search results