28 lines
570 B
PHP
28 lines
570 B
PHP
<?php
|
|
/*
|
|
interface MediaInterface{
|
|
|
|
const TYPE_YOUTUBE = 1;
|
|
const TYPE_IMAGE = 2;
|
|
const TYPE_HTML5 = 3;
|
|
const TYPE_PDF = 4;
|
|
const TYPE_LOCALVIDEO = 5;
|
|
|
|
public static $MEDIA_TYPES = array(
|
|
self::TYPE_YOUTUBE=>array("label"=>"Youtube"),
|
|
self::TYPE_IMAGE=>array("label"=>"Image"),
|
|
self::TYPE_HTML5=>array("label"=>"Html5"),
|
|
self::TYPE_PDF=>array("label"=>"Pdf"),
|
|
self::TYPE_LOCALVIDEO=>array("label"=>"Local Video")
|
|
);
|
|
|
|
public function asText();
|
|
|
|
public function renderMedia();
|
|
|
|
public function getType();
|
|
|
|
public function getTitle();
|
|
|
|
}*/
|
|
?>
|