Mercurial > hg > extraction-interface
comparison models/extractapp.php @ 82:23b6bd897777 extractapp
book_id as string
| author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
|---|---|
| date | Thu, 23 Apr 2015 15:02:14 +0200 |
| parents | f1f849d31272 |
| children | 7b05275b7a70 |
comparison
equal
deleted
inserted
replaced
| 81:f1f849d31272 | 82:23b6bd897777 |
|---|---|
| 162 if (isset($_postdata['bookName'])) { | 162 if (isset($_postdata['bookName'])) { |
| 163 $this->book_name = $_postdata['bookName']; | 163 $this->book_name = $_postdata['bookName']; |
| 164 } | 164 } |
| 165 if (isset($_postdata['bookId'])) { | 165 if (isset($_postdata['bookId'])) { |
| 166 $book_id = $_postdata['bookId']; | 166 $book_id = $_postdata['bookId']; |
| 167 if ($book_id < 10000) { | 167 if ($book_id > 10000) { |
| 168 // pass | |
| 169 } else if ($book_id >= 1000) { | |
| 168 $book_id = '0'.(string)$book_id; | 170 $book_id = '0'.(string)$book_id; |
| 169 } else if ($book_id < 1000) { | 171 } else { |
| 170 $book_id = '00'.(string)$book_id; | 172 $book_id = '00'.(string)$book_id; |
| 171 } | 173 } |
| 172 | 174 |
| 173 $this->book_id = (string)$book_id; | 175 $this->book_id = (string)$book_id; |
| 174 | 176 |
| 175 } | 177 } |
| 176 if (isset($_postdata['currentFileId'])) { | 178 if (isset($_postdata['currentFileId'])) { |
| 177 $this->current_fileId = $_postdata['currentFileId']; | 179 $this->current_fileId = $_postdata['currentFileId']; |
| 178 } | 180 } |
| 179 if (isset($_postdata['taglistArray'])) { | 181 if (isset($_postdata['taglistArray'])) { |
