private static function cf_error::p_failed_to in Common Functionality 7.2
Reports that a specific operation failed for a specific item.
Parameters
cf_error_code $error: The error code class object associated with the error.
string $operation_name: The name of the operation being performed.
string $item_name: The name of the item being operated on.
11 calls to cf_error::p_failed_to()
- cf_error::failed_to_backup in modules/
cf_error/ classes/ cf_error.php - Reports that something was unable to backup.
- cf_error::failed_to_delete in modules/
cf_error/ classes/ cf_error.php - Reports that something was unable to delete.
- cf_error::failed_to_export in modules/
cf_error/ classes/ cf_error.php - Reports that something was unable to export.
- cf_error::failed_to_import in modules/
cf_error/ classes/ cf_error.php - Reports that something was unable to import.
- cf_error::failed_to_install in modules/
cf_error/ classes/ cf_error.php - Reports that something was unable to install.
File
- modules/
cf_error/ classes/ cf_error.php, line 1458 - Provides the derror exception class.
Class
Code
private static function p_failed_to(cf_error_code $error, $operation_name, $item_name) {
self::p_print_message($error, "Failed to %cf_error-operation_name %cf_error-item_name.", array(
'%cf_error-operation_name' => $operation_name,
'%cf_error-item_name' => $item_name,
));
}