/** * Turn this item into an array * * @return array */ public function toArray() { $arr = parent::toArray(); $arr['limit'] = $this->limit; $arr['height'] = $this->height; return $arr; }
/** * Turn this item into an array * * @return array */ public function toArray() { $arr = parent::toArray(); $arr['symbol'] = $this->symbol; $arr['decimals'] = $this->decimals; $arr['decimalSeparator'] = $this->decimalSeparator; $arr['thousandsSeparator'] = $this->thousandsSeparator; return $arr; }
/** * @return array */ public function toArray() { $array = parent::toArray(); if ($this->getCurrencyCode() !== null) { $array['currencyCode'] = $this->getCurrencyCode(); } if ($this->getNumberStyle() !== null) { $array['numberStyle'] = $this->getNumberStyle(); } return $array; }
/** * @return array */ public function toArray() { $array = parent::toArray(); if (strlen($this->getDateStyle())) { $array['dateStyle'] = $this->getDateStyle(); } if (is_bool($this->getIgnoresTimeZone())) { $array['ignoresTimeZone'] = $this->getIgnoresTimeZone(); } if (is_bool($this->getIsRelative())) { $array['isRelative'] = $this->getIsRelative(); } if (strlen($this->getTimeStyle())) { $array['timeStyle'] = $this->getTimeStyle(); } return $array; }
/** * Turn this item into an array * * @return array */ public function toArray() { $arr = parent::toArray(); $arr['options'] = $this->options; return $arr; }