function SelectQueryExtender::preExecute

Overrides SelectQueryInterface::preExecute

2 calls to SelectQueryExtender::preExecute()
PagerDefault::execute in includes/pager.inc
Override the execute method.
SelectQueryExtender::execute in includes/database/select.inc

File

includes/database/select.inc, line 707

Class

SelectQueryExtender
The base extender class for Select queries.

Code

public function preExecute(SelectQueryInterface $query = NULL) {
    // If no query object is passed in, use $this.
    if (!isset($query)) {
        $query = $this;
    }
    return $this->query
        ->preExecute($query);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.