LEPTON CMS 7.0.0
feel free to keep it strictly simple...
Loading...
Searching...
No Matches
LEPTON_frontend Class Reference

Inherits LEPTON_core.

Public Member Functions

 __construct ()
 
 page_select ()
 
 get_page_details ()
 
 get_website_settings ()
 
 preprocess (string &$content)
 
 maintainConstants ()
 
 getPageLanguage ()
 

Data Fields

LEPTON_database $database
 
string $default_link = "/"
 
int $default_page_id = 1
 
array $page = []
 
int $page_id = 0
 
array $page_trail = []
 
bool $page_access_denied = false
 
bool $page_no_active_sections = false
 

Static Public Attributes

static $instance
 

Detailed Description

This file is part of LEPTON Core, released under the GNU GPL Please see LICENSE and COPYING files in your package for details, specially for terms and warranties.

NOTICE:LEPTON CMS Package has several different licenses. Please see the individual license in the header of each single file or info.php of modules and templates.

Author
LEPTON Project

Definition at line 25 of file lepton_frontend.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Definition at line 45 of file lepton_frontend.php.

Member Function Documentation

◆ get_page_details()

get_page_details ( )

Definition at line 173 of file lepton_frontend.php.

◆ get_website_settings()

get_website_settings ( )

Definition at line 293 of file lepton_frontend.php.

◆ getPageLanguage()

getPageLanguage ( )

@DEPRECATED_TEMP: as long as this line 220? ( // $this->getPageLanguage();) is commented out -> this method is obsolete!!! This is necessary for different page languages

Returns
void

Definition at line 385 of file lepton_frontend.php.

◆ maintainConstants()

maintainConstants ( )

This is necessary if, for example, the views of search results.

Returns
void

Definition at line 363 of file lepton_frontend.php.

◆ page_select()

page_select ( )

Definition at line 90 of file lepton_frontend.php.

◆ preprocess()

preprocess ( string &  $content)

replace all "[LEPTONlink{page_id}]" with real links

Parameters
string&$content: reference to global $content
Returns
void

Definition at line 338 of file lepton_frontend.php.

Field Documentation

◆ $database

LEPTON_database $database

Definition at line 29 of file lepton_frontend.php.

◆ $default_link

string $default_link = "/"

Definition at line 33 of file lepton_frontend.php.

◆ $default_page_id

int $default_page_id = 1

Definition at line 34 of file lepton_frontend.php.

◆ $instance

$instance
static

Definition at line 30 of file lepton_frontend.php.

◆ $page

array $page = []

Definition at line 37 of file lepton_frontend.php.

◆ $page_access_denied

bool $page_access_denied = false

Definition at line 42 of file lepton_frontend.php.

◆ $page_id

int $page_id = 0

Definition at line 38 of file lepton_frontend.php.

◆ $page_no_active_sections

bool $page_no_active_sections = false

Definition at line 43 of file lepton_frontend.php.

◆ $page_trail

array $page_trail = []

Definition at line 40 of file lepton_frontend.php.


The documentation for this class was generated from the following file: