mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 15:22:15 +09:00
Add krzip module
This commit is contained in:
parent
1a8b5c8b29
commit
7bef97f170
26 changed files with 1611 additions and 0 deletions
39
modules/krzip/krzip.view.php
Normal file
39
modules/krzip/krzip.view.php
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
/* Copyright (C) NAVER <http://www.navercorp.com> */
|
||||
/**
|
||||
* @class krzipView
|
||||
* @author NAVER (developers@xpressengine.com)
|
||||
* @brief Krzip module view class.
|
||||
*/
|
||||
|
||||
class krzipView extends krzip
|
||||
{
|
||||
function init()
|
||||
{
|
||||
$this->setTemplatePath($this->module_path . 'tpl');
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 우편번호 검색
|
||||
* @param integer $api_handler
|
||||
* @return mixed
|
||||
*/
|
||||
function dispKrzipSearchForm($api_handler)
|
||||
{
|
||||
$oKrzipModel = getModel('krzip');
|
||||
$module_config = $oKrzipModel->getConfig();
|
||||
$module_config->sequence_id = ++self::$sequence_id;
|
||||
if(!isset($api_handler) || !isset(self::$api_list[$api_handler]))
|
||||
{
|
||||
$api_handler = $module_config->api_handler;
|
||||
}
|
||||
|
||||
Context::set('template_config', $module_config);
|
||||
$this->setTemplateFile('searchForm.' . self::$api_list[$api_handler]);
|
||||
$this->setLayoutPath('./common/tpl/');
|
||||
$this->setLayoutFile('popup_layout');
|
||||
}
|
||||
}
|
||||
|
||||
/* End of file krzip.view.php */
|
||||
/* Location: ./modules/krzip/krzip.view.php */
|
||||
Loading…
Add table
Add a link
Reference in a new issue