FilePublisher.class.php (443B)
1 <?php 2 /** 3 * Created by PhpStorm. 4 * User: dankert 5 * Date: 10.08.18 6 * Time: 23:33 7 */ 8 // UNUSED? 9 class FilePublisher 10 { 11 public function publish() 12 { 13 if ( ! is_object($this->publish) ) 14 $this->publish = new \Publish(); 15 16 $this->write(); 17 $this->publish->copy( $this->tmpfile(),$this->full_filename(),$this->lastchangeDate ); 18 19 $this->publish->publishedObjects[] = $this->getProperties(); 20 } 21 22 }