Mercurial > hg > extraction-interface
comparison controllers/extractapp.php @ 69:edb8a2e8ce84 extractapp
New: save book meta_data in file
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 07 Apr 2015 16:12:23 +0200 |
parents | 3ada9334ebfc |
children | 26d8c4c43d86 |
comparison
equal
deleted
inserted
replaced
68:6676ca451dcc | 69:edb8a2e8ce84 |
---|---|
64 $viewmodel->GetTextFromFileId(); | 64 $viewmodel->GetTextFromFileId(); |
65 | 65 |
66 } else if ($this->postdata['sectionId'] != 0 && $this->postdata['userId'] != 0) { | 66 } else if ($this->postdata['sectionId'] != 0 && $this->postdata['userId'] != 0) { |
67 // --- New branch case --- | 67 // --- New branch case --- |
68 $viewmodel->GetInfoFromPreviousPage($this->postdata); | 68 $viewmodel->GetInfoFromPreviousPage($this->postdata); |
69 $viewmodel->GetBookMetaDataBySectionId(); | 69 $viewmodel->SetBookMetaDataBySectionId(); |
70 // get text by sectionId from LGService | 70 // get text by sectionId from LGService |
71 $viewmodel->GetTextFromSectionId(); | 71 $viewmodel->GetTextFromSectionId(); |
72 | 72 |
73 } else if ($this->postdata['sectionId'] != 0) { | 73 } else if ($this->postdata['sectionId'] != 0) { |
74 $viewmodel->GetTextFromLocal($this->postdata['sectionId']); | 74 $viewmodel->GetTextFromLocal($this->postdata['sectionId']); |