LLMS_Quiz_Attempt_Question::__construct( array $data = array() )
Constructor
Parameters Parameters
- $data
-
(array) (Optional) Question data array from attempt record.
Default value: array()
Return Return
(void)
Source Source
File: includes/models/model.llms.quiz.attempt.question.php
public function __construct( $data = array() ) { $this->data = wp_parse_args( $data, array( 'id' => null, 'earned' => null, 'points' => null, 'remarks' => null, 'answer' => null, 'correct' => null, ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Introduced. |