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
$nBlockedID
private
int
$nBlockedID
= 0
$user
private
User
$user
Methods
__construct()
public
__construct() : mixed
getBlockedID()
public
getBlockedID() : int
Return values
intgetCommentMainStatus()
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>getUserInstance()
public
getUserInstance() : User
Return values
UserhasPostingRight()
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
boolmakeHiddenEditForm()
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
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