TrackManiaControl/libs/FML/Types/SubStyleable.php

43 lines
834 B
PHP
Raw Normal View History

<?php
namespace FML\Types;
/**
2014-06-21 03:18:21 +02:00
* Interface for Elements with substyle attribute
*
2014-05-20 15:44:45 +02:00
* @author steeffeen <mail@steeffeen.com>
2017-03-25 18:40:15 +01:00
* @copyright FancyManiaLinks Copyright © 2017 Steffen Schröder
2014-05-18 19:45:50 +02:00
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
2017-03-25 18:40:15 +01:00
interface SubStyleable
{
2017-03-25 18:40:15 +01:00
/**
* Get the sub style
*
* @api
* @return string
*/
public function getSubStyle();
/**
* Set the sub style
*
* @api
* @param string $subStyle SubStyle name
* @return static
*/
public function setSubStyle($subStyle);
/**
* Set the style and the sub style
*
* @api
* @param string $style Style name
* @param string $subStyle SubStyle name
* @return static
*/
public function setStyles($style, $subStyle);
}