PATH:
home
/
letacommog
/
letaweb
/
admin
/
classes
/
hosting
/
api-php-lib
/
src
/
PleskX
/
Api
/
Operator
<?php // Copyright 1999-2015. Parallels IP Holdings GmbH. namespace PleskX\Api\Operator; use PleskX\Api\Struct\EventLog as Struct; class EventLog extends \PleskX\Api\Operator { protected $_wrapperTag = 'event_log'; /** * @return Struct\Event[] */ public function get() { $records = []; $response = $this->request('get'); foreach ($response->event as $eventInfo) { $records[] = new Struct\Event($eventInfo); } return $records; } /** * @return Struct\DetailedEvent[] */ public function getDetailedLog() { $records = []; $response = $this->request('get_events'); foreach ($response->event as $eventInfo) { $records[] = new Struct\DetailedEvent($eventInfo); } return $records; } /** * @return int */ public function getLastId() { return (int) $this->request('get-last-id')->getValue('id'); } }
[+]
..
[-] Mail.php
[edit]
[-] EventLog.php
[edit]
[-] Ip.php
[edit]
[-] Updater.php
[edit]
[-] WpInstance.php
[edit]
[-] Webspace.php
[edit]
[-] Certificate.php
[edit]
[-] Aps.php
[edit]
[-] Dns.php
[edit]
[-] Migration.php
[edit]
[-] DatabaseServer.php
[edit]
[-] SiteAlias.php
[edit]
[-] ProtectedDirectory.php
[edit]
[-] Sso.php
[edit]
[-] PlanItem.php
[edit]
[-] VirtualDirectory.php
[edit]
[-] Sitebuilder.php
[edit]
[-] ResellerPlan.php
[edit]
[-] Webmail.php
[edit]
[-] User.php
[edit]
[-] Database.php
[edit]
[-] ServicePlan.php
[edit]
[-] BusinessLogicUpgrade.php
[edit]
[-] ServiceNode.php
[edit]
[-] Subdomain.php
[edit]
[-] FtpUser.php
[edit]
[-] LogRotation.php
[edit]
[-] Customer.php
[edit]
[-] BackupManager.php
[edit]
[-] SecretKey.php
[edit]
[-] Session.php
[edit]
[-] Locale.php
[edit]
[-] IpBan.php
[edit]
[-] Role.php
[edit]
[-] Reseller.php
[edit]
[-] ServicePlanAddon.php
[edit]
[-] Server.php
[edit]
[-] Ui.php
[edit]
[-] Site.php
[edit]
[-] WebUser.php
[edit]
[-] SpamFilter.php
[edit]
[-] MailList.php
[edit]