dbms_primeidc_init...1
This commit is contained in:
parent
245f6c19d4
commit
2cb858d748
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
//Database 정보
|
||||||
define('DATABASE_DRIVER', $_ENV['DATABASE_DRIVER'] ?? $_SERVER['DATABASE_DRIVER'] ?? 'mysql');
|
define('DATABASE_DRIVER', $_ENV['DATABASE_DRIVER'] ?? $_SERVER['DATABASE_DRIVER'] ?? 'mysql');
|
||||||
define('DATABASE_HOST', $_ENV['DATABASE_HOST'] ?? $_SERVER['DATABASE_HOST'] ?? 'localhost');
|
define('DATABASE_HOST', $_ENV['DATABASE_HOST'] ?? $_SERVER['DATABASE_HOST'] ?? 'localhost');
|
||||||
define('DATABASE_DB', $_ENV['DATABASE_DB'] ?? $_SERVER['DATABASE_DB'] ?? 'test');
|
define('DATABASE_DB', $_ENV['DATABASE_DB'] ?? $_SERVER['DATABASE_DB'] ?? 'test');
|
||||||
@ -7,6 +7,10 @@ define('DATABASE_CHARSET', $_ENV['DATABASE_CHARSET'] ?? $_SERVER['DATABASE_CHARS
|
|||||||
define('DATABASE_ID', $_ENV['DATABASE_ID'] ?? $_SERVER['DATABASE_ID'] ?? 'test');
|
define('DATABASE_ID', $_ENV['DATABASE_ID'] ?? $_SERVER['DATABASE_ID'] ?? 'test');
|
||||||
define('DATABASE_PASSWORD', $_ENV['DATABASE_PASSWORD'] ?? $_SERVER['DATABASE_PASSWORD'] ?? 'test');
|
define('DATABASE_PASSWORD', $_ENV['DATABASE_PASSWORD'] ?? $_SERVER['DATABASE_PASSWORD'] ?? 'test');
|
||||||
define('DATABASE_QUERY_DEBUG', $_ENV['DATABASE_QUERY_DEBUG'] ?? $_SERVER['DATABASE_QUERY_DEBUG'] ?? false);
|
define('DATABASE_QUERY_DEBUG', $_ENV['DATABASE_QUERY_DEBUG'] ?? $_SERVER['DATABASE_QUERY_DEBUG'] ?? false);
|
||||||
|
|
||||||
|
//List관련
|
||||||
|
define('VIEW_LIST_PAGE', $_ENV['VIEW_LIST_PAGE'] ?? $_SERVER['VIEW_LIST_PAGE'] ?? 1);
|
||||||
|
define('VIEW_LIST_PERPAGE', $_ENV['VIEW_LIST_PERPAGE'] ?? $_SERVER['VIEW_LIST_PERPAGE'] ?? 20);
|
||||||
define('VIEW_LIST_PAGINATION_GROUPSIZE', $_ENV['VIEW_LIST_PAGINATION_GROUPSIZE'] ?? $_SERVER['VIEW_LIST_PAGINATION_GROUPSIZE'] ?? 10);
|
define('VIEW_LIST_PAGINATION_GROUPSIZE', $_ENV['VIEW_LIST_PAGINATION_GROUPSIZE'] ?? $_SERVER['VIEW_LIST_PAGINATION_GROUPSIZE'] ?? 10);
|
||||||
|
|
||||||
//DBMS Site정보
|
//DBMS Site정보
|
||||||
|
|||||||
@ -90,8 +90,8 @@ class PaymentController extends ClientController
|
|||||||
$this->getServiceService()->getModel()->setContinue(true);
|
$this->getServiceService()->getModel()->setContinue(true);
|
||||||
$this->total = $this->getServiceService()->getCount();
|
$this->total = $this->getServiceService()->getCount();
|
||||||
$this->entities = $this->getServiceService()->getEntities();
|
$this->entities = $this->getServiceService()->getEntities();
|
||||||
$this->page = $parmas['page'] ?? 1;
|
$this->page = $parmas['page'] ?? VIEW_LIST_PAGE;
|
||||||
$this->perPage = $parmas['perPage'] ?? 10;
|
$this->perPage = $parmas['perPage'] ?? VIEW_LIST_PERPAGE;
|
||||||
$this->pagination = new Pagination($this->total, (int)$this->page, (int)$this->perPage);
|
$this->pagination = new Pagination($this->total, (int)$this->page, (int)$this->perPage);
|
||||||
return $this->render(path: __FUNCTION__);
|
return $this->render(path: __FUNCTION__);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user