TrackManiaControl/application/core/Libs/FML/Types/Linkable.php

44 lines
728 B
PHP
Raw Normal View History

<?php
namespace FML\Types;
/**
2014-01-12 00:51:46 +01:00
* Interface for Elements with Url Attributes
*
* @author steeffeen
*/
interface Linkable {
/**
2013-12-31 02:55:19 +01:00
* Set Url
*
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
*/
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-12-31 02:55:19 +01:00
* Set Manialink
*
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
*/
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);
}