LLMS_Question_Choice::update( array $data = array() )
Update multiple data by key=>val pairs
Parameters Parameters
- $data
-
(array) (Optional) array of data to set
Default value: array()
Return Return
(self)
Source Source
File: includes/models/model.llms.question.choice.php
298 299 300 301 302 303 304 305 | * @since 3.16.0 * @version 3.16.0 */ public function update( $data = array () ) { foreach ( $data as $key => $val ) { $this ->set( $key , $val ); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Introduced. |