@@ -2,6 +2,9 @@ |
||
| 2 | 2 | class PushNotification extends Base { |
| 3 | 3 | var $tableSettings = 'push_notification_settings'; |
| 4 | 4 | |
| 5 | + /** |
|
| 6 | + * @param string $file |
|
| 7 | + */ |
|
| 5 | 8 | private static function getClassesInFile($file){ |
| 6 | 9 | $classes = array(); |
| 7 | 10 | $tokens = token_get_all(file_get_contents($file)); |
@@ -8,6 +8,9 @@ |
||
| 8 | 8 | protected $account_id = null; |
| 9 | 9 | private $__lazyWrite; |
| 10 | 10 | |
| 11 | + /** |
|
| 12 | + * @param integer $account_id |
|
| 13 | + */ |
|
| 11 | 14 | public function __construct($account_id, $lazy_write = true){ |
| 12 | 15 | $this->account_id = $account_id; |
| 13 | 16 | $this->__lazyWrite = $lazy_write; |
@@ -140,6 +140,7 @@ |
||
| 140 | 140 | /** |
| 141 | 141 | * Send a specific notification setup in notification_settings |
| 142 | 142 | * @param type string Notification type |
| 143 | + * @param string $strType |
|
| 143 | 144 | * @return bool |
| 144 | 145 | **/ |
| 145 | 146 | public function sendNotification($account_id, $strType, $aMailData) { |