Documentation

Settings_Countries_Module_Model extends Settings_Vtiger_Module_Model
in package

Tags
copyright

YetiForce S.A.

license

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

author

Wojciech Bruggemann w.bruggemann@yetiforce.com

Table of Contents

updateAllStatuses()  : int
Update all statuses.
updatePhone()  : int
Update "phone".
updateSequence()  : mixed
Function to update sequence of several records.
updateStatus()  : int
Update "status".
updateUitype()  : int
Update "uitype".

Methods

updateAllStatuses()

Update all statuses.

public updateAllStatuses(int $status) : int
Parameters
$status : int
Return values
int

number of rows affected by the execution

updatePhone()

Update "phone".

public updatePhone(int $id, int $phone) : int
Parameters
$id : int
$phone : int
Return values
int

number of rows affected by the execution

updateSequence()

Function to update sequence of several records.

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

updateStatus()

Update "status".

public updateStatus(int $id, int $status) : int
Parameters
$id : int
$status : int
Return values
int

number of rows affected by the execution

updateUitype()

Update "uitype".

public updateUitype(int $id, int $uitype) : int
Parameters
$id : int
$uitype : int
Return values
int

number of rows affected by the execution


        

Search results