public function getData()
 {
     return array('id' => $this->id, 'language' => $this->language->getData(), 'priceHourMac' => $this->formatPrice($this->priceHourMac), 'priceHourPc' => $this->formatPrice($this->priceHourPc), 'priceMac' => $this->formatPrice($this->priceMac), 'pricePc' => $this->formatPrice($this->pricePc), 'software' => $this->software->getData());
 }
Beispiel #2
0
 public function getData()
 {
     return ['id' => $this->id, 'name' => $this->name, 'file' => $this->file ? $this->file->getData() : null, 'language' => $this->language->getData(), 'rate' => $this->rate, 'quantity' => $this->quantity, 'unit' => $this->unit, 'software' => $this->software ? $this->software->getData() : null, 'total' => $this->total, 'total_freelancer' => $this->total_freelancer, 'of_freelancer' => $this->of_freelancer, 'rate_freelancer' => $this->rate_freelancer];
 }