LLMS_Abstract_Database_Store::setup( array $data )
Setup an object with an array of data
Parameters Parameters
- $data
-
(array) (Required) key => val
Return Return
(LLMS_Abstract_Database_Store) Instance of the current object, useful for chaining.
Source Source
File: includes/abstracts/llms.abstract.database.store.php
public function setup( $data ) { foreach ( $data as $key => $val ) { $this->set( $key, $val, false ); } return $this; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.33.0 | Return self for chaining instead of void. |
3.14.0 | Introduced. |