Code Context
foreach ($facility_id_list as $key => $facility_id) {
$result['SsWork'][$key]['FacilityProfile'] = ['id'=> $facility_id, 'name'=> $facilities[$facility_id]];
$categoryId = '11'
$options = array(
'conditions' => array(
'SsFcltyProfile.id' => array(
(int) 0 => '5',
(int) 1 => '41',
(int) 2 => '86',
(int) 3 => '87',
(int) 4 => '73',
(int) 5 => '107'
)
),
'fields' => array(
(int) 0 => 'SsFcltyProfile.id',
(int) 1 => 'SsFcltyProfile.name'
)
)
$result = array(
'SsWorkCategory' => array(
'id' => '11',
'type' => '25',
'title' => '弁当',
'order_num' => '11',
'icon_url' => '/img/g_goods04.gif'
),
'SsWork' => array(
(int) 0 => array(
'id' => '28',
'ss_fclty_id' => '5',
'disable_offers' => '0',
'title' => '仕出し弁当',
'description' => '地元の素材を使った弁当を作っています。',
'created' => '2016-03-08 13:55:19',
'modified' => '2016-03-21 14:45:22',
'RelWorksCategory' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'id' => '39',
'ss_fclty_id' => '41',
'disable_offers' => '0',
'title' => 'デリバリー弁当',
'description' => '「日替わり弁当」や、季節ごとの「お楽しみランチボックス」をリリースしています。
また、「オードブル」や「松花堂弁当」「おせち料理」のご注文も賜っています。
またご予算に応じて各種「特別弁当」もご用意できます。
配達エリアは能登町・珠洲市となります。',
'created' => '2016-03-24 22:13:31',
'modified' => '2017-02-21 14:17:12',
'RelWorksCategory' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'id' => '132',
'ss_fclty_id' => '86',
'disable_offers' => '0',
'title' => 'いりがし、配食弁当、喫茶、委託作業',
'description' => '米、かきもち、大豆などが美味しいいり菓子に大変身!ご贈答用に詰め合わせのセットもあります。喫茶ウッディーの当店自慢のコーヒーは、市内の老舗珈琲店から仕入れた焙煎豆を使用して一杯一杯、心を込めてドリップしています。出張喫茶もしています。‘配食弁当’では、野菜を多く摂り入れながら和食中心の献立で作っています。一部の地域で配達も行っています。お客さまのご予算やご要望に合わせた特別注文の弁当も受け付けておりますのでどうぞお気軽にお問い合わせください。',
'created' => '2016-06-17 13:05:46',
'modified' => '2016-06-17 14:41:58',
'RelWorksCategory' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'id' => '153',
'ss_fclty_id' => '87',
'disable_offers' => '0',
'title' => '宅配弁当',
'description' => '500円~弁当を承っています。前日までにご注文ください。
',
'created' => '2016-07-18 15:35:41',
'modified' => '2022-06-04 14:41:09',
'RelWorksCategory' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'id' => '175',
'ss_fclty_id' => '73',
'disable_offers' => '0',
'title' => '日替わり弁当',
'description' => '弁当、オードブルなど承っています。詳細はチラシにて確認ください。',
'created' => '2018-10-20 14:40:59',
'modified' => '2020-08-05 16:45:52',
'RelWorksCategory' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'id' => '202',
'ss_fclty_id' => '107',
'disable_offers' => '0',
'title' => '弁当の製造、店内清掃',
'description' => 'マホガニーでは早朝より企業向けのお弁当の製造を行っています。',
'created' => '2023-12-13 15:23:27',
'modified' => '2024-06-11 12:23:58',
'RelWorksCategory' => array(
[maximum depth reached]
)
)
)
)
$facility_id_list = array(
(int) 0 => '5',
(int) 1 => '41',
(int) 2 => '86',
(int) 3 => '87',
(int) 4 => '73',
(int) 5 => '107'
)
$key = (int) 0
$ssWork = array(
'id' => '202',
'ss_fclty_id' => '107',
'disable_offers' => '0',
'title' => '弁当の製造、店内清掃',
'description' => 'マホガニーでは早朝より企業向けのお弁当の製造を行っています。',
'created' => '2023-12-13 15:23:27',
'modified' => '2024-06-11 12:23:58',
'RelWorksCategory' => array(
'id' => '783',
'ss_work_category_id' => '11',
'ss_work_id' => '202'
)
)
$facilityModel = object(SsFcltyProfile) {
displayField => 'name'
validationDomain => 'validation'
validate => array(
'type' => array(
[maximum depth reached]
),
'name' => array(
[maximum depth reached]
)
)
hasMany => array(
'FacilityAccounts' => array(
[maximum depth reached]
)
)
hasOne => array(
'SsImage' => array(
[maximum depth reached]
)
)
belongsTo => array(
'SsCity' => array(
[maximum depth reached]
)
)
useDbConfig => 'default'
useTable => 'ss_fclty_profiles'
id => false
data => array()
schemaName => 'iskw-selp-prev_wps1'
table => 'ss_fclty_profiles'
primaryKey => 'id'
validationErrors => array()
tablePrefix => ''
plugin => null
name => 'SsFcltyProfile'
alias => 'SsFcltyProfile'
tableToModel => array(
'ss_fclty_profiles' => 'SsFcltyProfile'
)
cacheQueries => false
hasAndBelongsToMany => array()
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => true
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => array(
'id' => array(
[maximum depth reached]
),
'stat' => array(
[maximum depth reached]
),
'type' => array(
[maximum depth reached]
),
'name' => array(
[maximum depth reached]
),
'name_kana' => array(
[maximum depth reached]
),
'organization' => array(
[maximum depth reached]
),
'established' => array(
[maximum depth reached]
),
'division' => array(
[maximum depth reached]
),
'zip' => array(
[maximum depth reached]
),
'ss_city_id' => array(
[maximum depth reached]
),
'address' => array(
[maximum depth reached]
),
'address2' => array(
[maximum depth reached]
),
'phone' => array(
[maximum depth reached]
),
'fax' => array(
[maximum depth reached]
),
'mail' => array(
[maximum depth reached]
),
'url' => array(
[maximum depth reached]
),
'deny_offers' => array(
[maximum depth reached]
),
'representative' => array(
[maximum depth reached]
),
'ss_image_id' => array(
[maximum depth reached]
),
'introduction' => array(
[maximum depth reached]
),
'feature' => array(
[maximum depth reached]
),
'facility_type' => array(
[maximum depth reached]
),
'type_a' => array(
[maximum depth reached]
),
'type_b' => array(
[maximum depth reached]
),
'type_care' => array(
[maximum depth reached]
),
'type_etc' => array(
[maximum depth reached]
),
'quota' => array(
[maximum depth reached]
),
'users' => array(
[maximum depth reached]
),
'ages' => array(
[maximum depth reached]
),
'equipment' => array(
[maximum depth reached]
),
'staff' => array(
[maximum depth reached]
),
'open_wday' => array(
[maximum depth reached]
),
'open_time' => array(
[maximum depth reached]
),
'works' => array(
[maximum depth reached]
),
'posted' => array(
[maximum depth reached]
),
'created' => array(
[maximum depth reached]
)
)
[protected] _associationKeys => array(
'belongsTo' => array(
[maximum depth reached]
),
'hasOne' => array(
[maximum depth reached]
),
'hasMany' => array(
[maximum depth reached]
),
'hasAndBelongsToMany' => array(
[maximum depth reached]
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
$facilities = array(
(int) 41 => 'Heat&Beer日本海倶楽部',
(int) 73 => 'はばたき',
(int) 86 => '就労支援センターつばさ',
(int) 87 => '自立就労支援センターいしびき あんど工房',
(int) 107 => 'マホガニー'
)
$facility_id = '5'
SsWorkCategory::pickupWorks() - APP/Model/Manage/SsWorkCategory.php, line 103
WorksController::category() - APP/Controller/Match/WorksController.php, line 40
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 115