diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-06-26 14:33:53 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-06-26 14:33:53 -0400 |
commit | 3d34681610854474cb9dbdd93886dbcf0e208a99 (patch) | |
tree | 21e9a8cf7c4250e2031dafdada91e9b63a44e1bd /app/Core/ExternalLink | |
parent | b82589e75f58cb36280c3e872ed23d4cfc64128b (diff) |
Added new API calls for external task links
Diffstat (limited to 'app/Core/ExternalLink')
-rw-r--r-- | app/Core/ExternalLink/ExternalLinkManager.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/Core/ExternalLink/ExternalLinkManager.php b/app/Core/ExternalLink/ExternalLinkManager.php index 804e6b34..5a037999 100644 --- a/app/Core/ExternalLink/ExternalLinkManager.php +++ b/app/Core/ExternalLink/ExternalLinkManager.php @@ -153,6 +153,30 @@ class ExternalLinkManager extends Base } /** + * Set provider type + * + * @access public + * @param string $userInputType + * @return ExternalLinkManager + */ + public function setUserInputType($userInputType) + { + $this->userInputType = $userInputType; + return $this; + } + + /** + * Set external link + * @param string $userInputText + * @return ExternalLinkManager + */ + public function setUserInputText($userInputText) + { + $this->userInputText = $userInputText; + return $this; + } + + /** * Find a provider that user input * * @access private |