public function &selectState() { if (!$this->arrSelectState) { Selecter::buildSelect($this, $this->arrSelectState); } return $this->arrSelectState; }
public function totalCount() { if ($this->nTotalCount < 0) { $this->nTotalCount = Selecter::singleton()->totalCount(DB::singleton(), $this->prototype(), $this->aLoadRestriction); } return $this->nTotalCount; }
public function hasSerialized() { return Selecter::singleton()->hasExists($this); }