From ec3972361d95f6f5956df77f7a76105b5ae6af72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 25 Aug 2013 20:10:23 +0200 Subject: poche now uses Full Text RSS to fetch content --- inc/3rdparty/simplepie/SimplePie/Restriction.php | 102 +++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 inc/3rdparty/simplepie/SimplePie/Restriction.php (limited to 'inc/3rdparty/simplepie/SimplePie/Restriction.php') diff --git a/inc/3rdparty/simplepie/SimplePie/Restriction.php b/inc/3rdparty/simplepie/SimplePie/Restriction.php new file mode 100644 index 00000000..b0e7667a --- /dev/null +++ b/inc/3rdparty/simplepie/SimplePie/Restriction.php @@ -0,0 +1,102 @@ +relationship = $relationship; + $this->type = $type; + $this->value = $value; + } + + public function __toString() + { + // There is no $this->data here + return md5(serialize($this)); + } + + public function get_relationship() + { + if ($this->relationship !== null) + { + return $this->relationship; + } + else + { + return null; + } + } + + public function get_type() + { + if ($this->type !== null) + { + return $this->type; + } + else + { + return null; + } + } + + public function get_value() + { + if ($this->value !== null) + { + return $this->value; + } + else + { + return null; + } + } +} -- cgit v1.2.3