additional_plugins/serendipity_event_oembed/oembed/EmbedProvider.class.php
2011-12-14 03:10:36 +01:00

13 lines
319 B
PHP

<?php
abstract class EmbedProvider {
public $url;
public $endpoint;
public abstract function match($url);
public abstract function provide($url,$format="json");
// public abstract function register();
public function __construct($url,$endpoint){
$this->url = $url;
$this->endpoint = $endpoint;
}
}