PHP Class NamelessAPI, Nameless

Exibir arquivo Open project: NamelessMC/Nameless

Public Methods

Method Description
__construct ( $api_key = null, $directories, $api_language, $template ) Construct

Private Methods

Method Description
createReport ( ) Create a new report
getUser ( ) Does a user exist?
handleRequest ( $action = null ) Handle the API request
registerUser ( ) Register a user
sendRegistrationEmail ( $post ) Send a registration email to a user
sendSuccessMessage ( $message = null ) Display success message
setGroup ( ) Set a user's group
throwError ( $message = null ) Display error message
validateKey ( $api_key = null ) Validate API key

Method Details

__construct() public method

Construct
public __construct ( $api_key = null, $directories, $api_language, $template )