\DsbAccount

Account

Summary

Methods
Properties
Constants
__construct()
getData()
getTopics()
getTopic()
getTopicByMethod()
getTimetables()
getTiles()
getNews()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$username
$password
N/A

Properties

$username

$username : 

Type

$password

$password : 

Type

Methods

__construct()

__construct(string  $username, string  $password) 

Parameters

string $username

Username

string $password

Password

getData()

getData() : object|boolean

Gets the data linked with the account

Returns

object|boolean —

Returns data or false if an error occurred

getTopics()

getTopics() : array

Gets alls topics

Returns

array —

Returns array of topics

getTopic()

getTopic(integer  $index) : \DsbTopic

Gets a topic with a specified index

Parameters

integer $index

Index of the topic

Returns

\DsbTopic

Topic

getTopicByMethod()

getTopicByMethod(string  $method) : \DsbTopic

Gets a topic with a specified method

Parameters

string $method

Method of the topic

Returns

\DsbTopic

Topic

getTimetables()

getTimetables() : \DsbTopic

Gets the topic containing timetables

Returns

\DsbTopic

Topic

getTiles()

getTiles() : \DsbTopic

Gets the topic containing tiles

Returns

\DsbTopic

Topic

getNews()

getNews() : \DsbTopic

Gets the topic containing news

Returns

\DsbTopic

Topic