Mercurial > hg > extraction-interface
comparison develop/controllers/extractapp.php @ 19:f60969462226
save tag modification of topic configration into topic_tag_relation table
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 23 Feb 2015 12:46:03 +0100 |
parents | 82f8c6bd2b69 |
children | c805470cefee |
comparison
equal
deleted
inserted
replaced
18:115dda3d1728 | 19:f60969462226 |
---|---|
126 | 126 |
127 protected function ConfigTagsInTopic() { | 127 protected function ConfigTagsInTopic() { |
128 //$viewmodel = new ExtractappModel(); | 128 //$viewmodel = new ExtractappModel(); |
129 $viewmodel = $this->viewmodel; | 129 $viewmodel = $this->viewmodel; |
130 switch ($this->postdata['func']) { | 130 switch ($this->postdata['func']) { |
131 case 'somefunc': | 131 case 'Update': |
132 | 132 $viewmodel->UpdateTagsInTopic($this->postdata); |
133 break; | 133 break; |
134 default: | 134 default: |
135 $this->ReturnView($viewmodel->ConfigTagsInTopic($this->postdata), true); | 135 $this->ReturnView($viewmodel->ConfigTagsInTopic($this->postdata), true); |
136 break; | 136 break; |
137 } | 137 } |
138 } | 138 } |
139 | 139 |
140 protected function TestAction() { | 140 protected function TestAction() { |
141 $viewmodel = new ExtractappModel(); | 141 $viewmodel = new ExtractappModel(); |