/** * Return the caption text for this file, if not defined the item array will be collected * * @return string The caption text for this image * @since 1.0.0-beta7 */ public function getCaption() { if ($this->_caption === null) { $this->_caption = I18n::findCurrent($this->getCaptionArray()); } return $this->_caption; }
/** * * @param array $fieldValues * @return string|unknown */ public function i18nDecodedGetActive(array $fieldValues) { return I18n::findCurrent($fieldValues); }