Documentation

Announcements_Module_Model extends Vtiger_Module_Model
in package

Class Announcements_Module_Model.

Table of Contents

$announcements  : array<string|int, mixed>
Announcements.
checkActive()  : bool
Check active.
checkStatus()  : mixed
Check status.
getAnnouncements()  : array<string|int, mixed>
Get announcements.
getMarkInfo()  : array<string|int, mixed>
Get mark info.
getUsers()  : mixed
loadAnnouncements()  : mixed
Load announcements.
setMark()  : mixed
Set mark.

Properties

$announcements

Announcements.

protected array<string|int, mixed> $announcements = []

Methods

checkActive()

Check active.

public checkActive() : bool
Return values
bool

checkStatus()

Check status.

public checkStatus(int $record) : mixed
Parameters
$record : int
Return values
mixed

getAnnouncements()

Get announcements.

public getAnnouncements() : array<string|int, mixed>
Return values
array<string|int, mixed>

getMarkInfo()

Get mark info.

public getMarkInfo(int $record, int $userId) : array<string|int, mixed>
Parameters
$record : int
$userId : int
Return values
array<string|int, mixed>

getUsers()

public getUsers([mixed $showAll = true ]) : mixed
Parameters
$showAll : mixed = true
Return values
mixed

loadAnnouncements()

Load announcements.

public loadAnnouncements() : mixed
Return values
mixed

setMark()

Set mark.

public setMark(int $record, int $state) : mixed
Parameters
$record : int
$state : int
Return values
mixed

        

Search results