Documentation

Notification_Module_Model extends Vtiger_Module_Model
in package

Notification Record Model.

Tags
copyright

YetiForce Sp. z o.o

license

YetiForce Public License 3.0 (licenses/LicenseEN.txt or yetiforce.com)

author

Tomasz Kur t.kur@yetiforce.com

author

Radosław Skrzypczak r.skrzypczak@yetiforce.com

Table of Contents

getEmailSendEntries()  : array<string|int, mixed>|bool
Function gets notifications to be sent.
getEntriesCount()  : int
Get number of notifications.
getEntriesInstance()  : array<string|int, Vtiger_Record_Model>
Function returns notifications list.
getQuery()  : Query
Get query.
getTypes()  : array<string|int, mixed>
Function to get types of notification.

Methods

getEmailSendEntries()

Function gets notifications to be sent.

public static getEmailSendEntries(int $userId, array<string|int, mixed> $modules, string $startDate, string $endDate[, bool $isExists = false ]) : array<string|int, mixed>|bool
Parameters
$userId : int
$modules : array<string|int, mixed>
$startDate : string
$endDate : string
$isExists : bool = false
Return values
array<string|int, mixed>|bool

getEntriesCount()

Get number of notifications.

public getEntriesCount() : int
Return values
int

getEntriesInstance()

Function returns notifications list.

public getEntriesInstance([int $limit = false ][, array<string|int, mixed> $conditions = [] ]) : array<string|int, Vtiger_Record_Model>
Parameters
$limit : int = false
$conditions : array<string|int, mixed> = []
Return values
array<string|int, Vtiger_Record_Model>

getQuery()

Get query.

public getQuery([array<string|int, mixed> $conditions = [] ]) : Query
Parameters
$conditions : array<string|int, mixed> = []
Return values
Query

getTypes()

Function to get types of notification.

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

Search results