Add external links for tasks with plugin api
This commit is contained in:
33
app/ExternalLink/BaseLinkProvider.php
Normal file
33
app/ExternalLink/BaseLinkProvider.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Kanboard\ExternalLink;
|
||||
|
||||
use Kanboard\Core\Base;
|
||||
|
||||
/**
|
||||
* Base Link Provider
|
||||
*
|
||||
* @package externalLink
|
||||
* @author Frederic Guillot
|
||||
*/
|
||||
abstract class BaseLinkProvider extends Base
|
||||
{
|
||||
/**
|
||||
* User input
|
||||
*
|
||||
* @access protected
|
||||
* @var string
|
||||
*/
|
||||
protected $userInput = '';
|
||||
|
||||
/**
|
||||
* Set text entered by the user
|
||||
*
|
||||
* @access public
|
||||
* @param string $input
|
||||
*/
|
||||
public function setUserTextInput($input)
|
||||
{
|
||||
$this->userInput = trim($input);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user