XpressEngine Core
1.11.2
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
modules
seo
seo.admin.view.php
Go to the documentation of this file.
1
<?php
2
class
seoAdminView
extends
seo
3
{
4
function
init
()
5
{
6
$this->
setTemplatePath
($this->module_path .
'tpl'
);
7
$this->
setTemplateFile
(str_replace(
'dispSeo'
,
''
, $this->act));
8
}
9
10
function
dispSeoAdminDashboard
()
11
{
12
$oModuleModel
=
getModel
(
'module'
);
13
}
14
15
function
dispSeoAdminSetting
()
16
{
17
$vars =
Context::getRequestVars
();
18
if
(!$vars->setting_section)
Context::set
(
'setting_section'
,
'general'
);
19
20
$config = $this->
getConfig
();
21
22
$db_info =
Context::getDBInfo
();
23
$hostname = parse_url($db_info->default_url);
24
$hostname = $hostname[
'host'
];
25
26
Context::set
(
'config'
, $config);
27
Context::set
(
'hostname'
, $hostname);
28
29
$security =
new
Security
();
30
$security->encodeHTML(
'setting_section'
);
31
}
32
}
33
/* !End of file */
ModuleObject\setTemplateFile
setTemplateFile($filename)
Definition:
ModuleObject.class.php:252
$oModuleModel
$oModuleModel
Definition:
ko.install.php:236
seo\getConfig
getConfig()
Definition:
seo.class.php:19
seoAdminView\dispSeoAdminSetting
dispSeoAdminSetting()
Definition:
seo.admin.view.php:15
Context\set
set($key, $val, $set_to_get_vars=0)
Definition:
Context.class.php:1948
Context\getDBInfo
getDBInfo()
Definition:
Context.class.php:561
Security
Definition:
Security.class.php:11
getModel
getModel($module_name)
Definition:
func.inc.php:145
seo
Definition:
seo.class.php:2
seoAdminView\dispSeoAdminDashboard
dispSeoAdminDashboard()
Definition:
seo.admin.view.php:10
ModuleObject\setTemplatePath
setTemplatePath($path)
Definition:
ModuleObject.class.php:275
seoAdminView\init
init()
Definition:
seo.admin.view.php:4
seoAdminView
Definition:
seo.admin.view.php:2
Context\getRequestVars
getRequestVars()
Definition:
Context.class.php:2023
Generated on Tue Dec 18 2018 17:04:29 for XpressEngine Core by
1.8.5