2013-11-25 00:02:07 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FML\Types;
|
|
|
|
|
|
|
|
/**
|
2014-01-12 00:51:46 +01:00
|
|
|
* Interface for Elements with Url Attributes
|
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 Linkable {
|
|
|
|
|
|
|
|
/**
|
2013-12-31 02:55:19 +01:00
|
|
|
* Set Url
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
2014-01-12 00:51:46 +01:00
|
|
|
* @param string $url Link Url
|
2014-01-21 20:30:40 +01:00
|
|
|
* @return \FML\Types\Linkable
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
|
|
|
public function setUrl($url);
|
|
|
|
|
2014-01-19 19:30:21 +01:00
|
|
|
/**
|
|
|
|
* Set Url Id to use from the Dico
|
|
|
|
*
|
|
|
|
* @param string $urlId
|
2014-01-21 20:30:40 +01:00
|
|
|
* @return \FML\Types\Linkable
|
2014-01-19 19:30:21 +01:00
|
|
|
*/
|
|
|
|
public function setUrlId($urlId);
|
|
|
|
|
2013-11-25 00:02:07 +01:00
|
|
|
/**
|
2013-12-31 02:55:19 +01:00
|
|
|
* Set Manialink
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
2014-01-12 00:51:46 +01:00
|
|
|
* @param string $manialink Manialink Name
|
2014-01-21 20:30:40 +01:00
|
|
|
* @return \FML\Types\Linkable
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
|
|
|
public function setManialink($manialink);
|
2014-01-19 19:30:21 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Set Manialink Id to use from the Dico
|
|
|
|
*
|
|
|
|
* @param string $manialinkId Manialink Id
|
2014-01-21 20:30:40 +01:00
|
|
|
* @return \FML\Types\Linkable
|
2014-01-19 19:30:21 +01:00
|
|
|
*/
|
|
|
|
public function setManialinkId($manialinkId);
|
2013-11-25 00:02:07 +01:00
|
|
|
}
|