Mercurial > hg > extraction-interface
comparison 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 |
comparison
equal
deleted
inserted
replaced
10:54a235d43694 | 11:3d6fba07bfbd |
---|---|
16 | 16 |
17 default: | 17 default: |
18 if ($this->postdata['topic']) { | 18 if ($this->postdata['topic']) { |
19 $viewmodel->SetTopic($this->postdata['topic']); | 19 $viewmodel->SetTopic($this->postdata['topic']); |
20 } | 20 } |
21 // TODO: get the _post data from Jorge's service | |
21 $this->ReturnView($viewmodel->StartTagging($this->urlvalues), false); | 22 $this->ReturnView($viewmodel->StartTagging($this->urlvalues), false); |
22 break; | 23 break; |
23 } | 24 } |
24 // $this->ReturnView($viewmodel->StartTagging($this->urlvalues), false); | 25 // $this->ReturnView($viewmodel->StartTagging($this->urlvalues), false); |
25 | 26 |
64 break; | 65 break; |
65 } | 66 } |
66 } | 67 } |
67 | 68 |
68 | 69 |
69 | 70 protected function ConfigTagsInTopic() { |
71 $viewmodel = new ExtractappModel(); | |
72 switch ($this->postdata['func']) { | |
73 case '': | |
74 | |
75 break; | |
76 default: | |
77 $this->ReturnView($viewmodel->ConfigTagsInTopic($this->urlvalues,$this->postdata), false); | |
78 break; | |
79 } | |
80 } | |
70 | 81 |
71 protected function TestAction() { | 82 protected function TestAction() { |
72 $viewmodel = new ExtractappModel(); | 83 $viewmodel = new ExtractappModel(); |
73 $this->ReturnView($viewmodel->Test(), true); | 84 $this->ReturnView($viewmodel->Test(), true); |
74 } | 85 } |