08cad46cfc
improved phpdoc
33 lines
690 B
PHP
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;
|
|
}
|
|
}
|