Beispiel #1
0
 /**
  * Assemble path for save into DB
  *
  * @param string $path Path
  *
  * @return string
  */
 protected function assembleSavePath($path)
 {
     return $this->getAttachment()->getProduct()->getProductId() . LC_DS . parent::assembleSavePath($path);
 }
Beispiel #2
0
 /**
  * Assemble path for save into DB
  *
  * @param string $path Path
  *
  * @return string
  */
 protected function assembleSavePath($path)
 {
     return $this->getLink()->getShipment()->getParcel()->getOrder()->getOrderId() . LC_DS . parent::assembleSavePath($path);
 }
Beispiel #3
0
 /**
  * Assemble path for save into DB
  *
  * @param string $path Path
  *
  * @return string
  */
 protected function assembleSavePath($path)
 {
     return $this->getOrderId() . LC_DS . parent::assembleSavePath($path);
 }
Beispiel #4
0
 /**
  * Assemble path for save into DB
  *
  * @param string $path Path
  *
  * @return string
  */
 protected function assembleSavePath($path)
 {
     $shipments = $this->getLink()->getManifest()->getShipments();
     return $shipments[0]->getParcel()->getOrder()->getOrderId() . LC_DS . parent::assembleSavePath($path);
 }