public function getElements() { if ($this->elements === null) { $this->setElements($this->getDao()->getElements()); } return $this->elements; }