comparison views/Extractapp/TaggingText.php @ 81:f1f849d31272 extractapp

book_id as string
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Thu, 23 Apr 2015 14:58:27 +0200
parents e6e213b26454
children 0141df465205
comparison
equal deleted inserted replaced
80:c15f53afd7a5 81:f1f849d31272
1 <?php 1 <?php
2 /*
3 * TaggingText.php
4 * This file is part of Extraction-interface.
5 *
6 * Extraction-interface is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * Extraction-interface is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with Extraction-interface. If not, see <http://www.gnu.org/licenses/>.
18 */
19
2 /*! \file 20 /*! \file
3 * This is the view for TaggingText. 21 * This is the view for TaggingText.
4 * It shows the extraction-interface application itself. 22 * It shows the extraction-interface application itself.
5 * It contains the tagging area and toolbox on the right side. 23 * The input data for this view come from models/extractapp.php which is handled by controllers/extractapp.php.
6 * 24 * Input data for example, are (1)text string (containing tags if there are any),
25 * (2)taglist for the current topic, (3)book and section information, etc.
26 * The output data are passed to backend by controller to corresponding method in model/extractapp.php.
27 * Output data is the tagged text string.
28 *
29 * The user interface contains tagging area on the left side, and toolbox on the right side.
30 * There are popup windows to assist the tagging task, for example RegEx-editors, tag-window, remove-tag-window, etc.
31 *
7 */ 32 */
8 33
9 // --- initialize config file and input text --- 34 // --- initialize config file and input text ---
10 $stringInput = $viewmodel['stringInput']; 35 $stringInput = $viewmodel['stringInput'];
11 $wordlistArray = $viewmodel['wordlistArray']; 36 $wordlistArray = $viewmodel['wordlistArray'];