Documentation

Topic
in package

Represents operations for managing topics, subtopics, and datapoints within a hierarchical structure based on reference codes.

Table of Contents

Constants

DATAPOINT_REFERENCE_TYPE_CODE  = 'DPOx'
SUBTOPIC_REFERENCE_TYPE_CODE  = 'SUBT'
TOPIC_REFERENCE_TYPE_CODE  = 'TOPC'

Properties

$mySql  : MySql

Methods

__construct()  : mixed
getDatapoints()  : array<string|int, mixed>
getSubTopics()  : array<string|int, mixed>
getTopics()  : array<string|int, mixed>

Constants

DATAPOINT_REFERENCE_TYPE_CODE

private mixed DATAPOINT_REFERENCE_TYPE_CODE = 'DPOx'

SUBTOPIC_REFERENCE_TYPE_CODE

private mixed SUBTOPIC_REFERENCE_TYPE_CODE = 'SUBT'

TOPIC_REFERENCE_TYPE_CODE

private mixed TOPIC_REFERENCE_TYPE_CODE = 'TOPC'

Properties

Methods

__construct()

public __construct(MySql $mySql) : mixed
Parameters
$mySql : MySql

getDatapoints()

public getDatapoints(string $subTopicCode, string $companyCode) : array<string|int, mixed>
Parameters
$subTopicCode : string
$companyCode : string
Return values
array<string|int, mixed>

getSubTopics()

public getSubTopics(string $topicCode, string $companyCode) : array<string|int, mixed>
Parameters
$topicCode : string
$companyCode : string
Return values
array<string|int, mixed>

getTopics()

public getTopics(string $sectionCode, string $companyCode) : array<string|int, mixed>
Parameters
$sectionCode : string
$companyCode : string
Return values
array<string|int, mixed>

        
On this page

Search results