public function doSection($section = ACCOUNT_DETAILS, $subSection = false) { if ($section == ACCOUNT_DETAILS) { return AccountController::saveDetails(); } else { if ($section == ACCOUNT_PAYMENTS) { return AccountController::savePayments(); } else { if ($section == ACCOUNT_IMPORT_EXPORT) { return AccountController::importFile(); } else { if ($section == ACCOUNT_MAP) { return AccountController::mapFile(); } else { if ($section == ACCOUNT_IMPORT_EXPORTI) { return AccountController::importFilei(); } else { if ($section == ACCOUNT_MAP_INVOICES) { return AccountController::mapFileInvoice(); } else { if ($section == ACCOUNT_NOTIFICATIONS) { return AccountController::saveNotifications(); } else { if ($section == ACCOUNT_EXPORT) { return AccountController::export(); } else { if ($section == ACCOUNT_INVOICE_SETTINGS) { return AccountController::saveInvoiceSettings(); } else { if ($section == ACCOUNT_PRODUCT_SETTINGS) { return AccountController::saveProducts(); } else { if ($section == ACCOUNT_INVOICE_DESIGN) { return AccountController::saveInvoiceDesign(); } else { if ($section == ACCOUNT_PRODUCTS) { return AccountController::saveProducts(); } } } } } } } } } } } } }
public function doSection($section = ACCOUNT_DETAILS, $subSection = false) { if ($section == ACCOUNT_DETAILS) { return AccountController::saveDetails(); } else { if ($section == ACCOUNT_IMPORT_EXPORT) { return AccountController::importFile(); } else { if ($section == ACCOUNT_MAP) { return AccountController::mapFile(); } else { if ($section == ACCOUNT_NOTIFICATIONS) { return AccountController::saveNotifications(); } else { if ($section == ACCOUNT_EXPORT) { return AccountController::export(); } else { if ($section == ACCOUNT_ADVANCED_SETTINGS) { if ($subSection == ACCOUNT_CUSTOM_FIELDS) { return AccountController::saveCustomFields(); } else { if ($subSection == ACCOUNT_INVOICE_DESIGN) { return AccountController::saveInvoiceDesign(); } } } else { if ($section == ACCOUNT_PRODUCTS) { return AccountController::saveProducts(); } } } } } } } }