Definition at line 21 of file Json.php.
◆ __construct()
PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::__construct |
( |
array & | $data = [] | ) |
|
The Json constructor.
- Parameters
-
- Returns
- Json
Definition at line 59 of file Json.php.
◆ __toString()
PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::__toString |
( |
| ) |
|
Returns a string representation of this node.
- Returns
- string
Definition at line 421 of file Json.php.
◆ fetchObject()
PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::fetchObject |
( |
Node | $node, |
|
|
array | $siblings = [] ) |
◆ getClass()
PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::getClass |
( |
| ) |
|
|
protected |
Returns a string for the current corpus element which can be used as an HTML class property. If the current node is a channel spacer the class string will contain additional class names to allow further customization of the content via CSS.
- Returns
- string
Definition at line 174 of file Json.php.
◆ getId()
PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::getId |
( |
| ) |
|
|
protected |
Returns the ID of the current element.
- Returns
- false|string
Definition at line 102 of file Json.php.
◆ getImage()
PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::getImage |
( |
| ) |
|
|
protected |
Returns the status icon URL of the current element.
- Returns
- string
Definition at line 401 of file Json.php.
◆ getLevel()
PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::getLevel |
( |
| ) |
|
|
protected |
Returns the level of the current element.
- Returns
- integer
Definition at line 136 of file Json.php.
◆ getName()
PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::getName |
( |
| ) |
|
|
protected |
Returns a string for the current corpus element which contains the display name for the current TeamSpeak_Node_Abstract object.
- Returns
- string
Definition at line 263 of file Json.php.
◆ getParent()
PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::getParent |
( |
| ) |
|
|
protected |
Returns the parent ID of the current element.
- Returns
- string
Definition at line 120 of file Json.php.
◆ getProps()
PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::getProps |
( |
| ) |
|
|
protected |
Returns the parent ID of the current element.
- Returns
- stdClass
Definition at line 290 of file Json.php.
◆ getSpacerType()
PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::getSpacerType |
( |
| ) |
|
|
protected |
Returns an individual type for a spacer.
- Returns
- string
Definition at line 228 of file Json.php.
◆ getType()
PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::getType |
( |
| ) |
|
|
protected |
Returns a single type identifier for the current element.
- Returns
- string
Definition at line 152 of file Json.php.
◆ toString()
PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::toString |
( |
| ) |
|
Returns a string representation of this node.
- Returns
- string
Definition at line 411 of file Json.php.
◆ $currObj
Node PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::$currObj = null |
|
protected |
◆ $currSib
array PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::$currSib = null |
|
protected |
◆ $data
array PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::$data |
|
protected |
◆ $lastLvl
int PlanetTeamSpeak\TeamSpeak3Framework\Viewer\Json::$lastLvl = 0 |
|
protected |
The documentation for this class was generated from the following file: