changed git call from https to git readonly
[atutor.git] / mods / atutor_opencaps / opencaps / conversion_service / include / classes / core_CaptionFormat_class.php
1 <?php\r
2 abstract class CaptionFormat\r
3 {\r
4         \r
5         /**\r
6          * This is the importCC() abstract method. All caption formats MUST override this method.  \r
7          *\r
8          * @param String $theCCString A caption file as a string\r
9          */\r
10         abstract protected function importCC($theCCString);\r
11         \r
12         /**\r
13          * This is the exportCC() abstract method. All caption formats MUST override this method.\r
14          *\r
15          * @param unknown_type $theCollection\r
16          */\r
17         abstract protected function exportCC($theCollection);\r
18         //public function exportCC(&$theCollection)     { ; }\r
19         \r
20         /**\r
21          * This is the checkFormat() abstract method. All caption formats MUST override this method. and define\r
22          *\r
23          * @param unknown_type $theCCString\r
24          */\r
25         abstract protected function checkFormat($theCCString);\r
26         // new added must be redefine in subclass\r
27         \r
28         /*\r
29          * Here functions to re-define\r
30          */\r
31         public function getName()\r
32         {\r
33                 return '';\r
34         }\r
35         \r
36         public function getAbout()\r
37         {\r
38                 return '';\r
39         }\r
40         \r
41         public function getVersion()\r
42         {\r
43                 return '';\r
44         }\r
45                 \r
46         public function getFileExtension()\r
47         {\r
48                 return '';\r
49         }\r
50 \r
51         public function getIdPattern()\r
52         {\r
53                 return '';\r
54         }\r
55         \r
56         public function allowsTextStyles()\r
57         {\r
58                 return '';\r
59         }\r
60         \r
61         public function template()\r
62         {\r
63                 $ccTemplate = '';\r
64                 \r
65                 return $ccTemplate;\r
66         }\r
67 }\r
68 \r
69 ?>