public function toArray() { $data = parent::toArray(); $data['email'] = $this->getEmail(); $data['name'] = $this->getName(); $data['unique'] = $this->getUnique(); return $data; }
public function toArray() { $data = parent::toArray(); foreach ($this->_items as $item) { $itemData = $item->toArray(); $data['items'][] = $itemData; } return $data; }
public function toArray() { $data = parent::toArray(); $params = array("quantity", "supplierid", "supplierauxid", "unitprice", "currency", "classification", "classdomain", "uom", "description", "language"); foreach ($params as $idx => $key) { $data[$key] = $this->{"get" . ucfirst($key)}(); } return $data; }
public function toArray() { $data = parent::toArray(); $params = array("supplierid", "url", "description", "unspsc", "level"); foreach ($params as $idx => $key) { $data[$key] = $this->{"get" . ucfirst($key)}(); } return $data; }
public function toArray() { $data = parent::toArray(); $data['buyercookie'] = $this->getBuyerCookie(); $data['items'] = $this->getItems()->toArray(); $data['total'] = $this->getTotal(); $data['currency'] = $this->getCurrency(); return $data; }
public function toArray() { $data = parent::toArray(); $data['contact'] = $this->getContact()->toArray(); $data['buyercookie'] = $this->getBuyerCookie(); $data['postform'] = $this->getPostForm(); $data['shipping'] = $this->getShipping()->toArray(); $data['items'] = $this->getItems()->toArray(); return $data; }
public function toArray() { $data = parent::toArray(); return $data['data']; }