Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
OCA
OcSms
Db
ConversationStateMapper
PHP Class OCA\OcSms\Db\ConversationStateMapper
Inheritance:
extends
OCP\AppFramework\Db\Mapper
Show file
Open project: nerzhul/ocsms
Public Methods
Method
Description
__construct
(
OCP\IDb
$db
)
getLast
(
$userId
)
getLastForPhoneNumber
(
$userId
,
$phoneNumber
)
migrate
( )
* Migration steps
setLast
(
$userId
,
$phoneNumber
,
$lastDate
)
Method Details
__construct()
public
method
public
__construct
(
OCP\IDb
$db
)
$db
OCP\IDb
getLast()
public
method
public
getLast
(
$userId
)
getLastForPhoneNumber()
public
method
public
getLastForPhoneNumber
(
$userId
,
$phoneNumber
)
migrate()
public
method
* Migration steps
public
migrate
( )
setLast()
public
method
public
setLast
(
$userId
,
$phoneNumber
,
$lastDate
)