Преглед изворни кода

Fix to ensure all classes have the variable

Stephen Ficklin пре 4 година
родитељ
комит
3e26877079
1 измењених фајлова са 8 додато и 0 уклоњено
  1. 8 0
      tripal/includes/TripalImporter.inc

+ 8 - 0
tripal/includes/TripalImporter.inc

@@ -57,6 +57,7 @@ class TripalImporter {
    */
   public static $use_analysis = TRUE;
 
+
   /**
    * If the $use_analysis value is set above then this value indicates if the
    * analysis should be required.
@@ -69,6 +70,13 @@ class TripalImporter {
    */
   public static $button_text = 'Import File';
 
+  /**
+   * If the form submit button that is provided by the Importer is not
+   * needed (i.e. the child class wants to do something different). Then
+   * set this to FALSE.
+   */
+  public static $use_button = TRUE;
+
   /**
    * Indicates the methods that the file uploader will support.
    */