added license and copyright annotations

improved phpdoc
This commit is contained in:
Steffen Schröder
2014-04-12 12:14:37 +02:00
parent 07a63cf518
commit 08cad46cfc
61 changed files with 345 additions and 204 deletions

View File

@ -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;
}
}
}

View File

@ -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 {
/*