Properties

$params

$params : array

Type

array — Parameters used by the view

$data

$data : array

Type

array — Data retrived from the model

$main_title

$main_title : string

Type

string — HTML page title

$content_title

$content_title : string

Type

string — The view's content title

$navbar_account

$navbar_account : string

Type

string — Top navbar account information

$navbar

$navbar : string

Type

string — Left side navbar

$content

$content : string

Type

string — The view's content

Methods

__construct()

__construct(array  $params, array  $data) 

Sets parameters for the view and gets the navbar account view

Parameters

array $params

Parameters used by the view

array $data

Data retrived from the model

getStreamsContentView()

getStreamsContentView(string  $streams_view) 

Gets the all live streams or streams by game view

Parameters

string $streams_view

The view file to get (allStreams or streamsByGame)

getStreamsView()

getStreamsView() 

Gets the all live streams view

getStreamsContent()

getStreamsContent() 

Gets the streams content only

getGamesView()

getGamesView() 

Gets the all games view

getGamesContent()

getGamesContent() 

Gets the games content only

getStreamsByGameView()

getStreamsByGameView() 

Gets the live streams by game view

getFollowingView()

getFollowingView() 

Gets the following live streams view

getSearchView()

getSearchView() 

Gets the search view

getLoginView()

getLoginView() 

Gets the login view

getSignupView()

getSignupView() 

Gets the sign up view

getSaveTokenView()

getSaveTokenView() 

Gets the save token view

getProfileView()

getProfileView() 

Gets the user profile view

getLinkedAccountsView()

getLinkedAccountsView() 

Gets the linked accounts view

getForgotPasswordView()

getForgotPasswordView() 

Gets the forgot password view

getResetPasswordView()

getResetPasswordView() 

Gets the reset password view

getAboutView()

getAboutView() 

Gets the about view

get404View()

get404View() 

Gets the 404 view

getGamesNavbarView()

getGamesNavbarView() 

Gets the game navbar view

getStreamsNavbarView()

getStreamsNavbarView() 

Gets the game navbar view

getTemplate()

getTemplate() 

Gets the template