Mercurial > hg > extraction-interface
comparison controllers/extractapp.php @ 87:fb5049fc5dd7 extractapp_dev
New:(1)UI(2)generate simple regex by examples(3)coordinates in book metadata
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 02 Jun 2015 16:52:05 +0200 |
parents | 0141df465205 |
children | e681d693240e |
comparison
equal
deleted
inserted
replaced
86:0141df465205 | 87:fb5049fc5dd7 |
---|---|
57 | 57 |
58 $viewmodel = $this->viewmodel; | 58 $viewmodel = $this->viewmodel; |
59 | 59 |
60 if (isset($this->postdata['func'])) { | 60 if (isset($this->postdata['func'])) { |
61 $func = $this->postdata['func']; | 61 $func = $this->postdata['func']; |
62 } else { | |
63 $func = ""; | |
62 } | 64 } |
63 switch ($func) { | 65 switch ($func) { |
64 case 'SaveFullText': | 66 case 'SaveFullText': |
65 $viewmodel->SaveFullText($this->postdata); | 67 $viewmodel->SaveFullText($this->postdata); |
66 $this->ReturnView($viewmodel->StartTagging(), true); | 68 $this->ReturnView($viewmodel->StartTagging(), true); |