XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
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 
11  {
12  $oModuleModel = getModel('module');
13  }
14 
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 */
setTemplateFile($filename)
$oModuleModel
Definition: ko.install.php:236
getConfig()
Definition: seo.class.php:19
set($key, $val, $set_to_get_vars=0)
getModel($module_name)
Definition: func.inc.php:145
Definition: seo.class.php:2