Ejemplo n.º 1
0
 /**
  * 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;
 }
Ejemplo n.º 2
0
 /**
  *
  * @param array $fieldValues
  * @return string|unknown
  */
 public function i18nDecodedGetActive(array $fieldValues)
 {
     return I18n::findCurrent($fieldValues);
 }