Code Context
switch ($business->business_category['name']) {
case 'Lodging':
$business = object(App\Model\Entity\Business) {
'id' => (int) 15135,
'parent_business_id' => null,
'listing_type_id' => (int) 2,
'name' => 'C McMillan Destinations & Event Planning',
'name_canonical' => '',
'email' => 'CMcMillanDestinations@gmail.com',
'email_partner_account' => null,
'experience_vendor_description' => null,
'email_experiences' => null,
'logo_url' => '',
'phone_direct' => '707.927.8108',
'phone_toll_free' => '',
'description_long' => '<p>WINE TOUR ITINERARIES-<span style="line-height: 1.666;">There are so many choices in wine country regarding where to stay, drink and play. Where do you begin? With C McMillan Destinations & Events! We will match your pace, budget and desires to the perfect wineries, lodging, drivers, restaurants and adventures. We have access to everything current and fun in wine country, which includes Napa Valley and Sonoma County. </span></p><p>WEDDING PLANNING-<span style="line-height: 1.666;">Whether you are planning a destination wedding in wine country or you live in the Bay Area of San Francisco, California, your "perfect day" is C McMillan Destinations and Events' ONLY goal. The key is to communicate your wedding wishes to your planner. Let's talk, get to know one another and work together to make your dreams come true. The initial consultation is FREE.</span></p><p><span style="line-height: 1.666;">CORPORATE MEETINGS-</span><span style="line-height: 1.666;">CMcMillan Destinations & Events is available to plan each step </span><span style="line-height: 1.666;">of your professional gathering. From booking </span><span style="line-height: 1.666;">airline travel, lodging, ground transportation, </span><span style="line-height: 1.666;">speakers, caterers, events, and excursions we </span><span style="line-height: 1.666;">have all your logistics covered. </span></p><p><span style="line-height: 1.666;">Team Building-</span><span style="line-height: 1.666;">Whether it is ziplining, cooking classes or a hands on wine blending seminar, we have the experience to bring your team together. </span></p><p>Incentive Trips-<span style="line-height: 1.666;">Reward your top performers with a special trip to wine country. </span></p><p>Meetings-<span style="line-height: 1.666;">Hold the conference in a professional setting and follow-up with an amazing excursion in wine country. </span></p>',
'description_short' => 'Coming to Wine Country? Let CMcMillan do all the planning for you! Event planning and custom wine country trips and getaways complete with lodgings, transportation and winery excursions are our specialty! ',
'description_long_sonoma' => null,
'description_short_sonoma' => null,
'description_long_winecountry' => null,
'description_short_winecountry' => null,
'perks_description_text' => null,
'perks_main_html' => null,
'perks_secondary_html' => null,
'legacy_html' => '<p><br></p>',
'homepage_url' => 'http://www.cm-destinations.com/home.html',
'priceline_id' => null,
'review_count' => null,
'review_rating' => null,
'address' => 'Serving All of Napa County',
'city' => 'Napa ',
'state_id' => (int) 6,
'zip' => '94558',
'country_code' => 'US',
'latitude' => null,
'longitude' => null,
'placement_priority' => null,
'placement_priority_randomizer' => (float) 0.85,
'facebook_url' => '',
'twitter_url' => '',
'pinterest_handle' => '',
'yelp_id' => '',
'yelp_business_id' => '',
'yelp_url' => '',
'youtube_url' => '',
'tripadvisor_url' => '',
'business_rating_id' => (int) 0,
'business_venue_capacity_id' => null,
'is_handicap_access' => false,
'is_pet_friendly' => false,
'highlight_html' => '<p><br></p>',
'business_category_id' => null,
'reservation_url' => '',
'is_smoking_prohibited' => false,
'is_hot_tub' => false,
'is_sauna' => false,
'is_whirlpool_tub' => false,
'is_private_balcony' => false,
'is_views' => false,
'is_children_ok' => false,
'is_meeting_facilities' => null,
'is_wedding_facilities' => null,
'is_restaurant' => false,
'is_tennis' => false,
'is_hiking' => false,
'is_pool' => false,
'is_fireplaces' => false,
'is_spa_facilities' => false,
'is_senior_rates' => false,
'is_wine_reception' => false,
'is_air_conditioning' => false,
'business_price_id' => null,
'minimum_price' => null,
'is_open_breakfast' => false,
'is_open_dinner' => false,
'hours_open' => '',
'architect_name' => '',
'num_holes' => null,
'par' => null,
'green_fees' => '',
'yards_men' => null,
'yards_women' => null,
'usga_rating' => '',
'wine_club_url' => '',
'buy_wine_url' => '',
'status_text' => null,
'featured_html' => null,
'video_html' => null,
'video_caption' => null,
'experience_product_id' => null,
'onsite_business_ids' => null,
'onsite_deal_ids' => null,
'nearby_business_ids' => null,
'insider_tips_text' => null,
'amenities_description' => null,
'region_id' => null,
'is_moderated' => false,
'is_direct_link' => null,
'is_covet_pass_featured' => null,
'tock_name' => null,
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'media' => [
(int) 0 => object(App\Model\Entity\Media) {}
],
'deals' => [],
'tags' => [
(int) 0 => object(App\Model\Entity\Tag) {},
(int) 1 => object(App\Model\Entity\Tag) {},
(int) 2 => object(App\Model\Entity\Tag) {},
(int) 3 => object(App\Model\Entity\Tag) {},
(int) 4 => object(App\Model\Entity\Tag) {}
],
'listing_type' => object(App\Model\Entity\ListingType) {},
'business_venue_capacity' => null,
'business_category' => null,
'business_price' => null,
'business_reviews' => [],
'business_rating' => null,
'state' => object(App\Model\Entity\State) {},
'parent_business' => null,
'is_premier' => true,
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'is_premier' => true
],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Businesses'
}
$headers = []
$sections = []
$custom = []
$business_tag_names = [
(int) 0 => 'napa-valley',
(int) 1 => 'napa',
(int) 2 => 'event-services',
(int) 3 => 'corporate-events',
(int) 4 => 'event-planners'
]App\Model\Table\BusinessesTable::addHighlights() - APP/Model/Table/BusinessesTable.php, line 797
App\Controller\BusinessesController::view() - APP/Controller/BusinessesController.php, line 451
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
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 256
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Middleware\CsrfProtectionMiddleware::__invoke() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 137
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 170
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 100
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65