Code |
Context }
if(($showNonPublic == false) && ($priceDetails['is_visible_to_public'] == 0)) {
$itemId = 99
$options = array()
$showDisabled = false
$showNonPublic = false
$outputPrices = array(
"PESA-Member" => array(
"event_price_category_id" => "6",
"created_at" => "2015-01-22 13:37:43",
"modified_at" => "2016-04-11 12:49:21",
"name" => "PESA-Member",
"label" => "PESA Member",
"default_number_of_attendees" => "1",
"is_number_of_attendees_fixed" => "0",
"is_fewer_attendees_allowed" => "0",
"is_attendee_details_required" => "1",
"is_price_type_total" => "0",
"is_visible_to_public" => "1",
"sort" => "2",
"value" => "45.00",
"enabled" => true,
"per" => "ea"
),
"Students" => array(
"event_price_category_id" => "5",
"created_at" => "2013-11-07 14:49:54",
"modified_at" => "2015-07-20 09:45:14",
"name" => "Students",
"label" => "Students",
"default_number_of_attendees" => "1",
"is_number_of_attendees_fixed" => "0",
"is_fewer_attendees_allowed" => "0",
"is_attendee_details_required" => "1",
"is_price_type_total" => "0",
"is_visible_to_public" => "1",
"sort" => "4",
"value" => "20.00",
"enabled" => true,
"per" => "ea"
),
"general" => array(
"event_price_category_id" => "1",
"created_at" => "0000-00-00 00:00:00",
"modified_at" => "2016-04-11 12:49:56",
"name" => "general",
"label" => "General",
"default_number_of_attendees" => "1",
"is_number_of_attendees_fixed" => "0",
"is_fewer_attendees_allowed" => "0",
"is_attendee_details_required" => "1",
"is_price_type_total" => "0",
"is_visible_to_public" => "1",
"sort" => "6",
"value" => "60.00",
"enabled" => true,
"per" => "ea"
)
)
$priceKey = "Members"
$priceDetails = array(
"value" => "45.00",
"enabled" => true
)
$priceValid = true
modelEvent_price::getPrices() - ROOTmodules/events/admin/models/model.event_price.php, line 134
EventsController::eventDetails() - ROOTmodules/events/public/controller.php, line 414
EventsController::execute() - ROOTmodules/events/public/controller.php, line 105
EventsModule::execute() - ROOTmodules/events/public/events.php, line 24
Application::runPublicModule() - ROOTlibraries/pw/application/application.php, line 189
Application::run() - ROOTlibraries/pw/application/application.php, line 66
[main] - ROOTapp.php, line 77