2013-11-25 00:02:07 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FML\Types;
|
|
|
|
|
|
|
|
/**
|
2014-01-12 00:51:46 +01:00
|
|
|
* Interface for Elements with SubStyle Attribute
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
|
|
|
* @author steeffeen
|
2014-04-13 18:21:40 +02:00
|
|
|
* @copyright FancyManiaLinks Copyright © 2014 Steffen Schröder
|
|
|
|
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
|
|
|
interface SubStyleable {
|
|
|
|
|
|
|
|
/**
|
2013-12-09 13:05:05 +01:00
|
|
|
* Set SubStyle
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
2014-01-12 00:51:46 +01:00
|
|
|
* @param string $subStyle SubStyle Name
|
2014-01-21 20:30:40 +01:00
|
|
|
* @return \FML\Types\SubStyleable
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
|
|
|
public function setSubStyle($subStyle);
|
|
|
|
|
|
|
|
/**
|
2013-12-09 13:05:05 +01:00
|
|
|
* Set Style and SubStyle
|
2013-12-31 02:55:19 +01:00
|
|
|
*
|
2014-01-12 00:51:46 +01:00
|
|
|
* @param string $style Style Name
|
|
|
|
* @param string $subStyle SubStyle Name
|
2014-01-21 20:30:40 +01:00
|
|
|
* @return \FML\Types\SubStyleable
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
|
|
|
public function setStyles($style, $subStyle);
|
|
|
|
}
|