변경 파일 목록
총 1개
Component (1)
Goods.phpGoods/변경 파일 코드
추가삭제
변경 전Goods.php
| */ | |
| const RECENT_KEYWORD_MAX_COUNT = 10; | |
| protected $db; | |
| protected $arrBind = []; | |
| * | |
| * @return array 상품 정보 | |
| */ | |
| public function getGoodsSearchList($pageNum = 10, $displayOrder = 'g.regDt asc', $imageType = 'list', $optionFl = false, $soldOutFl = true, $brandFl = false, $couponPriceFl = false, $displayCnt = 10, $brandDisplayFl = false, $usePage = true, $limit = null,array $goodsNo = null) | |
| { | |
| gd_isset($this->goodsTable,DB_GOODS); | |
| $arrBind = null; | |
| $mallBySession = SESSION::get(SESSION_GLOBAL_MALL); | |
| $getValue = Request::get()->toArray(); | |
변경 후Goods.php
| */ | |
| const RECENT_KEYWORD_MAX_COUNT = 10; | |
| /** | |
| * 페이징 기본값 | |
| */ | |
| const PAGE_NUM_DEFAULT_SIZE = 10; | |
| protected $db; | |
| protected $arrBind = []; | |
| * | |
| * @return array 상품 정보 | |
| */ | |
| public function getGoodsSearchList($pageNum = self::PAGE_NUM_DEFAULT_SIZE, $displayOrder = 'g.regDt asc', $imageType = 'list', $optionFl = false, $soldOutFl = true, $brandFl = false, $couponPriceFl = false, $displayCnt = 10, $brandDisplayFl = false, $usePage = true, $limit = null,array $goodsNo = null) | |
| { | |
| gd_isset($this->goodsTable,DB_GOODS); | |
| $arrBind = null; | |
| $mallBySession = SESSION::get(SESSION_GLOBAL_MALL); | |
| if (is_null($pageNum)) { | |
| $pageNum = self::PAGE_NUM_DEFAULT_SIZE; | |
| } | |
| $pageNum = filter_var($pageNum, FILTER_VALIDATE_INT, ['options' => ['min_range' => 0]]); | |
| if ($pageNum === false) { | |
| throw new \InvalidArgumentException("pageNum이 정상적인 값이 아닙니다."); | |
| } | |
| $getValue = Request::get()->toArray(); | |