Methods | ||
---|---|---|
public
static
|
NewInstance(): Part
|
# |
public
|
reset(): Part
|
# |
public
|
Boundary(): string
|
# |
public
|
ParentCharset(): string
|
# |
public
|
SetParentCharset(string $sParentCharset): Part
|
# |
public
|
SetBoundary(string $sBoundary): Part
|
# |
public
|
SetParseBuffer(int $iParseBuffer): Part
|
# |
public
|
HeaderCharset(): string
|
# |
public
|
HeaderBoundary(): string
|
# |
public
|
ContentType(): string
|
# |
public
|
ContentTransferEncoding(): string
|
# |
public
|
ContentID(): string
|
# |
public
|
ContentLocation(): string
|
# |
public
|
FileName(): string
|
# |
public
|
ParseFromFile(string $sFileName): Part
|
# |
public
|
ParseFromString(string $sRawMessage): Part
|
# |
public
|
ParseFromStream(resource $rStreamHandle): Part
|
# |
public
|
ParseFromStreamRecursion(
resource $rStreamHandle,
&$oCallbackClass,
&$iOffset,
&$sPrevBuffer,
&$sBuffer,
&$aBoundaryStack,
&$bIsOef,
$bNotFirstRead = false,
): Part
|
# |
public
|
Rewind(): resorce
|
# |
public
|
ToStream(): resorce
|
# |
Constants | ||
---|---|---|
public
|
POS_HEADERS = 1
|
# |
public
|
POS_BODY = 2
|
# |
public
|
POS_SUBPARTS = 3
|
# |
public
|
POS_CLOSE_BOUNDARY = 4
|
# |
public
|
DEFAUL_BUFFER = 8192
|
# |
Properties | |||
---|---|---|---|
public
static
|
string
|
$DefaultCharset = Charset::ISO_8859_1
|
# |
public
static
|
string
|
$ForceCharset = ''
|
# |
public
|
HeaderCollection
|
$Headers
|
# |
public
|
resource
|
$Body
|
# |
public
|
PartCollection
|
$SubParts
|
# |
public
|
array
|
$LineParts
|
# |