Code Context ? ROOM_LAYOUT_TEXT[$max]
: ROOM_LAYOUT_TEXT[$min] .'~'. ROOM_LAYOUT_TEXT[$max]
;
$value = object(App\Model\Entity\Catalog) {
'id' => (int) 2523,
'flag' => (int) 2,
'status' => (int) 1,
'article_id' => (int) 168,
'room_type' => 'G',
'rent' => (int) 79000,
'common' => (int) 8200,
'insurance' => null,
'security_deposit' => null,
'reward' => null,
'other_cost' => '',
'empty' => (int) 0,
'number_rooms' => (int) 22,
'layout' => (int) 20,
'layout_option' => (int) 0,
'area' => (float) 33.75,
'direction' => '6',
'remarks' => 'ペット飼育時:敷金+1ヶ月(小型犬1匹)/敷金+2ヵ月増(猫1匹)',
'display_order' => (int) 19,
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'rooms' => [],
'catalog_images' => [
(int) 0 => object(App\Model\Entity\Img) {},
(int) 1 => object(App\Model\Entity\Img) {},
(int) 2 => object(App\Model\Entity\Img) {},
(int) 3 => object(App\Model\Entity\Img) {},
(int) 4 => object(App\Model\Entity\Img) {},
(int) 5 => object(App\Model\Entity\Img) {},
(int) 6 => object(App\Model\Entity\Img) {},
(int) 7 => object(App\Model\Entity\Img) {},
(int) 8 => object(App\Model\Entity\Img) {}
],
'[new]' => false,
'[accessible]' => [
'*' => true,
'id' => false
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Catalogs'
}
$array = [
(int) 0 => '120',
(int) 1 => '120',
(int) 2 => '130',
(int) 3 => '130',
(int) 4 => '130',
(int) 5 => '110',
(int) 6 => '2220'
]
$max = '2220'
$min = '110'App\Model\Entity\Article::getCatalogLayoutInText() - APP/Model/Entity/Article.php, line 583
include - APP/Template/Element/searches/item.article.ctp, line 85
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435
Cake\View\View::_render() - CORE/src/View/View.php, line 1393
Cake\View\View::_renderElement() - CORE/src/View/View.php, line 1879
Cake\View\View::element() - CORE/src/View/View.php, line 783
include - APP/Template/Searches/index.ctp, line 137
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435
Cake\View\View::_render() - CORE/src/View/View.php, line 1393
Cake\View\View::render() - CORE/src/View/View.php, line 892
App\View\AppView::render() - APP/View/AppView.php, line 81
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791
App\Controller\SearchesController::index() - APP/Controller/SearchesController.php, line 179
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 606
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94