2013-11-25 00:02:07 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FML\Types;
|
|
|
|
|
|
|
|
/**
|
2014-06-21 03:18:21 +02:00
|
|
|
* Interface for Elements with url attributes
|
2013-11-25 00:02:07 +01:00
|
|
|
*
|
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
|
2013-11-25 00:02:07 +01:00
|
|
|
*/
|
2017-03-25 18:40:15 +01:00
|
|
|
interface Linkable
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the url
|
|
|
|
*
|
|
|
|
* @api
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getUrl();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the url
|
|
|
|
*
|
|
|
|
* @api
|
|
|
|
* @param string $url Link url
|
|
|
|
* @return static
|
|
|
|
*/
|
|
|
|
public function setUrl($url);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the url id to use from Dico
|
|
|
|
*
|
|
|
|
* @api
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getUrlId();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the url id to use from Dico
|
|
|
|
*
|
|
|
|
* @api
|
|
|
|
* @param string $urlId Url id
|
|
|
|
* @return static
|
|
|
|
*/
|
|
|
|
public function setUrlId($urlId);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the manialink
|
|
|
|
*
|
|
|
|
* @api
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getManialink();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the manialink
|
|
|
|
*
|
|
|
|
* @api
|
|
|
|
* @param string $manialink Manialink name
|
|
|
|
* @return static
|
|
|
|
*/
|
|
|
|
public function setManialink($manialink);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the manialink id to use from Dico
|
|
|
|
*
|
|
|
|
* @api
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getManialinkId();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the manialink id to use from Dico
|
|
|
|
*
|
|
|
|
* @api
|
|
|
|
* @param string $manialinkId Manialink id
|
|
|
|
* @return static
|
|
|
|
*/
|
|
|
|
public function setManialinkId($manialinkId);
|
|
|
|
|
2013-11-25 00:02:07 +01:00
|
|
|
}
|