Kimai_Invoice_PrintModel::toArray PHP Method

toArray() public method

Returns all interval values as array.
public toArray ( ) : array
return array
    public function toArray()
    {
        return array('entries' => $this->getEntries(), 'amount' => $this->getAmount(), 'customer' => $this->getCustomer(), 'vat' => $this->getVat(), 'vatRate' => $this->getVatRate(), 'total' => $this->getTotal(), 'projects' => $this->getProjects(), 'invoiceId' => $this->getInvoiceId(), 'beginDate' => $this->getBeginDate(), 'endDate' => $this->getEndDate(), 'invoiceDate' => $this->getInvoiceDate(), 'dateFormat' => $this->getDateFormat(), 'dueDate' => $this->getDueDate(), 'currencySign' => $this->getCurrencySign(), 'currencyName' => $this->getCurrencyName());
    }