mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 08:56:27 +02:00
add constants
This commit is contained in:
parent
2a792c0945
commit
63b68cbeb7
2 changed files with 7 additions and 0 deletions
|
@ -16,6 +16,9 @@ namespace models;
|
|||
*/
|
||||
class Received extends StandardModel
|
||||
{
|
||||
const STATUS_UNREAD = 'unread';
|
||||
const STATUS_READ = 'read';
|
||||
|
||||
/**
|
||||
* Return a list of unread received for a user.
|
||||
*
|
||||
|
|
|
@ -13,6 +13,10 @@ namespace models;
|
|||
|
||||
class Webhook extends StandardModel
|
||||
{
|
||||
const TYPE_SEND = 'send_sms';
|
||||
const TYPE_RECEIVE = 'receive_sms';
|
||||
|
||||
|
||||
/**
|
||||
* Find all webhooks for a user and for a type of webhook.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue