public static function retSuccess($value = null, $http_code = HttpCodes::HTTP_OK, Paginer $pagingInfo = null, $prettyPrint = false)
    {
        $response = self::buildResponse($value, true, $http_code, $pagingInfo);

        return self::retJSON($response, $prettyPrint);
    }
public static function retSuccess($value = null, $http_code = HttpCodes::HTTP_OK, Paginer $pagingInfo = null, $prettyPrint = false)
    {
        $response = self::buildResponse($value, true, $http_code, $pagingInfo);

        return self::retJSON($response, $prettyPrint);
    }
public static function retSuccess ( $ value = null , $ http_code = HttpCodes :: HTTP_OK , Paginer $ pagingInfo = null , $ prettyPrint = false ) { $ response = self :: buildResponse ( $ value , true , $ http_code , $ pagingInfo ) ; return self :: retJSON ( $ response , $ prettyPrint ) ; }
Return success.

@param mixed   $value       The success response
@param int     $http_code   The HTTP response code
@param Paginer $pagingInfo  The pagination information coming from Paginer interface
@param bool    $prettyPrint If true the JSON will be pretty printed

@return string JSON encoded $value
Return success .