diff options
Diffstat (limited to 'plugins/Irc/extlib/phergie/Phergie/Plugin/Url/Shorten/Abstract.php')
-rw-r--r-- | plugins/Irc/extlib/phergie/Phergie/Plugin/Url/Shorten/Abstract.php | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/Irc/extlib/phergie/Phergie/Plugin/Url/Shorten/Abstract.php b/plugins/Irc/extlib/phergie/Phergie/Plugin/Url/Shorten/Abstract.php new file mode 100644 index 000000000..bf5dff0d3 --- /dev/null +++ b/plugins/Irc/extlib/phergie/Phergie/Plugin/Url/Shorten/Abstract.php @@ -0,0 +1,41 @@ +<?php +/** + * Phergie + * + * PHP version 5 + * + * LICENSE + * + * This source file is subject to the new BSD license that is bundled + * with this package in the file LICENSE. + * It is also available through the world-wide-web at this URL: + * http://phergie.org/license + * + * @category Phergie + * @package Phergie_Plugin_Php + * @author Phergie Development Team <team@phergie.org> + * @copyright 2008-2010 Phergie Development Team (http://phergie.org) + * @license http://phergie.org/license New BSD License + * @link http://pear.phergie.org/package/Phergie_Plugin_Php + */ + +/** + * URL shortener abstract class + * + * @category Phergie + * @package Phergie_Plugin_Url + * @author Phergie Development Team <team@phergie.org> + * @license http://phergie.org/license New BSD License + * @link http://pear.phergie.org/package/Phergie_Plugin_Url + */ +abstract class Phergie_Plugin_Url_Shorten_Abstract +{ + /** + * Takes a long url and returns a shortened link + * + * @param string $url the url to shorten + * + * @return string string the shortened url + */ + public abstract function shorten($url); +} |