Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Question_Choice::hydrate( array $data )
Setup the id and data variables
Parameters Parameters
- $data
-
(array) (Required) array of question data
Return Return
(void)
Source Source
File: includes/models/model.llms.question.choice.php
private function hydrate( $data ) { $this->id = $data['id']; $this->data['id'] = $this->id; $this->update( $data ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Introduced. |