\FrostRay
FrostRay draft implementation
Synopsis
class FrostRay
{
- // constants
- const PROCESS_PID = 'FROSTRAY';
- const OPTION_ENABLED = 'FROSTRAY_ENABLED';
- const OPTION_TAGID = 'FROSTRAY_TAGID';
- const OPTION_LIMIT = 'FROSTRAY_LIMIT';
- // members
- protected boolean $enableFlag = false;
- protected integer $tagId = 0;
- protected integer $limit = 0;
- protected string $ip = '';
- protected string $userLogin = '';
- // methods
- public void __construct()
- protected void setIP()
- protected void loadConfig()
- protected void setUserLogin()
- public void frost()
- public void defrost()
Constants
| Name | Value |
|---|---|
| PROCESS_PID | 'FROSTRAY' |
| OPTION_ENABLED | 'FROSTRAY_ENABLED' |
| OPTION_TAGID | 'FROSTRAY_TAGID' |
| OPTION_LIMIT | 'FROSTRAY_LIMIT' |
Members
protected
- $enableFlag
- $ip
- $limit
- $tagId
- $userLogin