Yii 1.1: yii-apns

Apple Push Notification Service
6 followers

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

Be the first person to leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet
  • Yii Version: 1.1
  • License: New BSD License
  • Developed by: Mirocow
  • Category: Web Service
  • Votes: +1 / -1
  • Downloaded: 0 times
  • Created on: Jul 21, 2012
  • Last updated: Aug 21, 2012
  • Tags: apns