Created Settings component and controller.

This commit is contained in:
Pierre 2018-04-16 16:41:26 +02:00
parent a8de1854a9
commit bb752d6fb1
2 changed files with 38 additions and 0 deletions

View 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
}
}

View File

@ -0,0 +1,15 @@
<?php
/**
* Settings component
*
* @author Pierre HUBERT
*/
class SettingsComponents {
}
//Register component
Components::register("settings", new SettingsComponents());