Get the pager offset from the pager.
public function getOffset() {
// If the pager is already initialized, pass it through to the pager.
if (!empty($this->pager)) {
return $this->pager
->getOffset();
}
if (isset($this->offset)) {
return $this->offset;
}
}