프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$mailNotify | Owl\Repositories\UserMailNotificationRepositoryInterface |
메소드 | 설명 | |
---|---|---|
__construct ( Owl\Repositories\UserMailNotificationRepositoryInterface $userMailNotification ) | ||
getSettings ( integer $userId ) : stdclass | Get all mail notification settings | |
updateSetting ( integer $userId, string $type, string $flag ) : boolean | Update mail setting |
메소드 | 설명 | |
---|---|---|
getDefaultColomuns ( integer $userId ) : array | Get default setting of user's mail notification | |
getFlagColomunName ( string $type ) : string | Get target column name by specified string |
public __construct ( Owl\Repositories\UserMailNotificationRepositoryInterface $userMailNotification ) | ||
$userMailNotification | Owl\Repositories\UserMailNotificationRepositoryInterface |
protected getDefaultColomuns ( integer $userId ) : array | ||
$userId | integer | |
리턴 | array |
protected getFlagColomunName ( string $type ) : string | ||
$type | string | |
리턴 | string |
public getSettings ( integer $userId ) : stdclass | ||
$userId | integer | |
리턴 | stdclass |