Properties

$gateway

$gateway : 

Type

Methods

__construct()

__construct(  $gateway) 

Parameters

$gateway

addPhoneToExceptionsByPhone()

addPhoneToExceptionsByPhone(  $phone,   $reason) 

Add phone to exceptions by phone number

Parameters

$phone
$reason

addPhoneToExceptionsByIdPhone()

addPhoneToExceptionsByIdPhone(  $idPhone,   $reason) 

Add phone to exceptions by phone ID

Parameters

$idPhone
$reason

delPhoneFromExceptionByPhone()

delPhoneFromExceptionByPhone(  $phone) 

Delete phone from exceptions by phone number

Parameters

$phone

delPhoneFromExceptionByIdPhone()

delPhoneFromExceptionByIdPhone(  $idPhone) 

Delete phone from exceptions by phone ID

Parameters

$idPhone

delPhoneFromExceptionByIdException()

delPhoneFromExceptionByIdException(  $idException) 

Delete phone from exceptions by exception ID

Parameters

$idException

editException()

editException(  $idException,   $reason) 

Edit exception by exception ID

Parameters

$idException
$reason

getException()

getException(  $idException) 

Get exception from exceptions by exception ID

Parameters

$idException

getExceptionByIdPhone()

getExceptionByIdPhone(  $idPhone) 

Get exception from exceptions by phone ID

Parameters

$idPhone

getAllExceptions()

getAllExceptions(  $from = null,   $offset = null) 

Get all exceptions

Parameters

$from
$offset

getExceptionByPhone()

getExceptionByPhone(  $phone) 

Get exception by phone

Parameters

$phone

getExceptionByIdAddresbook()

getExceptionByIdAddresbook(  $idAddresbook) 

Get exceptions by address book ID

Parameters

$idAddresbook

searchPhonesInExceptions()

searchPhonesInExceptions(  $searchFields,   $from = null,   $offset = null) 

Search excpetion Availible fields: id, phone, date, descr.

Availible operations: like,=,>,>=,<,<=. Example for searchFields: $searchFields['phone']=array('operation'=>'like', 'value'=>"999%");

Parameters

$searchFields
$from
$offset