Méthode | Description | |
---|---|---|
__construct ( string $appName, OCP\IRequest $request, $userId, |
SmsController constructor. | |
checkNewMessages ( $lastDate ) : OCP\AppFramework\Http\JSONResponse | ||
deleteConversation ( $contact ) : OCP\AppFramework\Http\JSONResponse | ||
deleteMessage ( $messageId, $phoneNumber ) : OCP\AppFramework\Http\JSONResponse | ||
getConversation ( $phoneNumber, integer $lastDate ) : OCP\AppFramework\Http\JSONResponse | ||
index ( ) | ||
retrieveAllPeers ( ) |
public __construct ( string $appName, OCP\IRequest $request, $userId, |
||
$appName | string | |
$request | OCP\IRequest | |
$userId | ||
$mapper | ||
$cmapper | ||
$cfgMapper | ||
$contactsManager | OCP\Contacts\IManager | |
$urlGenerator | OCP\IURLGenerator |
public checkNewMessages ( $lastDate ) : OCP\AppFramework\Http\JSONResponse | ||
$lastDate | ||
Résultat | OCP\AppFramework\Http\JSONResponse |
public deleteConversation ( $contact ) : OCP\AppFramework\Http\JSONResponse | ||
$contact | ||
Résultat | OCP\AppFramework\Http\JSONResponse |
public deleteMessage ( $messageId, $phoneNumber ) : OCP\AppFramework\Http\JSONResponse | ||
$messageId | ||
$phoneNumber | ||
Résultat | OCP\AppFramework\Http\JSONResponse |
public getConversation ( $phoneNumber, integer $lastDate ) : OCP\AppFramework\Http\JSONResponse | ||
$phoneNumber | ||
$lastDate | integer | |
Résultat | OCP\AppFramework\Http\JSONResponse |