XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
krzip.class.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
9 if(!function_exists('lcfirst'))
10 {
11  function lcfirst($text)
12  {
13  return strtolower(substr($text, 0, 1)) . substr($text, 1);
14  }
15 }
16 
17 class krzip extends ModuleObject
18 {
19  public static $sequence_id = 0;
20 
21  public static $default_config = array('api_handler' => 0, 'postcode_format' => 5, 'show_box' => 'all');
22 
23  public static $api_list = array('daumapi', 'epostapi');
24 
25  public static $epostapi_host = 'http://biz.epost.go.kr/KpostPortal/openapi';
26 
27  function moduleInstall()
28  {
29  return $this->makeObject();
30  }
31 
32  function moduleUninstall()
33  {
34  return $this->makeObject();
35  }
36 
37  function checkUpdate()
38  {
39  return FALSE;
40  }
41 
42  function moduleUpdate()
43  {
44  return $this->makeObject();
45  }
46 
47  public function makeObject($code = 0, $message = 'success')
48  {
49  return class_exists('BaseObject') ? new BaseObject($code, $message) : new Object($code, $message);
50  }
51 }
52 
53 /* End of file krzip.class.php */
54 /* Location: ./modules/krzip/krzip.class.php */
Krzip module high class.
Definition: krzip.class.php:17
static $api_list
Definition: krzip.class.php:23
makeObject($code=0, $message= 'success')
Definition: krzip.class.php:47
static $epostapi_host
Definition: krzip.class.php:25
moduleInstall()
Definition: krzip.class.php:27
moduleUpdate()
Definition: krzip.class.php:42
moduleUninstall()
Definition: krzip.class.php:32
checkUpdate()
Definition: krzip.class.php:37
static $sequence_id
Definition: krzip.class.php:19
static $default_config
Definition: krzip.class.php:21