1 pager.class.inc public PagerDefault::getElement()

Gets the element ID for this pager query.

The element is used to differentiate different pager queries on the same page so that they may be operated independently.

@since 1.24.1 Method added.

Return value

int: Element ID that is used to differentiate between different pager queries.

File

core/includes/pager.class.inc, line 184

Class

PagerDefault
Query extender for pager queries.

Code

public function getElement() {
  $this->ensureElement();
  return $this->element;
}