PHP 클래스 Ergo\Http\HeaderField

Specifically, one of: General Header {@link http://tools.ietf.org/html/rfc2616#section-4.5} Request Header {@link http://tools.ietf.org/html/rfc2616#section-5.3} Response Header {@link http://tools.ietf.org/html/rfc2616#section-6.2} Entity Header {http://tools.ietf.org/html/rfc2616#section-7.1} All follow the general format given in Section 3.1 of RFC 822. {@link http://tools.ietf.org/html/rfc822#section-3.1}
또한 보기: http://github.com/pda/phool
저자: Paul Annesley ([email protected])
파일 보기 프로젝트 열기: 99designs/ergo 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $name, string $value )
__toString ( ) : string The full header string, e.g. 'Example-Header: Some Value'
fromString ( string $headerString ) Creates a header from a string representing a single header.
getName ( ) : string The case-normalized name of the header.
getValue ( ) : string The value of the header.

메소드 상세

__construct() 공개 메소드

public __construct ( string $name, string $value )
$name string
$value string

__toString() 공개 메소드

The full header string, e.g. 'Example-Header: Some Value'
public __toString ( ) : string
리턴 string

fromString() 공개 정적인 메소드

Creates a header from a string representing a single header.
public static fromString ( string $headerString )
$headerString string

getName() 공개 메소드

The case-normalized name of the header.
public getName ( ) : string
리턴 string

getValue() 공개 메소드

The value of the header.
public getValue ( ) : string
리턴 string