コード例 #1
0
ファイル: 503.php プロジェクト: unix-world/Smart.Framework
/**
 * 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);
    //--
}
コード例 #2
0
ファイル: 500.php プロジェクト: unix-world/Smart.Framework
/**
 * 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);
    //--
}
コード例 #3
0
ファイル: 404.php プロジェクト: unix-world/Smart.Framework
/**
 * 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);
    //--
}
コード例 #4
0
ファイル: 502.php プロジェクト: unix-world/Smart.Framework
/**
 * 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);
    //--
}
コード例 #5
0
ファイル: 429.php プロジェクト: unix-world/Smart.Framework
/**
 * 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);
    //--
}
コード例 #6
0
ファイル: 401.php プロジェクト: unix-world/Smart.Framework
/**
 * 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);
    //--
}
コード例 #7
0
ファイル: 504.php プロジェクト: unix-world/Smart.Framework
/**
 * 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);
    //--
}
コード例 #8
0
ファイル: 400.php プロジェクト: unix-world/Smart.Framework
/**
 * 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);
    //--
}
コード例 #9
0
ファイル: 403.php プロジェクト: unix-world/Smart.Framework
/**
 * 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);
    //--
}