| 
									
										
										
										
											2013-08-07 21:14:36 +03:00
										 |  |  | <?php | 
					
						
							| 
									
										
										
										
											2013-08-08 00:22:21 +03:00
										 |  |  | /** | 
					
						
							|  |  |  |  * ownCloud - Office App | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * @author Victor Dubiniuk | 
					
						
							|  |  |  |  * @copyright 2013 Victor Dubiniuk victor.dubiniuk@gmail.com | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This file is licensed under the Affero General Public License version 3 or | 
					
						
							|  |  |  |  * later. | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2013-08-07 21:14:36 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | $this->create('office_genesis', 'ajax/genesis/{es_id}') | 
					
						
							|  |  |  | 	->post() | 
					
						
							| 
									
										
										
										
											2013-08-08 17:05:58 +03:00
										 |  |  | 	->action('\OCA\Office\Controller', 'serve') | 
					
						
							| 
									
										
										
										
											2013-08-07 21:14:36 +03:00
										 |  |  | ; | 
					
						
							|  |  |  | $this->create('office_genesis', 'ajax/genesis/{es_id}') | 
					
						
							|  |  |  | 	->get() | 
					
						
							| 
									
										
										
										
											2013-08-08 17:05:58 +03:00
										 |  |  | 	->action('\OCA\Office\Controller', 'serve') | 
					
						
							| 
									
										
										
										
											2013-08-07 21:14:36 +03:00
										 |  |  | ; | 
					
						
							| 
									
										
										
										
											2013-08-08 17:05:58 +03:00
										 |  |  | 
 | 
					
						
							|  |  |  | $this->create('office_session_start', 'ajax/session/start') | 
					
						
							|  |  |  | 	->get() | 
					
						
							|  |  |  | 	->action('\OCA\Office\Controller', 'startSession') | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | $this->create('office_session_start', 'ajax/session/start') | 
					
						
							|  |  |  | 	->post() | 
					
						
							|  |  |  | 	->action('\OCA\Office\Controller', 'startSession') | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-08-09 19:31:20 +03:00
										 |  |  | $this->create('office_session_list', 'ajax/session/list') | 
					
						
							|  |  |  | 	->get() | 
					
						
							|  |  |  | 	->action('\OCA\Office\Controller', 'listSessions') | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | $this->create('office_session_list', 'ajax/session/list') | 
					
						
							|  |  |  | 	->post() | 
					
						
							|  |  |  | 	->action('\OCA\Office\Controller', 'listSessions') | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-08-08 17:05:58 +03:00
										 |  |  | $this->create('office_session_join', 'ajax/session/join/{es_id}') | 
					
						
							|  |  |  | 	->get() | 
					
						
							|  |  |  | 	->action('\OCA\Office\Controller', 'joinSession') | 
					
						
							|  |  |  | ; | 
					
						
							|  |  |  | $this->create('office_session_join', 'ajax/session/join/{es_id}') | 
					
						
							|  |  |  | 	->post() | 
					
						
							|  |  |  | 	->action('\OCA\Office\Controller', 'joinSession') | 
					
						
							| 
									
										
										
										
											2013-08-08 19:10:51 +03:00
										 |  |  | ; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | $this->create('office_avatar', 'ajax/avatar') | 
					
						
							|  |  |  | 	->get() | 
					
						
							|  |  |  | 	->action('\OCA\Office\Controller', 'sendAvatar') | 
					
						
							| 
									
										
										
										
											2013-08-08 17:05:58 +03:00
										 |  |  | ; |