public function getCaption()
    {
        if ($this->_caption === null) {
            if ($this->getKey('caption', false)) {
                $this->_caption = $this->getKey('caption');
            } else {
                $this->_caption = $this->file->caption;
            }
        }
        
        return $this->_caption;
    }