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.


Top ↑

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;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.14.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.