Comments
in package
uses
TraitData
FinalYes
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
- getDataInstance() : Data
- 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}
- getRight() : int
Properties
$env
private
array<string|int, mixed>
$env
$nBlockedID
private
int
$nBlockedID
= 0
$user read-only
private
User
$user
Methods
__construct()
public
__construct(User $user) : mixed
Parameters
- $user : User
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>getDataInstance()
public
getDataInstance() : Data
Return values
DatahasPostingRight()
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|null $nPos = 0 ][, int $bPast = 0 ]) : array{'formDef': string, 'formSmall': string, 'hiddenVars': string}
Parameters
- $saAtt : array<string|int, mixed>
- $nPos : int|null = 0
- $bPast : int = 0
Return values
array{'formDef': string, 'formSmall': string, 'hiddenVars': string}getRight()
private
getRight(array<string|int, mixed> $saAtt) : int
Parameters
- $saAtt : array<string|int, mixed>
-
- table_name, record_id