\ColorTagging
Class for coloring users by tag color
Synopsis
class ColorTagging
{
- // members
- protected array $allTags = ;
- protected array $allTagTypes = ;
- protected array $altCfg = ;
- // methods
- public void __construct()
- protected void LoadAllTags()
- protected void LoadAllTagTypes()
- protected void loadAlter()
- public string GetUsersColor()
Members
protected
- $allTagTypes
—
array
Contains all tag types - $allTags
—
array
Contains all tags - $altCfg
—
array
Contains alter.ini contents
Methods
protected
- LoadAllTagTypes() — $Select from DB all data from table `tagtypes` and place it to $this->allTagTypes in format $this->allTagTypes[$eachID] = $eachData;
- LoadAllTags() — Select from DB all data from table `tags` and place it to $this->allTags in format $this->allTags[$eachLogin] = $eachTagID;
- loadAlter() — Loads all alter.ini contents into $this->altCfg
public
- __construct()
- GetUsersColor() — Find's user's tag and it color if it exsists