PATH:
home
/
lab2454c
/
sportsnovate.com
/
backups
/
core
/
vendor
/
textmagic
/
sdk
/
Services
/
Models
<?php /** * This file is part of the TextmagicRestClient package. * * Copyright (c) 2015 TextMagic Ltd. All rights reserved. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Textmagic\Services\Models; /** * @author Denis <denis@textmagic.biz> */ class Sessions extends BaseModel { protected $resourceName = 'sessions'; protected $allowMethods = array('getList', 'get', 'delete', 'getMessages'); public function getMessages($id) { $this->checkPermissions('getMessages'); return $this->client->retrieveData($this->resourceName . '/' . $id . '/messages'); } }
[-] SenderIds.php
[edit]
[-] Chats.php
[edit]
[-] Subaccounts.php
[edit]
[-] Replies.php
[edit]
[+]
..
[-] Numbers.php
[edit]
[-] Utils.php
[edit]
[-] Contacts.php
[edit]
[-] Lists.php
[edit]
[-] CustomFields.php
[edit]
[-] Schedules.php
[edit]
[-] Unsubscribers.php
[edit]
[-] Sources.php
[edit]
[-] BaseModel.php
[edit]
[-] Messages.php
[edit]
[-] Sessions.php
[edit]
[-] Invoices.php
[edit]
[-] User.php
[edit]
[-] Templates.php
[edit]
[-] Bulks.php
[edit]
[-] Stats.php
[edit]