Class lispa\amos\notificationmanager\models\NotificationsConfOpt
Inheritance | lispa\amos\notificationmanager\models\NotificationsConfOpt » yii\base\Object |
---|---|
Implements | yii\base\Configurable |
Class NotificationsConfOpt
Public Methods
Method | Description | Defined By |
---|---|---|
__call() | Calls the named method which is not a class method. | yii\base\Object |
__construct() | Constructor. | yii\base\Object |
__get() | Returns the value of an object property. | yii\base\Object |
__isset() | Checks if a property is set, i.e. defined and not null. | yii\base\Object |
__set() | Sets value of an object property. | yii\base\Object |
__unset() | Sets an object property to null. | yii\base\Object |
canGetProperty() | Returns a value indicating whether a property can be read. | yii\base\Object |
canSetProperty() | Returns a value indicating whether a property can be set. | yii\base\Object |
className() | Returns the fully qualified name of this class. | yii\base\Object |
emailFrequencyLabel() | This method return the email frequency label. | lispa\amos\notificationmanager\models\NotificationsConfOpt |
emailFrequencyValueAndLabels() | This method return the email frequency values and labels. | lispa\amos\notificationmanager\models\NotificationsConfOpt |
emailFrequencyValues() | This method return the email frequencies. | lispa\amos\notificationmanager\models\NotificationsConfOpt |
hasMethod() | Returns a value indicating whether a method is defined. | yii\base\Object |
hasProperty() | Returns a value indicating whether a property is defined. | yii\base\Object |
init() | Initializes the object. | yii\base\Object |
smsFrequencyLabel() | This method return the sms frequency label. | lispa\amos\notificationmanager\models\NotificationsConfOpt |
smsFrequencyValueAndLabels() | This method return the email frequency values and labels. | lispa\amos\notificationmanager\models\NotificationsConfOpt |
smsFrequencyValues() | This method return the sms frequencies. | lispa\amos\notificationmanager\models\NotificationsConfOpt |
Constants
Constant | Value | Description | Defined By |
---|---|---|---|
EMAIL_DAY | 2 | lispa\amos\notificationmanager\models\NotificationsConfOpt | |
EMAIL_IMMEDIATE | 1 | lispa\amos\notificationmanager\models\NotificationsConfOpt | |
EMAIL_MONTH | 8 | lispa\amos\notificationmanager\models\NotificationsConfOpt | |
EMAIL_OFF | 65535 | lispa\amos\notificationmanager\models\NotificationsConfOpt | |
EMAIL_WEEK | 4 | lispa\amos\notificationmanager\models\NotificationsConfOpt | |
SMS_DAY | \lispa\amos\notificationmanager\models\NotificationsConfOpt::EMAIL_DAY | lispa\amos\notificationmanager\models\NotificationsConfOpt | |
SMS_IMMEDIATE | \lispa\amos\notificationmanager\models\NotificationsConfOpt::EMAIL_IMMEDIATE | lispa\amos\notificationmanager\models\NotificationsConfOpt | |
SMS_MONTH | \lispa\amos\notificationmanager\models\NotificationsConfOpt::EMAIL_MONTH | lispa\amos\notificationmanager\models\NotificationsConfOpt | |
SMS_WEEK | \lispa\amos\notificationmanager\models\NotificationsConfOpt::EMAIL_WEEK | lispa\amos\notificationmanager\models\NotificationsConfOpt |
Method Details
This method return the email frequency label.
public static string emailFrequencyLabel ( $frequency ) | ||
$frequency | integer |
This method return the email frequency values and labels.
public static array emailFrequencyValueAndLabels ( ) |
This method return the email frequencies.
public static integer[] emailFrequencyValues ( ) |
This method return the sms frequency label.
public static string smsFrequencyLabel ( $frequency ) | ||
$frequency | integer |
This method return the email frequency values and labels.
public static array smsFrequencyValueAndLabels ( ) |
This method return the sms frequencies.
public static integer[] smsFrequencyValues ( ) |