LLMS_Abstract_Database_Store::hydrate()
Load the whole object from the database
Return Return
(LLMS_Abstract_Database_Store) instance of the current object, useful for chaining.
Source Source
File: includes/abstracts/llms.abstract.database.store.php
protected function hydrate() {
if ( $this->id ) {
$res = $this->read( array_keys( $this->columns ) );
if ( $res ) {
$this->data = array_merge( $this->data, $res );
}
}
return $this;
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.14.0 | Introduced. |