2016-07-08 22:23:03 +03:00
|
|
|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------------------------
|
|
|
|
* Easy!Appointments - Open Source Web Scheduler
|
|
|
|
*
|
|
|
|
* @package EasyAppointments
|
|
|
|
* @author A.Tselegidis <alextselegidis@gmail.com>
|
|
|
|
* @copyright Copyright (c) 2013 - 2016, Alex Tselegidis
|
|
|
|
* @license http://opensource.org/licenses/GPL-3.0 - GPLv3
|
|
|
|
* @link http://easyappointments.org
|
|
|
|
* @since v1.2.0
|
|
|
|
* ---------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
require_once __DIR__ . '/API_V1_Controller.php';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Services Controller
|
|
|
|
*
|
|
|
|
* @package Controllers
|
|
|
|
* @subpackage API
|
|
|
|
*/
|
|
|
|
class Services extends API_V1_Controller {
|
|
|
|
/**
|
|
|
|
* Class Constructor
|
|
|
|
*/
|
|
|
|
public function __construct() {
|
|
|
|
parent::__construct();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* GET API Method
|
|
|
|
*
|
|
|
|
* @param int $id Optional (null), the record ID to be returned.
|
|
|
|
*
|
2016-07-08 22:26:52 +03:00
|
|
|
* @return \EA\Engine\Api\V1\Response Returns data response.
|
2016-07-08 22:23:03 +03:00
|
|
|
*/
|
|
|
|
public function get($id = null) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* POST API Method
|
|
|
|
*
|
2016-07-08 22:26:52 +03:00
|
|
|
* @return @return \EA\Engine\Api\V1\Response Returns data response.
|
2016-07-08 22:23:03 +03:00
|
|
|
*/
|
|
|
|
public function post() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* PUT API Method
|
|
|
|
*
|
|
|
|
* @param int $id The record ID to be updated.
|
|
|
|
*
|
2016-07-08 22:26:52 +03:00
|
|
|
* @return @return \EA\Engine\Api\V1\Response Returns data response.
|
2016-07-08 22:23:03 +03:00
|
|
|
*/
|
|
|
|
public function put($id) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* DELETE API Method
|
|
|
|
*
|
|
|
|
* @param int $id The record ID to be deleted.
|
|
|
|
*
|
2016-07-08 22:26:52 +03:00
|
|
|
* @return @return \EA\Engine\Api\V1\Response Returns data response.
|
2016-07-08 22:23:03 +03:00
|
|
|
*/
|
|
|
|
public function delete($id) {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* End of file Services.php */
|
|
|
|
/* Location: ./application/controllers/api/v1/Services.php */
|