XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
krzipModel Class Reference

Krzip module model class. More...

Inheritance diagram for krzipModel:
krzip ModuleObject BaseObject

Public Member Functions

 getConfig ()
 한국 우편번호 모듈 설정 반환 More...
 
 getMigratedPostcode ($values)
 여러 포맷의 우편번호를 모듈 표준 포맷으로 변환 More...
 
 getKrzipCodeList ($query)
 외부 서버로부터 주소 검색 결과 반환 More...
 
 getEpostapiSearch ($query= '')
 우체국 우편번호 API 검색 결과 반환 More...
 
 getKrzipCodeSearchHtml ($column_name, $values)
 HTML 입력 폼 반환 More...
 
- Public Member Functions inherited from krzip
 moduleInstall ()
 
 moduleUninstall ()
 
 checkUpdate ()
 
 moduleUpdate ()
 
 makeObject ($code=0, $message= 'success')
 
- Public Member Functions inherited from ModuleObject
 setModule ($module)
 
 setModulePath ($path)
 
 setRedirectUrl ($url= './', $output=NULL)
 
 getRedirectUrl ()
 
 setMessage ($message= 'success', $type=NULL)
 
 setMessageType ($type)
 
 getMessageType ()
 
 setRefreshPage ()
 
 setAct ($act)
 
 setModuleInfo ($module_info, $xml_info)
 
 stop ($msg_code)
 
 setTemplateFile ($filename)
 
 getTemplateFile ()
 
 setTemplatePath ($path)
 
 getTemplatePath ()
 
 setEditedLayoutFile ($filename)
 
 getEditedLayoutFile ()
 
 setLayoutFile ($filename)
 
 getLayoutFile ()
 
 setLayoutPath ($path)
 
 getLayoutPath ($layout_name="", $layout_type="P")
 
 proc ()
 
- Public Member Functions inherited from BaseObject
 __construct ($error=0, $message= 'success')
 
 setError ($error=0)
 
 getError ()
 
 setHttpStatusCode ($code= '200')
 
 getHttpStatusCode ()
 
 setMessage ($message= 'success', $type=NULL)
 
 getMessage ()
 
 add ($key, $val)
 
 adds ($object)
 
 get ($key)
 
 gets ()
 
 getVariables ()
 
 getObjectVars ()
 
 toBool ()
 
 toBoolean ()
 

Additional Inherited Members

- Public Attributes inherited from ModuleObject
 $mid = NULL
 string to represent run-time instance of Module (XE Module) More...
 
 $module = NULL
 Class name of Xe Module that is identified by mid. More...
 
 $module_srl = NULL
 integer value to represent a run-time instance of Module (XE Module) More...
 
 $module_info = NULL
 an object containing the module information More...
 
 $origin_module_info = NULL
 
 $xml_info = NULL
 an object containing the module description extracted from XML file More...
 
 $module_path = NULL
 a path to directory where module source code resides More...
 
 $act = NULL
 a string value to contain the action name More...
 
 $template_path = NULL
 a path of directory where template files reside More...
 
 $template_file = NULL
 name of template file More...
 
 $layout_path = ''
 a path of directory where layout files reside More...
 
 $layout_file = ''
 name of layout file More...
 
 $edited_layout_file = ''
 name of temporary layout files that is modified in an admin mode More...
 
 $stop_proc = FALSE
 a flag to indicating whether to stop the execution of code. More...
 
 $module_config = NULL
 
 $ajaxRequestMethod = array('XMLRPC', 'JSON')
 
 $gzhandler_enable = TRUE
 
- Public Attributes inherited from BaseObject
 $error = 0
 
 $message = 'success'
 
 $variables = array()
 
 $httpStatusCode = NULL
 
- Static Public Attributes inherited from krzip
static $sequence_id = 0
 
static $default_config = array('api_handler' => 0, 'postcode_format' => 5, 'show_box' => 'all')
 
static $api_list = array('daumapi', 'epostapi')
 
static $epostapi_host = 'http://biz.epost.go.kr/KpostPortal/openapi'
 

Detailed Description

Krzip module model class.

Author
NAVER (devel.nosp@m.oper.nosp@m.s@xpr.nosp@m.esse.nosp@m.ngine.nosp@m..com)

Definition at line 9 of file krzip.model.php.

Member Function Documentation

krzipModel::getConfig ( )

한국 우편번호 모듈 설정 반환

Returns
object

Definition at line 15 of file krzip.model.php.

krzipModel::getEpostapiSearch (   $query = '')

우체국 우편번호 API 검색 결과 반환

Parameters
string$query
Returns
object

문자열 인코딩 변환

Note
우체국 우편번호 API는 검색어를 EUC-KR로 넘겨주어야 함

Definition at line 132 of file krzip.model.php.

krzipModel::getKrzipCodeList (   $query)

외부 서버로부터 주소 검색 결과 반환

Parameters
string$query
Returns
mixed

Definition at line 100 of file krzip.model.php.

krzipModel::getKrzipCodeSearchHtml (   $column_name,
  $values 
)

HTML 입력 폼 반환

Parameters
string$column_name
mixed$values
Returns
string

Definition at line 254 of file krzip.model.php.

krzipModel::getMigratedPostcode (   $values)

여러 포맷의 우편번호를 모듈 표준 포맷으로 변환

Parameters
mixed$values
Returns
array

Definition at line 47 of file krzip.model.php.


The documentation for this class was generated from the following file: