added license and copyright annotations
improved phpdoc
This commit is contained in:
@ -1,22 +1,32 @@
|
||||
<?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
|
||||
*/
|
||||
namespace ManiaControl\Update;
|
||||
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -16,6 +16,8 @@ use ManiaControl\Plugins\Plugin;
|
||||
* Manager checking for ManiaControl Core and Plugin Updates
|
||||
*
|
||||
* @author steeffeen & kremsy
|
||||
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class UpdateManager implements CallbackListener, CommandListener, TimerListener {
|
||||
/*
|
||||
|
Reference in New Issue
Block a user