PHP 클래스 ResultPrinter, PayPal-PHP-SDK

상속: extends PHPUnit_Util_Printer, implements PHPUnit_Framework_TestListener, use trait Bartlett\LoggerTestListenerTrait, use trait Psr\Log\LoggerAwareTrait, use trait GetOpt
파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
printError ( $title, $objectName, null $objectId = null, null $request = null, Exception $exception = null ) Prints Error
printOutput ( string $title, string $objectName, string $objectId = null, mixed $request = null, mixed $response = null, string $errorMessage = null ) Prints HTML Output to web page.
printResult ( string $title, string $objectName, string $objectId = null, mixed $request = null, mixed $response = null ) Prints success response HTML Output to web page.

보호된 메소드들

메소드 설명
printConsoleObject ( $object, $error = null )
printObject ( $object, $error = null )

메소드 상세

printConsoleObject() 보호된 정적인 메소드

protected static printConsoleObject ( $object, $error = null )

printError() 공개 정적인 메소드

Prints Error
public static printError ( $title, $objectName, null $objectId = null, null $request = null, Exception $exception = null )
$title
$objectName
$objectId null
$request null
$exception Exception

printObject() 보호된 정적인 메소드

protected static printObject ( $object, $error = null )

printOutput() 공개 정적인 메소드

Prints HTML Output to web page.
public static printOutput ( string $title, string $objectName, string $objectId = null, mixed $request = null, mixed $response = null, string $errorMessage = null )
$title string
$objectName string
$objectId string
$request mixed
$response mixed
$errorMessage string

printResult() 공개 정적인 메소드

Prints success response HTML Output to web page.
public static printResult ( string $title, string $objectName, string $objectId = null, mixed $request = null, mixed $response = null )
$title string
$objectName string
$objectId string
$request mixed
$response mixed