/** * * @param type $folder_id * @param type $type * @param type $arg1 * @param type $arg2 */ public function notifyUsers($folder_id, $type, $arg1, $arg2 = '') { FolderNotification::model()->storeNotification($folder_id, $type, $arg1, $arg2); }
protected function actionUnsent($params) { \GO\Files\Model\FolderNotification::model()->notifyUser(); $response = array('success' => true); return $response; }