+++ /dev/null
-<?php\r
-abstract class CaptionFormat\r
-{\r
- \r
- /**\r
- * This is the importCC() abstract method. All caption formats MUST override this method. \r
- *\r
- * @param String $theCCString A caption file as a string\r
- */\r
- abstract protected function importCC($theCCString);\r
- \r
- /**\r
- * This is the exportCC() abstract method. All caption formats MUST override this method.\r
- *\r
- * @param unknown_type $theCollection\r
- */\r
- abstract protected function exportCC($theCollection);\r
- //public function exportCC(&$theCollection) { ; }\r
- \r
- /**\r
- * This is the checkFormat() abstract method. All caption formats MUST override this method. and define\r
- *\r
- * @param unknown_type $theCCString\r
- */\r
- abstract protected function checkFormat($theCCString);\r
- // new added must be redefine in subclass\r
- \r
- /*\r
- * Here functions to re-define\r
- */\r
- public function getName()\r
- {\r
- return '';\r
- }\r
- \r
- public function getAbout()\r
- {\r
- return '';\r
- }\r
- \r
- public function getVersion()\r
- {\r
- return '';\r
- }\r
- \r
- public function getFileExtension()\r
- {\r
- return '';\r
- }\r
-\r
- public function getIdPattern()\r
- {\r
- return '';\r
- }\r
- \r
- public function allowsTextStyles()\r
- {\r
- return '';\r
- }\r
- \r
- public function template()\r
- {\r
- $ccTemplate = '';\r
- \r
- return $ccTemplate;\r
- }\r
-}\r
-\r
-?>
\ No newline at end of file