public function Query::__clone

public Query::__clone()

Implements the magic __clone function.

File

includes/database/query.inc, line 359
Non-specific Database query code. Used by all engines.

Class

Query
Base class for query builders.

Code

public function __clone() {
  $this->uniqueIdentifier = uniqid('', TRUE);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!database!query.inc/function/Query::__clone/7.x