Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }