Overview

Packages

  • CodeIgniter
    • Libraries
  • None

Classes

  • Example
  • Key
  • REST_Controller
  • Overview
  • Package
  • Class
  • Tree
  • Todo

Class Key

CodeIgniter Rest Controller

A fully RESTful server implementation for CodeIgniter using one library, one config file and one controller.

CI_Controller
Extended by REST_Controller
Extended by Key
Package: CodeIgniter\Libraries
Category: Libraries
License: MIT
Author: Phil Sturgeon, Chris Kacerguis
Version: 3.0.0-pre
Link: https://github.com/chriskacerguis/codeigniter-restserver
Located at application/controllers/api/key.php
Methods summary
public
# index_put( )

Key Create

Key Create

Insert a key into the database.

public
# index_delete( )

Key Delete

Key Delete

Remove a key from the database to stop it working.

public
# level_post( )

Update Key

Update Key

Change the level

public
# suspend_post( )

Update Key

Update Key

Change the level

public
# regenerate_post( )

Regenerate Key

Regenerate Key

Remove a key from the database to stop it working.

Methods inherited from REST_Controller
__construct(), __destruct(), _auth_override_check(), _check_access(), _check_blacklist_auth(), _check_limit(), _check_login(), _check_php_session(), _check_whitelist_auth(), _detect_api_key(), _detect_input_format(), _detect_lang(), _detect_method(), _detect_output_format(), _detect_ssl(), _fire_method(), _force_login(), _force_loopable(), _log_access_time(), _log_request(), _parse_delete(), _parse_get(), _parse_head(), _parse_options(), _parse_patch(), _parse_post(), _parse_put(), _perform_ldap_auth(), _perform_library_auth(), _prepare_basic_auth(), _prepare_digest_auth(), _remap(), _xss_clean(), delete(), early_checks(), get(), head(), options(), patch(), post(), put(), response(), validation_errors()
Properties summary
protected array $methods

Defines the list of method properties such as limit, log and level

Defines the list of method properties such as limit, log and level

# array( 'index_put' => array('level' => 10, 'limit' => 10), 'index_delete' => array('level' => 10), 'level_post' => array('level' => 10), 'regenerate_post' => array('level' => 10), )
Properties inherited from REST_Controller
$_allow, $_apiuser, $_args, $_delete_args, $_end_rtime, $_get_args, $_head_args, $_insert_id, $_options_args, $_patch_args, $_post_args, $_put_args, $_start_rtime, $_supported_formats, $_user_ldap_dn, $_zlib_oc, $allowed_http_methods, $request, $response, $rest, $rest_format
API documentation generated by ApiGen