Lizmap Web Client Master

LandingContent
in package

Table of Contents

Constants

HTMLformCtrls  = array('TopHTMLContent' => 'landing_page_content', 'BottomHTMLContent' => 'landing_page_content_bottom', 'TopHTMLContentForAuth' => 'authed_landing_page_top_content', 'BottomHTMLContentForAuth' => 'authed_landing_page_bottom_content')
iniSection  = 'landing_page'

Properties

$iniFile  : mixed

Methods

__construct()  : mixed
getBottomContentForView()  : mixed
getTopContentForView()  : mixed
initForm()  : mixed
saveForm()  : bool
getContentForView()  : string
generic method to get the content for authentified or unauthentified users regarding the desired position stored using $positionConfig and using the html identified by $keyForAuth and $keyForUnAuthed.

Constants

HTMLformCtrls

public mixed HTMLformCtrls = array('TopHTMLContent' => 'landing_page_content', 'BottomHTMLContent' => 'landing_page_content_bottom', 'TopHTMLContentForAuth' => 'authed_landing_page_top_content', 'BottomHTMLContentForAuth' => 'authed_landing_page_bottom_content')

Properties

Methods

getBottomContentForView()

public getBottomContentForView() : mixed

initForm()

public initForm(mixed $form) : mixed
Parameters
$form : mixed

saveForm()

public saveForm(mixed $form) : bool
Parameters
$form : mixed
Return values
bool

getContentForView()

generic method to get the content for authentified or unauthentified users regarding the desired position stored using $positionConfig and using the html identified by $keyForAuth and $keyForUnAuthed.

private getContentForView(string $positionConfig, string $keyForAuth, string $keyForUnauthed) : string
Parameters
$positionConfig : string

the config param name

$keyForAuth : string

the inner key for the file storing HTML for authentified

$keyForUnauthed : string

the inner key for the file storing HTML for unauthentified

Return values
string

        
On this page

Search results