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); }