/** * Add all article galleys to the deposit package. */ function addGalleys() { foreach ($this->article->getGalleys() as $galley) { $this->_addFile($galley); } }