summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/ffs/JavaFFS.php')
-rw-r--r--MLEB/Translate/ffs/JavaFFS.php25
1 files changed, 24 insertions, 1 deletions
diff --git a/MLEB/Translate/ffs/JavaFFS.php b/MLEB/Translate/ffs/JavaFFS.php
index 66badcd7..227d27df 100644
--- a/MLEB/Translate/ffs/JavaFFS.php
+++ b/MLEB/Translate/ffs/JavaFFS.php
@@ -9,7 +9,7 @@
* \c keySeparator which defaults to '='.
* @ingroup FFS
*/
-class JavaFFS extends SimpleFFS {
+class JavaFFS extends SimpleFFS implements MetaYamlSchemaExtender {
public function supportsFuzzy() {
return 'write';
}
@@ -250,4 +250,27 @@ class JavaFFS extends SimpleFFS {
return $output;
}
+
+ public static function getExtraSchema() {
+ $schema = array(
+ 'root' => array(
+ '_type' => 'array',
+ '_children' => array(
+ 'FILES' => array(
+ '_type' => 'array',
+ '_children' => array(
+ 'header' => array(
+ '_type' => 'text',
+ ),
+ 'keySeparator' => array(
+ '_type' => 'text',
+ ),
+ )
+ )
+ )
+ )
+ );
+
+ return $schema;
+ }
}