mirror of
				https://github.com/pierre42100/ComunicAPI
				synced 2025-11-04 12:14:12 +00:00 
			
		
		
		
	Created Settings component and controller.
This commit is contained in:
		
							
								
								
									
										23
									
								
								RestControllers/SettingsController.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								RestControllers/SettingsController.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
<?php
 | 
			
		||||
/**
 | 
			
		||||
 * API Settings controller
 | 
			
		||||
 * 
 | 
			
		||||
 * @author Pierre HUBERT
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
class SettingsController {
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * Get general account settings
 | 
			
		||||
	 * 
 | 
			
		||||
	 * @url POST /settings/get_general
 | 
			
		||||
	 */
 | 
			
		||||
	public function getGeneral(){
 | 
			
		||||
 | 
			
		||||
		user_login_required(); //Login needed
 | 
			
		||||
 | 
			
		||||
		
 | 
			
		||||
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user