36 lines
777 B
PHP
36 lines
777 B
PHP
<?php
|
|
/**
|
|
* Created by Visual Studio.
|
|
* User: sriram
|
|
* Date: 6/12/18
|
|
|
|
*/
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
// This can be removed if you use __autoload() in config.php OR use Modular Extensions
|
|
/** @noinspection PhpIncludeInspection */
|
|
require_once APPPATH . '/libraries/REST_Controller.php';
|
|
|
|
|
|
class Reregister_Controller extends REST_Controller {
|
|
|
|
function __construct()
|
|
{
|
|
// Construct the parent class
|
|
parent::__construct();
|
|
|
|
// Configure limits on our controller methods
|
|
// Ensure you have created the 'limits' table and enabled 'limits' within application/config/rest.php
|
|
|
|
|
|
// load the model
|
|
$this->load->model('Reregister_model', 'Reregister_model');
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |