1: <?php
2: /**
3: * Represents a Mod for a TrackMania Dedicated Server
4: * ManiaLive - TrackMania dedicated server manager in PHP
5: *
6: * @copyright Copyright (c) 2009-2011 NADEO (http://www.nadeo.com)
7: * @license http://www.gnu.org/licenses/lgpl.html LGPL License 3
8: * @version $Revision: 425 $:
9: * @author $Author: melot.philippe $:
10: * @date $Date: 2012-07-18 12:36:36 +0200 (mer., 18 juil. 2012) $:
11: */
12: namespace DedicatedApi\Structures;
13:
14: class Mod extends AbstractStructure
15: {
16: public $env;
17: public $url;
18:
19: function toArray()
20: {
21: return array('Env'=>$this->env,'Url'=>$this->url);
22: }
23: }