Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • controllers
      • models
    • components
      • areyouahuman
      • auth
        • motp
        • oath
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • events
        • default
      • exchange
        • rates
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
          • quickbooks
            • invoice
      • json
      • modules
      • net
        • amazon
          • s3
        • http
        • net
          • geo
            • ip
      • plugins
      • recaptcha
      • reports
        • aging
          • invoices
        • custom
          • report
        • invoice
          • creation
        • tax
          • liability
        • transactions
          • applied
          • received
      • security
      • session
        • cart
      • settingscollection
      • upgrades
        • tasks
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
      • widget
        • client
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • form
      • html
      • javascript
      • xml
    • lib
  • None
  • PHP

Classes

  • TaxLiability

Class TaxLiability

Tax Liability report

TaxLiability implements ReportType
Package: blesta\components\reports\tax\liability
Copyright: Copyright (c) 2013, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at components/reports/tax_liability/tax_liability.php

Methods summary

public
# __construct( )

Load language

Load language

public string
# getName( )

Retrieves the name of this report

Retrieves the name of this report

Returns

string
The name of the report

Implementation of

ReportType::getName()
public string
# getOptions( integer $company_id, array $vars = array() )

Retrieves the view containing any additional fields to filter on for the report

Retrieves the view containing any additional fields to filter on for the report

Parameters

$company_id
integer
$company_id The ID of the company to generate the report from
$vars
array
A list of input vars (optional)

Returns

string
The view

Implementation of

ReportType::getOptions()
public array
# getColumns( )

Retrieves a list of names for each report column to contain

Retrieves a list of names for each report column to contain

Returns

array
A list of key/value pairs indicating the field, its name, and any formatting to apply

Implementation of

ReportType::getColumns()
public Iterator
# fetchAll( integer $company_id, array $vars )

Execute the report

Execute the report

Parameters

$company_id
integer
$company_id The ID of the company to generate the report from
$vars
array
$vars A list of fields as given as options to the view

Returns

Iterator
An iterable object containing the report data

Implementation of

ReportType::fetchAll()

Magic methods summary

Blesta API documentation generated by ApiGen 2.8.0