TrackManiaControl/application/core/Update/UpdateData.php

33 lines
690 B
PHP
Raw Normal View History

2014-02-10 22:54:49 +01:00
<?php
namespace ManiaControl\Update;
2014-02-10 22:54:49 +01:00
/**
* UpdateStructure
*
* @author steeffeen & kremsy
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
2014-02-10 22:54:49 +01:00
*/
class UpdateData {
/*
* Public Properties
*/
2014-02-10 22:54:49 +01:00
public $version = 0;
public $channel = "";
public $url = "";
public $releaseDate = "";
/**
* Construct new Update Data
*
* @param unknown $updateData
*/
2014-02-10 22:54:49 +01:00
public function __construct($updateData) {
$this->version = $updateData->version;
$this->channel = $updateData->channel;
$this->url = $updateData->url;
$this->releaseDate = $updateData->release_date;
}
}