XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
importer.admin.view.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
12 {
18  function init()
19  {
20  }
21 
27  {
28  $this->setTemplatePath($this->module_path.'tpl');
29 
30  $source_type = Context::get('source_type');
31  switch($source_type)
32  {
33  case 'member' :
34  $template_filename = "member";
35  break;
36  case 'ttxml' :
37  $oModuleModel = getModel('module');
38  //$mid_list = $oModuleModel->getMidList(); //perhaps mid_list variables not use
39  //Context::set('mid_list', $mid_list);
40 
41  $template_filename = "ttxml";
42  break;
43  case 'module' :
44  $oModuleModel = getModel('module');
45  //$mid_list = $oModuleModel->getMidList(); //perhaps mid_list variables not use
46  //Context::set('mid_list', $mid_list);
47 
48  $template_filename = "module";
49  break;
50  case 'message' :
51  $template_filename = "message";
52  break;
53  case 'sync' :
54  $template_filename = "sync";
55  break;
56  default :
57  $template_filename = "index";
58  break;
59  }
60 
61  $this->setTemplateFile($template_filename);
62  }
63 
69  {
70  $oDocumentModel = getModel('document'); //for document lang use in this page
71 
72  $this->setTemplatePath($this->module_path.'tpl');
73  $this->setTemplateFile('index');
74  }
75 
76 }
77 /* End of file importer.admin.view.php */
78 /* Location: ./modules/importer/importer.admin.view.php */
setTemplateFile($filename)
$oModuleModel
Definition: ko.install.php:236
$oDocumentModel
Definition: ko.install.php:259
getModel($module_name)
Definition: func.inc.php:145