LLMS_Abstract_Database_Store::__construct()

Constructor


Return Return

(void)


Top ↑

Source Source

File: includes/abstracts/llms.abstract.database.store.php

	public function __construct() {

		if ( ! $this->id ) {

			// If created dates supported, add current time to the data on construction.
			if ( $this->date_created ) {
				$this->set( $this->date_created, llms_current_time( 'mysql' ), false );
			}

			if ( $this->date_updated ) {
				$this->set( $this->date_updated, llms_current_time( 'mysql' ), false );
			}
		}

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.21.0 Unknown.
3.14.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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