Code Context
foreach ($facility_id_list as $key => $facility_id) {
$result['SsWork'][$key]['FacilityProfile'] = ['id'=> $facility_id, 'name'=> $facilities[$facility_id]];
$categoryId = '7'
$options = array(
'conditions' => array(
'SsFcltyProfile.id' => array(
(int) 0 => '32',
(int) 1 => '50',
(int) 2 => '76',
(int) 3 => '40',
(int) 4 => '73',
(int) 5 => '105'
)
),
'fields' => array(
(int) 0 => 'SsFcltyProfile.id',
(int) 1 => 'SsFcltyProfile.name'
)
)
$result = array(
'SsWorkCategory' => array(
'id' => '7',
'type' => '20',
'title' => 'リサイクル',
'order_num' => '7',
'icon_url' => '/img/g_work04.gif'
),
'SsWork' => array(
(int) 0 => array(
'id' => '42',
'ss_fclty_id' => '32',
'disable_offers' => '0',
'title' => 'アルミ缶リサイクル',
'description' => 'アルミ缶を中心にアルミサッシなど不要になったアルミ製品をご寄付して頂きリサイクルを行っています。近郊の企業様や町内会様、公民館様など回収も行っております。もちろん持ち込みも大歓迎です。(スチール缶やペットボトルの回収もしています)
集まった月約1.5トンのアルミ缶は仕分け・プレス加工し、リサイクル業者に引き取っていただいています。一つ一つ手で仕分けていますのでとてもきれいと業者様には評価を受けています。',
'created' => '2016-03-28 14:02:14',
'modified' => '2024-10-10 09:17:31',
'RelWorksCategory' => array(
[maximum depth reached]
),
'FacilityProfile' => array(
[maximum depth reached]
)
),
(int) 1 => array(
'id' => '68',
'ss_fclty_id' => '50',
'disable_offers' => '0',
'title' => 'リサイクル業務',
'description' => '古紙(新聞・雑誌類・段ボール)・古着・缶・ペットボトルなどの回収業務をしています。月曜日から土曜日(8/13~8/16および年末年始は除く)の8:30~16:30まで随時持ち込み可能です。',
'created' => '2016-03-30 09:52:55',
'modified' => '2016-03-30 11:50:39',
'RelWorksCategory' => array(
[maximum depth reached]
)
),
(int) 2 => array(
'id' => '72',
'ss_fclty_id' => '76',
'disable_offers' => '0',
'title' => 'アルミ缶回収・プレス',
'description' => 'アルミ缶回収・プレスをしています。',
'created' => '2016-03-30 12:56:53',
'modified' => '2016-03-31 13:00:59',
'RelWorksCategory' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'id' => '135',
'ss_fclty_id' => '40',
'disable_offers' => '0',
'title' => 'アルミ缶リサイクル',
'description' => '職場やご自宅にアルミ缶はありませんか? 喜んで回収に伺います。',
'created' => '2016-06-20 17:26:29',
'modified' => '2016-06-20 17:26:29',
'RelWorksCategory' => array(
[maximum depth reached]
)
),
(int) 4 => array(
'id' => '170',
'ss_fclty_id' => '73',
'disable_offers' => '0',
'title' => 'ウエス加工',
'description' => '古着を集めています!ご協力いただける企業・学校・法人の方、詳細はチラシをご覧ください!',
'created' => '2017-11-06 13:51:05',
'modified' => '2018-10-20 14:45:18',
'RelWorksCategory' => array(
[maximum depth reached]
)
),
(int) 5 => array(
'id' => '199',
'ss_fclty_id' => '105',
'disable_offers' => '0',
'title' => '内職',
'description' => '事業所室内で出来る仕事を探しています',
'created' => '2023-08-24 11:31:21',
'modified' => '2023-08-24 11:31:21',
'RelWorksCategory' => array(
[maximum depth reached]
)
)
)
)
$facility_id_list = array(
(int) 0 => '32',
(int) 1 => '50',
(int) 2 => '76',
(int) 3 => '40',
(int) 4 => '73',
(int) 5 => '105'
)
$key = (int) 1
$ssWork = array(
'id' => '199',
'ss_fclty_id' => '105',
'disable_offers' => '0',
'title' => '内職',
'description' => '事業所室内で出来る仕事を探しています',
'created' => '2023-08-24 11:31:21',
'modified' => '2023-08-24 11:31:21',
'RelWorksCategory' => array(
'id' => '770',
'ss_work_category_id' => '7',
'ss_work_id' => '199'
)
)
$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) 32 => 'セルプあさがお',
(int) 40 => 'けやき野苑',
(int) 73 => 'はばたき',
(int) 76 => '障がい福祉サービス事業所 ゆうの丘',
(int) 105 => 'インテグラルワークス'
)
$facility_id = '50'
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