XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
krzip.view.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
9 class krzipView extends krzip
10 {
11  function init()
12  {
13  $this->setTemplatePath($this->module_path . 'tpl');
14  }
15 
21  function dispKrzipSearchForm($api_handler)
22  {
23  $oKrzipModel = getModel('krzip');
24  $module_config = $oKrzipModel->getConfig();
25  $module_config->sequence_id = ++self::$sequence_id;
26  if(!isset($api_handler) || !isset(self::$api_list[$api_handler]))
27  {
28  $api_handler = $module_config->api_handler;
29  }
30 
31  Context::set('template_config', $module_config);
32  $this->setTemplateFile('searchForm.' . self::$api_list[$api_handler]);
33  $this->setLayoutPath('./common/tpl/');
34  $this->setLayoutFile('popup_layout');
35  }
36 }
37 
38 /* End of file krzip.view.php */
39 /* Location: ./modules/krzip/krzip.view.php */
setTemplateFile($filename)
Krzip module high class.
Definition: krzip.class.php:17
setLayoutFile($filename)
set($key, $val, $set_to_get_vars=0)
Krzip module view class.
Definition: krzip.view.php:9
dispKrzipSearchForm($api_handler)
우편번호 검색
Definition: krzip.view.php:21
getModel($module_name)
Definition: func.inc.php:145