PHP Class Key

Show file Open project: chriskacerguis/codeigniter-restserver Class Usage Examples

Protected Properties

Property Type Description
$methods

Public Methods

Method Description
index_delete ( ) : void Remove a key from the database to stop it working
index_put ( ) : void Insert a key into the database
level_post ( ) : void Change the level
regenerate_post ( ) : void Regenerate a key
suspend_post ( ) : void Suspend a key

Private Methods

Method Description
_delete_key ( $key )
_generate_key ( ) * Helper Methods
_get_key ( $key ) * Private Data Methods
_insert_key ( $key, $data )
_key_exists ( $key )
_update_key ( $key, $data )

Method Details

index_delete() public method

Remove a key from the database to stop it working
public index_delete ( ) : void
return void

index_put() public method

Insert a key into the database
public index_put ( ) : void
return void

level_post() public method

Change the level
public level_post ( ) : void
return void

regenerate_post() public method

Regenerate a key
public regenerate_post ( ) : void
return void

suspend_post() public method

Suspend a key
public suspend_post ( ) : void
return void

Property Details

$methods protected property

protected $methods