2013-11-25 00:02:07 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FML\Controls\Quads;
|
|
|
|
|
|
|
|
use FML\Controls\Quad;
|
|
|
|
|
|
|
|
/**
|
2014-01-12 00:51:46 +01:00
|
|
|
* Quad Class for '321Go' Style
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
|
|
|
* @author steeffeen
|
|
|
|
*/
|
|
|
|
class Quad_321Go extends Quad {
|
2014-01-21 20:30:40 +01:00
|
|
|
/*
|
2013-11-25 00:02:07 +01:00
|
|
|
* Constants
|
|
|
|
*/
|
|
|
|
const STYLE = '321Go';
|
|
|
|
const SUBSTYLE_3 = '3';
|
|
|
|
const SUBSTYLE_2 = '2';
|
|
|
|
const SUBSTYLE_1 = '1';
|
|
|
|
const SUBSTYLE_Go = 'Go!';
|
|
|
|
|
|
|
|
/**
|
2014-01-19 19:30:21 +01:00
|
|
|
* Create a new Quad_321Go 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_321Go
|
|
|
|
*/
|
|
|
|
public static function create($id = null) {
|
|
|
|
$quad321Go = new Quad_321Go($id);
|
|
|
|
return $quad321Go;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Construct a new Quad_321Go Control
|
|
|
|
*
|
|
|
|
* @param string $id (optional) Control Id
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
2013-12-31 02:55:19 +01:00
|
|
|
public function __construct($id = null) {
|
|
|
|
parent::__construct($id);
|
2013-11-25 00:02:07 +01:00
|
|
|
$this->setStyle(self::STYLE);
|
|
|
|
}
|
|
|
|
}
|