From 6ad93dff69d7c2beb2196e73f641e6484fccbeb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 20 Jan 2015 07:40:39 +0100 Subject: new folders --- inc/poche/Url.class.php | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 inc/poche/Url.class.php (limited to 'inc/poche/Url.class.php') diff --git a/inc/poche/Url.class.php b/inc/poche/Url.class.php deleted file mode 100644 index d9172b7d..00000000 --- a/inc/poche/Url.class.php +++ /dev/null @@ -1,31 +0,0 @@ - - * @copyright 2013 - * @license http://opensource.org/licenses/MIT see COPYING file - */ - -class Url -{ - public $url; - - function __construct($url) - { - $this->url = base64_decode($url); - } - - public function getUrl() { - return $this->url; - } - - public function setUrl($url) { - $this->url = $url; - } - - public function isCorrect() { - return filter_var($this->url, FILTER_VALIDATE_URL) !== FALSE; - } -} \ No newline at end of file -- cgit v1.2.3