TrackManiaControl/application/core/FML/Controls/Quads/Quad_TitleLogos.php

43 lines
841 B
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 'TitleLogos' Style
*
* @author steeffeen
*/
class Quad_TitleLogos extends Quad {
2014-01-21 20:30:40 +01:00
/*
* Constants
*/
const STYLE = 'TitleLogos';
2013-12-31 02:55:19 +01:00
const SUBSTYLE_Author = 'Author';
const SUBSTYLE_Collection = 'Collection';
const SUBSTYLE_Icon = 'Icon';
const SUBSTYLE_Title = 'Title';
/**
2014-01-19 19:30:21 +01:00
* Create a new Quad_TitleLogos 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_TitleLogos
*/
public static function create($id = null) {
$quadTitleLogos = new Quad_TitleLogos($id);
return $quadTitleLogos;
}
/**
* Construct a new Quad_TitleLogos 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);
}
}