aboutsummaryrefslogtreecommitdiff
path: root/lib/Videolist/PlatformInterface.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-04-17 23:54:30 -0700
committerSem <sembrestels@riseup.net>2012-04-17 23:54:30 -0700
commita613b944015fd82f97a15392c0de0e7df104706d (patch)
tree5022ba0160427bec07cf9fdf337ef8161e4071b9 /lib/Videolist/PlatformInterface.php
parentf1a0a4d5aa28753620552df9d5e88bd983d0aca4 (diff)
parent4af120de2bd0fe2046795346a40102f00fbe5479 (diff)
downloadelgg-a613b944015fd82f97a15392c0de0e7df104706d.tar.gz
elgg-a613b944015fd82f97a15392c0de0e7df104706d.tar.bz2
Merge pull request #1 from mrclay/master
Partial rewrite
Diffstat (limited to 'lib/Videolist/PlatformInterface.php')
-rw-r--r--lib/Videolist/PlatformInterface.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/Videolist/PlatformInterface.php b/lib/Videolist/PlatformInterface.php
new file mode 100644
index 000000000..25ca019e9
--- /dev/null
+++ b/lib/Videolist/PlatformInterface.php
@@ -0,0 +1,23 @@
+<?php
+
+interface Videolist_PlatformInterface {
+ /**
+ * @abstract
+ * @return string
+ */
+ public function getType();
+
+ /**
+ * @abstract
+ * @param string $url
+ * @return array
+ */
+ public function parseUrl($url);
+
+ /**
+ * @abstract
+ * @param array $parsed
+ * @return array
+ */
+ public function getData($parsed);
+}