easyappointments/src/application/controllers/api/v1/Appointments.php

33 lines
923 B
PHP
Raw Normal View History

<?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
* ---------------------------------------------------------------------------- */
/**
* Appointments Controller
*
* @package Controllers
* @subpackage API
*/
class Appointments extends CI_Controller {
public function get($id = null) {
echo 'hello ' . $id;
}
public function post() {
echo 'post';
}
}
/* End of file appointments.php */
/* Location: ./application/controllers/appointments.php */