diff develop/controllers/extractapp.php @ 11:3d6fba07bfbd

implemented for topic tag. tagging with topic tag (main tag) indicating each row when export to html.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Wed, 11 Feb 2015 12:33:59 +0100
parents 54a235d43694
children e82ca7375e93
line wrap: on
line diff
--- a/develop/controllers/extractapp.php	Tue Feb 10 16:20:29 2015 +0100
+++ b/develop/controllers/extractapp.php	Wed Feb 11 12:33:59 2015 +0100
@@ -18,6 +18,7 @@
                 if ($this->postdata['topic']) {
                     $viewmodel->SetTopic($this->postdata['topic']);
                 }
+                // TODO: get the _post data from Jorge's service
                 $this->ReturnView($viewmodel->StartTagging($this->urlvalues), false); 
                 break;
         }
@@ -66,7 +67,17 @@
     }
 
  
-
+    protected function ConfigTagsInTopic() {
+        $viewmodel = new ExtractappModel();
+        switch ($this->postdata['func']) {
+            case '':
+                
+                break;
+            default:    
+                $this->ReturnView($viewmodel->ConfigTagsInTopic($this->urlvalues,$this->postdata), false);  
+            break;
+         } 
+    }
 
     protected function TestAction() {
         $viewmodel = new ExtractappModel();