TrackManiaControl/application/core/Update/UpdateData.php
Steffen Schröder 08cad46cfc added license and copyright annotations
improved phpdoc
2014-05-01 17:35:36 +02:00

33 lines
690 B
PHP

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