Kaynağa Gözat

Added two new fields to the Mview interface: status and comments. The status field gets updated to indicate if an error occured when populating or tells the number of records in the table after populating. The comments field is used to allow the user to provide a description of the view

stephen 13 yıl önce
ebeveyn
işleme
2877c624ea
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      base/tripal_core/mviews.php

+ 1 - 1
base/tripal_core/mviews.php

@@ -30,7 +30,7 @@
  *
  * @ingroup tripal_mviews_api
  */
-function tripal_add_mview ($name,$modulename,$mv_table,$mv_specs,$indexed,$query,$special_index,$comment){
+function tripal_add_mview ($name,$modulename,$mv_table,$mv_specs,$indexed,$query,$special_index,$comment=NULL){
 
    $record = new stdClass();
    $record->name = $name;