dbxapp
4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
dbxapp.de
Portal
Start
Anwender
Entwickler
KI-Bereiche
Loading...
Searching...
No Matches
dbxHome.class.php
Go to the documentation of this file.
1
<?php
2
namespace
dbx\dbxHome
;
3
4
Class
dbxHome
{
5
6
7
8
public
function
run() {
9
$content
=
''
;
10
$page
= (string)
dbx
()->get_system_var(
'dbx_page'
,
'home'
);
11
12
if
(
$page
===
'intro'
) {
13
dbx
()->load_content_cache_classes();
14
\dbx\dbxContent\dbxContentRenderer::resetSeoMeta
();
15
dbx
()->set_system_var(
'dbx_title'
,
'Willkommen'
);
16
$oTPL =
dbx
()->get_system_obj(
'dbxTPL'
);
17
return
$oTPL->get_tpl(
'dbxHome'
,
'intro'
, array(
18
'continue_url'
=>
dbx
()->
get_base_url
() .
'?dbx_modul=dbxHome&dbx_page=home'
,
19
));
20
}
21
22
dbx
()->load_content_cache_classes();
23
$cid =
\dbx\dbxContent\dbxContentHome::resolveCid
();
24
25
if
($cid <= 0) {
26
\dbx\dbxContent\dbxContentRenderer::resetSeoMeta
();
27
}
28
29
dbx
()->set_system_var(
'dbx_title'
,
'dbxApp Home'
);
30
31
if
($cid > 0) {
32
if
(\
dbx
\dbxContent\dbxContentLng::isCmsPermalinkMode()) {
33
$root
=
dbx
()->get_config(
'dbxContent'
,
'root'
);
34
if
(
$root
===
'undef'
||
$root
===
''
) {
35
$root
= 0;
36
}
37
38
$content
=
'[modul=dbxContent]dbx_run1=cms&dbx_run2=show&root='
. (int)
$root
.
'&cid='
. $cid .
'[/modul]'
;
39
}
else
{
40
$content
=
'[modul=dbxContent]dbx_run1=show&cid='
. $cid .
'[/modul]'
;
41
}
42
}
43
44
//dbx()->debug("dbxHome #SESSION#",$_SESSION);
45
46
return
$content
;
47
}
48
}
49
50
?>
dbx\dbxContent\dbxContentHome\resolveCid
static resolveCid(string $lng='')
Startseiten-CID fuer die aktive (oder uebergebene) Sprache.
Definition
dbxContentHome.class.php:34
dbx\dbxContent\dbxContentRenderer\resetSeoMeta
static resetSeoMeta()
Definition
dbxContentRenderer.class.php:321
$root
$root
Definition
db_access_boundary_test.php:3
get_base_url
get_base_url()
Liefert die Basis-URL des aktuellen Requests.
Definition
dbxApi.php:1488
$content
$content
Definition
dbxForm_try_count_test.php:72
dbx\dbxHome
Definition
dbxHome.class.php:2
dbx
DBX schema administration.
$page
if($cinematic===''||!str_contains($cinematic, 'data-dbx-cinema')) $page
Definition
update_docs_home_cinematic_20260728.php:38
dbx
modules
dbxHome
dbxHome.class.php
Generated by
1.17.0