equal
deleted
inserted
replaced
132 return $this->renderDocTags($id_doc); |
132 return $this->renderDocTags($id_doc); |
133 } |
133 } |
134 |
134 |
135 /** |
135 /** |
136 * Modify the tag in the context of a tag list for one document |
136 * Modify the tag in the context of a tag list for one document |
137 * |
137 * |
138 */ |
138 */ |
139 public function modifyDocumentTagAction() |
139 public function modifyDocumentTagAction() |
140 { |
140 { |
141 $id_doc = $this->getRequest()->request->get('wikitag_document_id'); |
141 $id_doc = $this->getRequest()->request->get('wikitag_document_id'); |
142 $tag_label = $this->getRequest()->request->get('value'); |
142 $tag_label = $this->getRequest()->request->get('value'); |
188 |
188 |
189 } |
189 } |
190 |
190 |
191 /** |
191 /** |
192 * |
192 * |
193 * @Route("/wtrtd") |
|
194 * TODO : Enter description here ... |
193 * TODO : Enter description here ... |
195 * TODO : implement |
194 * TODO : implement |
196 */ |
195 */ |
197 public function reorderTagDocumentAction() |
196 public function reorderTagDocumentAction() |
198 { |
197 { |
199 $id_Doc = $this->getRequest()->request->get('wikitag_document_id'); |
198 $id_Doc = $this->getRequest()->request->get('wikitag_document_id'); |
|
199 $res = $this->getDoctrine()->getRepository('WikiTagBundle:Document')->search(null,'test', null); |
200 return $this->renderDocTags($id_doc); |
200 return $this->renderDocTags($id_doc); |
201 } |
201 } |
202 |
202 |
203 /** |
203 /** |
204 * |
204 * |
480 } |
480 } |
481 |
481 |
482 /** |
482 /** |
483 * |
483 * |
484 * Resemantize the tag with its original label. Kind of undo if we changed the tag's label. |
484 * Resemantize the tag with its original label. Kind of undo if we changed the tag's label. |
485 * |
485 * |
486 */ |
486 */ |
487 public function resetWpInfoAction() |
487 public function resetWpInfoAction() |
488 { |
488 { |
489 $id_moved_tag = $this->getRequest()->request->get('tag_id'); |
489 $id_moved_tag = $this->getRequest()->request->get('tag_id'); |
490 $moved_tag = $this->getDoctrine()->getRepository('WikiTagBundle:Tag')->findOneBy(array('id' => $id_moved_tag)); |
490 $moved_tag = $this->getDoctrine()->getRepository('WikiTagBundle:Tag')->findOneBy(array('id' => $id_moved_tag)); |