removed mods directory from the ATutor codebase
[atutor.git] / mods / atutor_opencaps / opencaps / conversion_service / include / classes / ccformats / cc_RealText_format.php
diff --git a/mods/atutor_opencaps/opencaps/conversion_service/include/classes/ccformats/cc_RealText_format.php b/mods/atutor_opencaps/opencaps/conversion_service/include/classes/ccformats/cc_RealText_format.php
deleted file mode 100755 (executable)
index b76add3..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-<?php\r
-/**\r
- * RealText Class\r
- */\r
-class RealText extends CaptionFormat\r
-{\r
-       private $textStyles = array();\r
-       \r
-       /**\r
-        * Imports a caption string into a CaptionCollection \r
-        *\r
-        * @param String $theCCString the caption file as string\r
-        * @return CaptionCollection $myCcCollection A CaptionCollection Object\r
-        */\r
-       public function importCC($theCCString)\r
-       {\r
-               \r
-       } // end importCC()\r
-       \r
-       /**\r
-        * Exports a CaptionCollection object into a string\r
-        *\r
-        * @param CaptionCollection $theCollection A CaptionCollection Object\r
-        * @return String $captionString The caption as a String\r
-        */\r
-       public function exportCC($theCollection)\r
-       {\r
-               \r
-               $ccExport = '';\r
-               \r
-               $myCollection = $theCollection->getCollection();\r
-               \r
-               foreach ($myCollection as $captionObj)\r
-               {\r
-                       \r
-               } // end foreach\r
-               \r
-       } // end  exportCC()\r
-       \r
-       /**\r
-        * Verify if the caption file is a srt caption file \r
-       */\r
-       public function checkFormat($theCCString)\r
-       {\r
-               \r
-       } // end checkFormat()\r
-\r
-       /*\r
-        * Here functions to re-define\r
-        */\r
-       public function getName()\r
-       {\r
-               return 'Real Time';\r
-       }\r
-       \r
-       public function getAbout()\r
-       {\r
-               return 'This Caption format can be played by Real Player.';\r
-       }\r
-       \r
-       public function getVersion()\r
-       {\r
-               return '???';\r
-       }\r
-               \r
-       public function getFileExtension()\r
-       {\r
-               return 'rt';\r
-       }\r
-       \r
-       public function getIdPattern()\r
-       {\r
-               $idPattern = '';\r
-               $idPattern .= '/'; // open regex\r
-               $idPattern .= '('; // start class pattern\r
-               $idPattern .= '\<Time begin="';\r
-               $idPattern .= '[0-9]{1}:[0-9]{2}:[0-9]{2}.[0-9]{1}"'; // 1 digit at the begining and 1 at the end\r
-               $idPattern .= '|'; // or\r
-               $idPattern .= '\<Time begin="';\r
-               $idPattern .= '[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{1}"'; // 2 digit at the begining and 1 at the end\r
-               $idPattern .= '|'; // or\r
-               $idPattern .= '\<Time begin="';\r
-               $idPattern .= '[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{2}"'; // 2 digit at the begining and 2 at the end\r
-               $idPattern .= ')'; // end class pattern\r
-               $idPattern .= '/'; // close regex\r
-               \r
-               return $idPattern;\r
-       }\r
-       \r
-       public function allowsTextStyles()\r
-       {\r
-               return '1';\r
-       }       \r
-       public function template()\r
-       {\r
-               $ccTemplate = '\r
-<window bgcolor="000000" wordwrap="true" duration="00:00:02.00">\r
-<font size="+1" face="Arial" color="#FFFFFF">\r
-<center>\r
-<time begin="00:00:00.00"/><clear/>\r
-First caption here.\r
-<time begin="00:00:01.00"/><clear/>\r
-Final caption here.\r
-<time begin="00:00:02.00"/><clear/>\r
-</center>\r
-</font>\r
-</window> \r
-\r
-.... or ..... \r
-\r
-<Time begin="01:99:99.01"/><clear/>\r
-First caption here.\r
-<Time begin="02:99:99.02"/><clear/>\r
-Final caption here.\r
-<Time begin="03:99:99.03"/><clear/>\r
-';\r
-               \r
-               return $ccTemplate;\r
-       }\r
-       \r
-} // end Class\r
-?>
\ No newline at end of file