public function getCaption($languageId) { return isset($this->captions[$languageId]) ? $this->captions[$languageId]->getCaption() : null; }