TrackManiaControl/application/core/Libs/FML/Controls/Quads/Quad_ManiaPlanetLogos.php

48 lines
1.4 KiB
PHP
Raw Normal View History

<?php
namespace FML\Controls\Quads;
use FML\Controls\Quad;
/**
2014-01-12 00:51:46 +01:00
* Quad Class for 'ManiaPlanetLogos' Style
*
2014-05-20 15:44:45 +02:00
* @author steeffeen <mail@steeffeen.com>
2014-04-13 18:21:40 +02:00
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
2014-05-18 19:45:50 +02:00
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class Quad_ManiaPlanetLogos extends Quad {
2014-01-21 20:30:40 +01:00
/*
* Constants
*/
2014-05-18 19:45:50 +02:00
const STYLE = 'ManiaPlanetLogos';
const SUBSTYLE_IconPlanets = 'IconPlanets';
const SUBSTYLE_IconPlanetsPerspective = 'IconPlanetsPerspective';
const SUBSTYLE_IconPlanetsSmall = 'IconPlanetsSmall';
const SUBSTYLE_ManiaPlanetLogoBlack = 'ManiaPlanetLogoBlack';
const SUBSTYLE_ManiaPlanetLogoBlackSmall = 'ManiaPlanetLogoBlackSmall';
2014-05-18 19:45:50 +02:00
const SUBSTYLE_ManiaPlanetLogoWhite = 'ManiaPlanetLogoWhite';
const SUBSTYLE_ManiaPlanetLogoWhiteSmall = 'ManiaPlanetLogoWhiteSmall';
/**
2014-01-19 19:30:21 +01:00
* Create a new Quad_ManiaPlanetLogos Control
2013-12-31 02:55:19 +01:00
*
2014-01-19 19:30:21 +01:00
* @param string $id (optional) Control Id
* @return \FML\Controls\Quads\Quad_ManiaPlanetLogos
*/
public static function create($id = null) {
$quadManiaPlanetLogos = new Quad_ManiaPlanetLogos($id);
return $quadManiaPlanetLogos;
}
/**
* Construct a new Quad_ManiaPlanetLogos Control
*
* @param string $id (optional) Control Id
*/
2013-12-31 02:55:19 +01:00
public function __construct($id = null) {
parent::__construct($id);
$this->setStyle(self::STYLE);
}
}