Paths=[]; } public function SetWidth($width) { $this->Width=$width; return $this; } public function SetHeight($height) { $this->Height=$height; return $this; } public function AddPath($Path) { $this->Paths[]=$Path; } public function ToText() { $urls=[]; $loader=apply_filters('woo_extra_products_get_loader',null); $fileAccessManager=new FileAccessManager($loader); foreach($this->Paths as $currentPath) { $urls[]=$fileAccessManager->GetDownloadURL($currentPath,basename($currentPath)); } return \implode(', ',$urls); } public function ToHTML() { $text='