BoardPostListing
in package
Table of Contents
Properties
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : BoardPostListing
- Deserializes an instance of `BoardPostListing` from the provided `EoReader`.
- getAuthor() : string
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getPostId() : int
- getSubject() : string
- serialize() : void
- Serializes an instance of `BoardPostListing` to the provided `EoWriter`.
- setAuthor() : void
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setPostId() : void
- setSubject() : void
Properties
$author
private
string
$author
= ""
$byteSize
private
int
$byteSize
= 0
$postId
private
int
$postId
$subject
private
string
$subject
= ""
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `BoardPostListing` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : BoardPostListing
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
BoardPostListing —The deserialized data.
getAuthor()
public
getAuthor() : string
Return values
stringgetByteSize()
Returns the size of the data that this was deserialized from.
public
getByteSize() : int
Return values
int —The size of the data that this was deserialized from.
getPostId()
public
getPostId() : int
Return values
intgetSubject()
public
getSubject() : string
Return values
stringserialize()
Serializes an instance of `BoardPostListing` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, BoardPostListing $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : BoardPostListing
-
The data to serialize.
setAuthor()
public
setAuthor(string $author) : void
Parameters
- $author : string
setByteSize()
Sets the size of the data that this was deserialized from.
public
setByteSize(int $byteSize) : void
Parameters
- $byteSize : int
-
The size of the data that this was deserialized from.
setPostId()
public
setPostId(int $postId) : void
Parameters
- $postId : int
setSubject()
public
setSubject(string $subject) : void
Parameters
- $subject : string