Documentation

InnQuestionRecord
in package

Table of Contents

Properties

$answer  : string
$answerLength  : int
$byteSize  : int
$question  : string
$questionLength  : int

Methods

__toString()  : string
Returns a string representation of the object.
deserialize()  : InnQuestionRecord
Deserializes an instance of `InnQuestionRecord` from the provided `EoReader`.
getAnswer()  : string
getAnswerLength()  : int
getByteSize()  : int
Returns the size of the data that this was deserialized from.
getQuestion()  : string
getQuestionLength()  : int
serialize()  : void
Serializes an instance of `InnQuestionRecord` to the provided `EoWriter`.
setAnswer()  : void
setAnswerLength()  : void
setByteSize()  : void
Sets the size of the data that this was deserialized from.
setQuestion()  : void
setQuestionLength()  : void

Properties

Methods

__toString()

Returns a string representation of the object.

public __toString() : string
Return values
string

getByteSize()

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.

setAnswer()

public setAnswer(string $answer) : void
Parameters
$answer : string

setAnswerLength()

public setAnswerLength(int $answerLength) : void
Parameters
$answerLength : int

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.

setQuestion()

public setQuestion(string $question) : void
Parameters
$question : string

setQuestionLength()

public setQuestionLength(int $questionLength) : void
Parameters
$questionLength : int

        
On this page

Search results