Example #1
0
/**
 * Function: Custom 503 Answer (can be customized on your needs ...)
 *
 * @access 		private
 * @internal
 *
 */
function custom_http_message_503_serviceunavailable($y_message, $y_extra_message = '')
{
    //--
    return SmartComponents::http_error_message('*Custom* 503 Service Unavailable', $y_message, $y_extra_message);
    //--
}
Example #2
0
/**
 * Function: Custom 500 Answer (can be customized on your needs ...)
 *
 * @access 		private
 * @internal
 *
 */
function custom_http_message_500_internalerror($y_message, $y_extra_message = '')
{
    //--
    return SmartComponents::http_error_message('*Custom* 500 Internal Server Error', $y_message, $y_extra_message);
    //--
}
Example #3
0
/**
 * Function: Custom 404 Answer (can be customized on your needs ...)
 *
 * @access 		private
 * @internal
 *
 */
function custom_http_message_404_notfound($y_message, $y_extra_message = '')
{
    //--
    return SmartComponents::http_error_message('*Custom* 404 Not Found', $y_message, $y_extra_message);
    //--
}
Example #4
0
/**
 * Function: Custom 502 Answer (can be customized on your needs ...)
 *
 * @access 		private
 * @internal
 *
 */
function custom_http_message_502_badgateway($y_message, $y_extra_message = '')
{
    //--
    return SmartComponents::http_error_message('*Custom* 502 Bad Gateway', $y_message, $y_extra_message);
    //--
}
Example #5
0
/**
 * Function: Custom 429 Answer (can be customized on your needs ...)
 *
 * @access 		private
 * @internal
 *
 */
function custom_http_message_429_toomanyrequests($y_message, $y_extra_message = '')
{
    //--
    return SmartComponents::http_error_message('*Custom* 429 Too Many Requests', $y_message, $y_extra_message);
    //--
}
Example #6
0
/**
 * Function: Custom 401 Answer (can be customized on your needs ...)
 *
 * @access 		private
 * @internal
 *
 */
function custom_http_message_401_unauthorized($y_message, $y_extra_message = '')
{
    //--
    return SmartComponents::http_error_message('*Custom* 401 Unauthorized', $y_message, $y_extra_message);
    //--
}
Example #7
0
/**
 * Function: Custom 504 Answer (can be customized on your needs ...)
 *
 * @access 		private
 * @internal
 *
 */
function custom_http_message_504_gatewaytimeout($y_message, $y_extra_message = '')
{
    //--
    return SmartComponents::http_error_message('*Custom* 504 Gateway Timeout', $y_message, $y_extra_message);
    //--
}
Example #8
0
/**
 * Function: Custom 400 Answer (can be customized on your needs ...)
 *
 * @access 		private
 * @internal
 *
 */
function custom_http_message_400_badrequest($y_message, $y_extra_message = '')
{
    //--
    return SmartComponents::http_error_message('*Custom* 400 Bad Request', $y_message, $y_extra_message);
    //--
}
Example #9
0
/**
 * Function: Custom 403 Answer (can be customized on your needs ...)
 *
 * @access 		private
 * @internal
 *
 */
function custom_http_message_403_forbidden($y_message, $y_extra_message = '')
{
    //--
    return SmartComponents::http_error_message('*Custom* 403 Forbidden', $y_message, $y_extra_message);
    //--
}