yii-apns Apple Push Notification Service

  1. Requirements
  2. Usage
  3. Resources

EN: This module provides the ability to send messages to the Apple`s servers push. (APNS)

RU: Модуль для отправки push сообщений на Apple APNS сервер. Применяется для информирования пользователей владеющих телефонами корпорации Apple.

Requirements

  • Yii 1.1 or above
  • MYSQL

Usage

<?php
	$ids = array(1,2,3,4);
	$message = 'Some text';
	$easyapns = Yii::app()->getModule('easyapns');
	$easyapns->CreateMessage( $ids );
	$easyapns->AddMessage($message);
	$easyapns->AddMessageBadge();
	$easyapns->AddMessageSound();
	$easyapns->PushMessages();
	?>

Resources

0 1
6 followers
0 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Web Service
Tags: apns
Developed by: Mirocow
Created on: Jul 21, 2012
Last updated: 5 years ago

Related Extensions