FML Update
This commit is contained in:
parent
8ee564d4b7
commit
5ad45d3b6f
@ -10,6 +10,8 @@ use FML\Types\Scriptable;
|
||||
* (CMlMediaPlayer)
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Audio extends Control implements Playable, Scriptable {
|
||||
/*
|
||||
|
@ -9,6 +9,8 @@ use FML\Types\Renderable;
|
||||
* (CMlControl)
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
abstract class Control implements Renderable {
|
||||
/*
|
||||
@ -21,6 +23,11 @@ abstract class Control implements Renderable {
|
||||
const BOTTOM = 'bottom';
|
||||
const LEFT = 'left';
|
||||
|
||||
/*
|
||||
* Static Properties
|
||||
*/
|
||||
protected static $currentIndex = 0;
|
||||
|
||||
/*
|
||||
* Protected Properties
|
||||
*/
|
||||
@ -69,13 +76,14 @@ abstract class Control implements Renderable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Check Id for dangerous Characters and assign an unique Id if necessary
|
||||
* Check Id for dangerous Characters and assign a unique Id if necessary
|
||||
*
|
||||
* @return \FML\Controls\Control
|
||||
*/
|
||||
public function checkId() {
|
||||
if (!$this->getId()) {
|
||||
$this->setId(uniqid());
|
||||
$this->setId('FML_ID_' . self::$currentIndex);
|
||||
self::$currentIndex++;
|
||||
return $this;
|
||||
}
|
||||
$dangerousCharacters = array(' ', ' ', '.', '|', '-', PHP_EOL);
|
||||
|
@ -12,6 +12,8 @@ use FML\Types\TextFormatable;
|
||||
* (CMlEntry)
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Entry extends Control implements NewLineable, Scriptable, Styleable, TextFormatable {
|
||||
/*
|
||||
|
@ -7,6 +7,8 @@ namespace FML\Controls;
|
||||
* (CMlFileEntry)
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class FileEntry extends Entry {
|
||||
/*
|
||||
|
@ -12,6 +12,8 @@ use FML\Elements\FrameModel;
|
||||
* (CMlFrame)
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Frame extends Control implements Container {
|
||||
/*
|
||||
@ -79,7 +81,7 @@ class Frame extends Control implements Container {
|
||||
*/
|
||||
public function getFormat($createIfEmpty = true) {
|
||||
if (!$this->format && $createIfEmpty) {
|
||||
$this->format = new Format();
|
||||
$this->setFormat(new Format());
|
||||
}
|
||||
return $this->format;
|
||||
}
|
||||
|
@ -10,6 +10,8 @@ use FML\Stylesheet\Style3d;
|
||||
* (CMlFrame)
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Frame3d extends Frame implements Scriptable {
|
||||
/*
|
||||
|
@ -10,6 +10,8 @@ use FML\Types\Renderable;
|
||||
* (CMlFrame)
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class FrameInstance extends Control {
|
||||
/*
|
||||
|
@ -9,6 +9,8 @@ use FML\Types\Styleable;
|
||||
* (CMlGauge)
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Gauge extends Control implements Styleable {
|
||||
/*
|
||||
|
@ -14,6 +14,8 @@ use FML\Types\TextFormatable;
|
||||
* (CMlLabel)
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Label extends Control implements Actionable, Linkable, NewLineable, Scriptable, Styleable, TextFormatable {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Label;
|
||||
* Label Class for Button Styles
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Label_Button extends Label {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Label;
|
||||
* Label Class for Text Styles
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Label_Text extends Label {
|
||||
/*
|
||||
@ -35,6 +37,7 @@ class Label_Text extends Label {
|
||||
const STYLE_TextCardInfoSmall = 'TextCardInfoSmall';
|
||||
const STYLE_TextCardInfoVerySmall = 'TextCardInfoVerySmall';
|
||||
const STYLE_TextCardMedium = 'TextCardMedium';
|
||||
const STYLE_TextCardMediumWhite = 'TextCardMediumWhite';
|
||||
const STYLE_TextCardRaceRank = 'TextCardRaceRank';
|
||||
const STYLE_TextCardScores2 = 'TextCardScores2';
|
||||
const STYLE_TextCardSmall = 'TextCardSmall';
|
||||
@ -77,8 +80,11 @@ class Label_Text extends Label {
|
||||
const STYLE_TextTitle3 = 'TextTitle3';
|
||||
const STYLE_TextTitle3Header = 'TextTitle3Header';
|
||||
const STYLE_TextTitleError = 'TextTitleError';
|
||||
const STYLE_TextToolTipAM = 'TextToolTipAM';
|
||||
const STYLE_TextToolTipAMBig = 'TextToolTipAMBig';
|
||||
const STYLE_TextValueBig = 'TextValueBig';
|
||||
const STYLE_TextValueMedium = 'TextValueMedium';
|
||||
const STYLE_TextValueMediumSm = 'TextValueMediumSm';
|
||||
const STYLE_TextValueSmall = 'TextValueSmall';
|
||||
const STYLE_TextValueSmallSm = 'TextValueSmallSm';
|
||||
const STYLE_TrackerText = 'TrackerText';
|
||||
|
@ -14,6 +14,8 @@ use FML\Types\SubStyleable;
|
||||
* (CMlQuad)
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad extends Control implements Actionable, BgColorable, Linkable, Scriptable, Styleable, SubStyleable {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for '321Go' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_321Go extends Quad {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'BgRaceScore2' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_BgRaceScore2 extends Quad {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'Bgs1' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_Bgs1 extends Quad {
|
||||
/*
|
||||
@ -36,6 +38,7 @@ class Quad_Bgs1 extends Quad {
|
||||
const SUBSTYLE_BgCardList = 'BgCardList';
|
||||
const SUBSTYLE_BgCardOnline = 'BgCardOnline';
|
||||
const SUBSTYLE_BgCardPlayer = 'BgCardPlayer';
|
||||
const SUBSTYLE_BgCardProperty = 'BgCardProperty';
|
||||
const SUBSTYLE_BgCardSystem = 'BgCardSystem';
|
||||
const SUBSTYLE_BgCardZone = 'BgCardZone';
|
||||
const SUBSTYLE_BgColorContour = 'BgColorContour';
|
||||
@ -68,6 +71,7 @@ class Quad_Bgs1 extends Quad {
|
||||
const SUBSTYLE_BgWindow1 = 'BgWindow1';
|
||||
const SUBSTYLE_BgWindow2 = 'BgWindow2';
|
||||
const SUBSTYLE_BgWindow3 = 'BgWindow3';
|
||||
const SUBSTYLE_BgWindow4 = 'BgWindow4';
|
||||
const SUBSTYLE_EnergyBar = 'EnergyBar';
|
||||
const SUBSTYLE_EnergyTeam2 = 'EnergyTeam2';
|
||||
const SUBSTYLE_Glow = 'Glow';
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'Bgs1InRace' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_Bgs1InRace extends Quad {
|
||||
/*
|
||||
@ -36,6 +38,7 @@ class Quad_Bgs1InRace extends Quad {
|
||||
const SUBSTYLE_BgCardList = 'BgCardList';
|
||||
const SUBSTYLE_BgCardOnline = 'BgCardOnline';
|
||||
const SUBSTYLE_BgCardPlayer = 'BgCardPlayer';
|
||||
const SUBSTYLE_BgCardProperty = 'BgCardProperty';
|
||||
const SUBSTYLE_BgCardSystem = 'BgCardSystem';
|
||||
const SUBSTYLE_BgCardZone = 'BgCardZone';
|
||||
const SUBSTYLE_BgColorContour = 'BgColorContour';
|
||||
@ -68,6 +71,7 @@ class Quad_Bgs1InRace extends Quad {
|
||||
const SUBSTYLE_BgWindow1 = 'BgWindow1';
|
||||
const SUBSTYLE_BgWindow2 = 'BgWindow2';
|
||||
const SUBSTYLE_BgWindow3 = 'BgWindow3';
|
||||
const SUBSTYLE_BgWindow4 = 'BgWindow4';
|
||||
const SUBSTYLE_EnergyBar = 'EnergyBar';
|
||||
const SUBSTYLE_EnergyTeam2 = 'EnergyTeam2';
|
||||
const SUBSTYLE_Glow = 'Glow';
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'BgsChallengeMedals' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_BgsChallengeMedals extends Quad {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'BgsPlayerCard' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_BgsPlayerCard extends Quad {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'Copilot' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_Copilot extends Quad {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'Emblems' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_Emblems extends Quad {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'EnergyBar' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_EnergyBar extends Quad {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'Hud3dEchelons' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_Hud3dEchelons extends Quad {
|
||||
/*
|
||||
|
48
application/core/Libs/FML/Controls/Quads/Quad_Hud3dIcons.php
Normal file
48
application/core/Libs/FML/Controls/Quads/Quad_Hud3dIcons.php
Normal file
@ -0,0 +1,48 @@
|
||||
<?php
|
||||
|
||||
namespace FML\Controls\Quads;
|
||||
|
||||
use FML\Controls\Quad;
|
||||
|
||||
/**
|
||||
* Quad Class for 'Hud3dIcons' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_Hud3dIcons extends Quad {
|
||||
/*
|
||||
* Constants
|
||||
*/
|
||||
const STYLE = 'Hud3dIcons';
|
||||
const SUBSTYLE_Cross = 'Cross';
|
||||
const SUBSTYLE_CrossTargeted = 'CrossTargeted';
|
||||
const SUBSTYLE_Player1 = 'Player1';
|
||||
const SUBSTYLE_Player2 = 'Player2';
|
||||
const SUBSTYLE_Player3 = 'Player3';
|
||||
const SUBSTYLE_PointA = 'PointA';
|
||||
const SUBSTYLE_PointB = 'PointB';
|
||||
const SUBSTYLE_PointC = 'PointC';
|
||||
|
||||
/**
|
||||
* Create a new Quad_Hud3dIcons Control
|
||||
*
|
||||
* @param string $id (optional) Control Id
|
||||
* @return \FML\Controls\Quads\Quad_Hud3dIcons
|
||||
*/
|
||||
public static function create($id = null) {
|
||||
$quadHud3dIcons = new Quad_Hud3dIcons($id);
|
||||
return $quadHud3dIcons;
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct a new Quad_Hud3dIcons Control
|
||||
*
|
||||
* @param string $id (optional) Control Id
|
||||
*/
|
||||
public function __construct($id = null) {
|
||||
parent::__construct($id);
|
||||
$this->setStyle(self::STYLE);
|
||||
}
|
||||
}
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'Icons128x128_1' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_Icons128x128_1 extends Quad {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'Icons128x128_Blink' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_Icons128x128_Blink extends Quad {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'Icons128x32_1' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_Icons128x32_1 extends Quad {
|
||||
/*
|
||||
@ -18,6 +20,7 @@ class Quad_Icons128x32_1 extends Quad {
|
||||
const SUBSTYLE_ManiaLinkHome = 'ManiaLinkHome';
|
||||
const SUBSTYLE_ManiaLinkSwitch = 'ManiaLinkSwitch';
|
||||
const SUBSTYLE_ManiaPlanet = 'ManiaPlanet';
|
||||
const SUBSTYLE_Minimize = 'Minimize';
|
||||
const SUBSTYLE_Music = 'Music';
|
||||
const SUBSTYLE_PainterBrush = 'PainterBrush';
|
||||
const SUBSTYLE_PainterFill = 'PainterFill';
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'Icons64x64_1' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_Icons64x64_1 extends Quad {
|
||||
/*
|
||||
@ -79,6 +81,7 @@ class Quad_Icons64x64_1 extends Quad {
|
||||
const SUBSTYLE_ShowRight2 = 'ShowRight2';
|
||||
const SUBSTYLE_ShowUp = 'ShowUp';
|
||||
const SUBSTYLE_ShowUp2 = 'ShowUp2';
|
||||
const SUBSTYLE_ShowUpChanging = 'ShowUpChanging';
|
||||
const SUBSTYLE_SliderCursor = 'SliderCursor';
|
||||
const SUBSTYLE_SliderCursor2 = 'SliderCursor2';
|
||||
const SUBSTYLE_StateFavourite = 'StateFavourite';
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'Icons64x64_2' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_Icons64x64_2 extends Quad {
|
||||
/*
|
||||
@ -25,6 +27,7 @@ class Quad_Icons64x64_2 extends Quad {
|
||||
const SUBSTYLE_RocketElimination = 'RocketElimination';
|
||||
const SUBSTYLE_RocketHit = 'RocketHit';
|
||||
const SUBSTYLE_ServerNotice = 'ServerNotice';
|
||||
const SUBSTYLE_SortBy = 'SortBy';
|
||||
const SUBSTYLE_UnknownElimination = 'UnknownElimination';
|
||||
const SUBSTYLE_UnknownHit = 'UnknownHit';
|
||||
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'ManiaPlanetLogos' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_ManiaPlanetLogos extends Quad {
|
||||
/*
|
||||
|
@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
namespace FML\Controls\Quads;
|
||||
|
||||
use FML\Controls\Quad;
|
||||
|
||||
/**
|
||||
* Quad Class for 'ManiaPlanetMainMenu' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_ManiaPlanetMainMenu extends Quad {
|
||||
/*
|
||||
* Constants
|
||||
*/
|
||||
const STYLE = 'ManiaPlanetMainMenu';
|
||||
const SUBSTYLE_BottomBar = 'BottomBar';
|
||||
const SUBSTYLE_Highlight = 'Highlight';
|
||||
const SUBSTYLE_IconAdd = 'IconAdd';
|
||||
const SUBSTYLE_IconHome = 'IconHome';
|
||||
const SUBSTYLE_IconPlay = 'IconPlay';
|
||||
const SUBSTYLE_IconQuit = 'IconQuit';
|
||||
const SUBSTYLE_IconSettings = 'IconSettings';
|
||||
const SUBSTYLE_IconStore = 'IconStore';
|
||||
const SUBSTYLE_MainBg = 'MainBg';
|
||||
const SUBSTYLE_TitleBg = 'TitleBg';
|
||||
const SUBSTYLE_TopBar = 'TopBar';
|
||||
|
||||
/**
|
||||
* Create a new Quad_ManiaPlanetMainMenu Control
|
||||
*
|
||||
* @param string $id (optional) Control Id
|
||||
* @return \FML\Controls\Quads\Quad_ManiaPlanetMainMenu
|
||||
*/
|
||||
public static function create($id = null) {
|
||||
$quadManiaPlanetMainMenu = new Quad_ManiaPlanetMainMenu($id);
|
||||
return $quadManiaPlanetMainMenu;
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct a new Quad_ManiaPlanetMainMenu Control
|
||||
*
|
||||
* @param string $id (optional) Control Id
|
||||
*/
|
||||
public function __construct($id = null) {
|
||||
parent::__construct($id);
|
||||
$this->setStyle(self::STYLE);
|
||||
}
|
||||
}
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'ManiaplanetSystem' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_ManiaplanetSystem extends Quad {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'MedalsBig' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_MedalsBig extends Quad {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'TitleLogos' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_TitleLogos extends Quad {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'UIConstruction_Buttons' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_UIConstruction_Buttons extends Quad {
|
||||
/*
|
||||
@ -16,6 +18,7 @@ class Quad_UIConstruction_Buttons extends Quad {
|
||||
const STYLE = 'UIConstruction_Buttons';
|
||||
const SUBSTYLE_ActionMaker = 'ActionMaker';
|
||||
const SUBSTYLE_Add = 'Add';
|
||||
const SUBSTYLE_AirMapping = 'AirMapping';
|
||||
const SUBSTYLE_Author = 'Author';
|
||||
const SUBSTYLE_AuthorTime = 'AuthorTime';
|
||||
const SUBSTYLE_BgEditors = 'BgEditors';
|
||||
@ -32,6 +35,7 @@ class Quad_UIConstruction_Buttons extends Quad {
|
||||
const SUBSTYLE_Down = 'Down';
|
||||
const SUBSTYLE_Drive = 'Drive';
|
||||
const SUBSTYLE_Erase = 'Erase';
|
||||
const SUBSTYLE_GhostBlocks = 'GhostBlocks';
|
||||
const SUBSTYLE_Help = 'Help';
|
||||
const SUBSTYLE_Item = 'Item';
|
||||
const SUBSTYLE_Left = 'Left';
|
||||
|
@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
namespace FML\Controls\Quads;
|
||||
|
||||
use FML\Controls\Quad;
|
||||
|
||||
/**
|
||||
* Quad Class for 'UIConstruction_Buttons2' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_UIConstruction_Buttons2 extends Quad {
|
||||
/*
|
||||
* Constants
|
||||
*/
|
||||
const STYLE = 'UIConstruction_Buttons2';
|
||||
const SUBSTYLE_AirMapping = 'AirMapping';
|
||||
const SUBSTYLE_BlockEditor = 'BlockEditor';
|
||||
const SUBSTYLE_Copy = 'Copy';
|
||||
const SUBSTYLE_Cut = 'Cut';
|
||||
const SUBSTYLE_GhostBlocks = 'GhostBlocks';
|
||||
const SUBSTYLE_KeysAdd = 'KeysAdd';
|
||||
const SUBSTYLE_KeysCopy = 'KeysCopy';
|
||||
const SUBSTYLE_KeysDelete = 'KeysDelete';
|
||||
const SUBSTYLE_KeysPaste = 'KeysPaste';
|
||||
const SUBSTYLE_New = 'New';
|
||||
const SUBSTYLE_Open = 'Open';
|
||||
const SUBSTYLE_Symmetry = 'Symmetry';
|
||||
|
||||
/**
|
||||
* Create a new Quad_UIConstruction_Buttons2 Control
|
||||
*
|
||||
* @param string $id (optional) Control Id
|
||||
* @return \FML\Controls\Quads\Quad_UIConstruction_Buttons2
|
||||
*/
|
||||
public static function create($id = null) {
|
||||
$quadUIConstructionButtons2 = new Quad_UIConstruction_Buttons2($id);
|
||||
return $quadUIConstructionButtons2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct a new Quad_UIConstruction_Buttons2 Control
|
||||
*
|
||||
* @param string $id (optional) Control Id
|
||||
*/
|
||||
public function __construct($id = null) {
|
||||
parent::__construct($id);
|
||||
$this->setStyle(self::STYLE);
|
||||
}
|
||||
}
|
@ -8,6 +8,8 @@ use FML\Controls\Quad;
|
||||
* Quad Class for 'UiSMSpectatorScoreBig' Style
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Quad_UiSMSpectatorScoreBig extends Quad {
|
||||
/*
|
||||
|
@ -10,6 +10,8 @@ use FML\Types\Scriptable;
|
||||
* (CMlMediaPlayer)
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Video extends Control implements Playable, Scriptable {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML;
|
||||
* Class representing a Custom_UI
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class CustomUI {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Elements;
|
||||
* Dictionary Element
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Dico {
|
||||
/**
|
||||
|
@ -11,6 +11,8 @@ use FML\Types\TextFormatable;
|
||||
* Format Element
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Format implements BgColorable, Renderable, Styleable, TextFormatable {
|
||||
/*
|
||||
|
@ -10,6 +10,8 @@ use FML\Types\Renderable;
|
||||
* Class representing a Frame Model
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class FrameModel implements Container, Renderable {
|
||||
/*
|
||||
@ -90,7 +92,7 @@ class FrameModel implements Container, Renderable {
|
||||
*/
|
||||
public function getFormat($createIfEmpty = true) {
|
||||
if (!$this->format && $createIfEmpty) {
|
||||
$this->format = new Format();
|
||||
$this->setFormat(new Format());
|
||||
}
|
||||
return $this->format;
|
||||
}
|
||||
|
@ -8,6 +8,8 @@ use FML\Types\Renderable;
|
||||
* Include Element
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Including implements Renderable {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Types\Renderable;
|
||||
* Music Element
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Music implements Renderable {
|
||||
/*
|
||||
|
@ -8,6 +8,8 @@ use FML\Types\Renderable;
|
||||
* Class representing a ManiaLink Script Tag with a simple Script Text
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class SimpleScript implements Renderable {
|
||||
/*
|
||||
|
@ -23,6 +23,8 @@ use FML\ManiaCode\ViewReplay;
|
||||
* Class representing a ManiaCode
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class ManiaCode {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\ManiaCode;
|
||||
* ManiaCode Element adding a Buddy
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class AddBuddy implements Element {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\ManiaCode;
|
||||
* ManiaCode Element adding a Server as Favorite
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class AddFavorite implements Element {
|
||||
/*
|
||||
|
@ -2,6 +2,13 @@
|
||||
|
||||
namespace FML\ManiaCode;
|
||||
|
||||
/**
|
||||
* Base ManiaCode Element
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
interface Element {
|
||||
|
||||
/**
|
||||
|
@ -6,6 +6,8 @@ namespace FML\ManiaCode;
|
||||
* ManiaCode Element downloading a Skin
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class GetSkin implements Element {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\ManiaCode;
|
||||
* ManiaCode Element going to a Link
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Go_To implements Element {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\ManiaCode;
|
||||
* ManiaCode Element installing a Map
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class InstallMap implements Element {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\ManiaCode;
|
||||
* ManiaCode Element installing a Title Pack
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class InstallPack implements Element {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\ManiaCode;
|
||||
* ManiaCode Element installing a Replay
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class InstallReplay implements Element {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\ManiaCode;
|
||||
* ManiaCode Element installing a Script
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class InstallScript implements Element {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\ManiaCode;
|
||||
* ManiaCode Element installing a Skin
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class InstallSkin implements Element {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\ManiaCode;
|
||||
* ManiaCode Element joining a Server
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class JoinServer implements Element {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\ManiaCode;
|
||||
* ManiaCode Element playing a Map
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class PlayMap implements Element {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\ManiaCode;
|
||||
* ManiaCode Element playing a Replay
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class PlayReplay implements Element {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\ManiaCode;
|
||||
* ManiaCode Element showing a Message
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class ShowMessage implements Element {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\ManiaCode;
|
||||
* ManiaCode Element viewing a Replay
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class ViewReplay implements Element {
|
||||
/*
|
||||
|
@ -11,12 +11,15 @@ use FML\Types\Renderable;
|
||||
* Class representing a ManiaLink
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class ManiaLink {
|
||||
/*
|
||||
* Constants
|
||||
*/
|
||||
const BACKGROUND_0 = '0';
|
||||
const BACKGROUND_1 = '1';
|
||||
const BACKGROUND_STARS = 'stars';
|
||||
const BACKGROUND_STATIONS = 'stations';
|
||||
const BACKGROUND_TITLE = 'title';
|
||||
@ -163,7 +166,7 @@ class ManiaLink {
|
||||
*/
|
||||
public function getDico($createIfEmpty = true) {
|
||||
if (!$this->dico && $createIfEmpty) {
|
||||
$this->dico = new Dico();
|
||||
$this->setDico(new Dico());
|
||||
}
|
||||
return $this->dico;
|
||||
}
|
||||
@ -187,7 +190,7 @@ class ManiaLink {
|
||||
*/
|
||||
public function getStylesheet($createIfEmpty = true) {
|
||||
if (!$this->stylesheet && $createIfEmpty) {
|
||||
$this->stylesheet = new Stylesheet();
|
||||
$this->setStylesheet(new Stylesheet());
|
||||
}
|
||||
return $this->stylesheet;
|
||||
}
|
||||
@ -211,7 +214,7 @@ class ManiaLink {
|
||||
*/
|
||||
public function getScript($createIfEmpty = true) {
|
||||
if (!$this->script && $createIfEmpty) {
|
||||
$this->script = new Script();
|
||||
$this->setScript(new Script());
|
||||
}
|
||||
return $this->script;
|
||||
}
|
||||
|
@ -6,6 +6,8 @@ namespace FML;
|
||||
* Class holding several ManiaLinks at once
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class ManiaLinks {
|
||||
/*
|
||||
@ -85,7 +87,7 @@ class ManiaLinks {
|
||||
*/
|
||||
public function getCustomUI($createIfEmpty = true) {
|
||||
if (!$this->customUI && $createIfEmpty) {
|
||||
$this->customUI = new CustomUI();
|
||||
$this->setCustomUI(new CustomUI());
|
||||
}
|
||||
return $this->customUI;
|
||||
}
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Script;
|
||||
* Builder Class offering Methods to build ManiaScript
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
abstract class Builder {
|
||||
|
||||
@ -29,8 +31,8 @@ abstract class Builder {
|
||||
*/
|
||||
public static function escapeText($text) {
|
||||
$escapedText = $text;
|
||||
$dangers = array('\\', '"');
|
||||
$replacements = array('\\\\', '\\"');
|
||||
$dangers = array('\\', '"', "\n");
|
||||
$replacements = array('\\\\', '\\"', '\n');
|
||||
$escapedText = str_ireplace($dangers, $replacements, $escapedText);
|
||||
return $escapedText;
|
||||
}
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Script;
|
||||
* Class for EUISound Variants
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
abstract class EUISound {
|
||||
/*
|
||||
|
@ -11,6 +11,8 @@ use FML\Types\Actionable;
|
||||
* Class representing the ManiaLink Script
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Script {
|
||||
/*
|
||||
|
@ -9,6 +9,8 @@ namespace FML\Stylesheet;
|
||||
* Class representing a Stylesheets Mood
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Mood {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Stylesheet;
|
||||
* Class representing a specific Style3d
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Style3d {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Stylesheet;
|
||||
* Class representing the ManiaLinks Stylesheet
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class Stylesheet {
|
||||
/*
|
||||
@ -73,7 +75,7 @@ class Stylesheet {
|
||||
*/
|
||||
public function getMood($createIfEmpty = true) {
|
||||
if (!$this->mood && $createIfEmpty) {
|
||||
$this->mood = new Mood();
|
||||
$this->setMood(new Mood());
|
||||
}
|
||||
return $this->mood;
|
||||
}
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Types;
|
||||
* Interface for Elements that support the Action Attribute
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
interface Actionable {
|
||||
/*
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Types;
|
||||
* Interface for Elements with Background Color Attribute
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
interface BgColorable {
|
||||
|
||||
|
@ -9,6 +9,8 @@ use FML\Elements\Format;
|
||||
* Interface for Element being able to contain other Controls
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
interface Container {
|
||||
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Types;
|
||||
* Interface for Elements with Url Attributes
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
interface Linkable {
|
||||
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Types;
|
||||
* Interface for Elements with AutoNewLine Attribute
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
interface NewLineable {
|
||||
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Types;
|
||||
* Interface for Elements with Media Attributes
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
interface Playable {
|
||||
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Types;
|
||||
* Interface for renderable Elements
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
interface Renderable {
|
||||
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Types;
|
||||
* Interface for Elements with ScriptEvents Attribute
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
interface Scriptable {
|
||||
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Types;
|
||||
* Interface for Elements with Style Attribute
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
interface Styleable {
|
||||
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Types;
|
||||
* Interface for Elements with SubStyle Attribute
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
interface SubStyleable {
|
||||
|
||||
|
@ -6,6 +6,8 @@ namespace FML\Types;
|
||||
* Interface for Elements with Formatable Text
|
||||
*
|
||||
* @author steeffeen
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
interface TextFormatable {
|
||||
|
||||
|
@ -5,6 +5,8 @@
|
||||
*
|
||||
* @author steeffeen
|
||||
* @version 1.0
|
||||
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
if (!defined('FML_PATH')) {
|
||||
define('FML_PATH', __DIR__ . '/../');
|
||||
|
Loading…
Reference in New Issue
Block a user