package PayrollDeduction\CR
inherited_from \PayrollDeduction_CR_Data

 Methods

__construct()

__construct() 
Inherited

calcNonPeriodicDeduction()

calcNonPeriodicDeduction($annual_tax_payable, $ytd_deduction) 
Inherited

Parameters

$annual_tax_payable

$ytd_deduction

calcNonPeriodicIncome()

calcNonPeriodicIncome($ytd_gross_income, $gross_pp_income) 
Inherited

Parameters

$ytd_gross_income

$gross_pp_income

convertToCountryCurrency()

convertToCountryCurrency($amount) 
Inherited

Parameters

$amount

convertToUserCurrency()

convertToUserCurrency($amount) 
Inherited

Parameters

$amount

getAnnualPayPeriods()

getAnnualPayPeriods() 
Inherited

getAnnualTaxableIncome()

getAnnualTaxableIncome() 

getAnnualizingFactor()

getAnnualizingFactor($reverse = FALSE
Inherited

Parameters

$reverse

getCompany()

getCompany() 
Inherited

getCountry()

getCountry() 
Inherited

getCountryPrimaryCurrency()

getCountryPrimaryCurrency() 
Inherited

getCountryPrimaryCurrencyID()

getCountryPrimaryCurrencyID() 
Inherited

getCurrentPayPeriod()

getCurrentPayPeriod() 
Inherited

getCurrentPayrollRunID()

getCurrentPayrollRunID() 
Inherited

getData()

getData() 
Inherited

getDataFromRateArray()

getDataFromRateArray($epoch, $arr) 
Inherited

Parameters

$epoch

$arr

getDate()

getDate() 
Inherited

getDateEpoch()

getDateEpoch() 
Inherited

getDistrict()

getDistrict() 
Inherited

getFederalAllowance()

getFederalAllowance() 

getFederalAllowanceAmount()

getFederalAllowanceAmount($date) 
Inherited

Parameters

$date

getFederalFilingAmount()

getFederalFilingAmount($date) 
Inherited

Parameters

$date

getFederalFilingStatus()

getFederalFilingStatus() 

getFederalPayPeriodDeductions()

getFederalPayPeriodDeductions() 

getFederalTaxPayable()

getFederalTaxPayable() 

getFederalTaxTable()

getFederalTaxTable($income) 
Inherited

Parameters

$income

getFormulaType()

getFormulaType() 
Inherited

getGrossPayPeriodIncome()

getGrossPayPeriodIncome() 
Inherited

getISODate()

getISODate($epoch) 
Inherited

Parameters

$epoch

getProvince()

getProvince() 
Inherited

getRemainingPayPeriods()

getRemainingPayPeriods() 
Inherited

getUser()

getUser() 
Inherited

getUserCurrency()

getUserCurrency() 
Inherited

getUserValue1()

getUserValue1() 
Inherited

getUserValue2()

getUserValue2() 
Inherited

getUserValue3()

getUserValue3() 
Inherited

getUserValue4()

getUserValue4() 
Inherited

getYearToDateDeduction()

getYearToDateDeduction() 
Inherited

getYearToDateGrossIncome()

getYearToDateGrossIncome() 
Inherited

setAnnualPayPeriods()

setAnnualPayPeriods($value) 
Inherited

Parameters

$value

setCompany()

setCompany($company_id) 
Inherited

Parameters

$company_id

setCountry()

setCountry($country) 
Inherited

Parameters

$country

setCurrentPayPeriod()

setCurrentPayPeriod($value) 
Inherited

Parameters

$value

setCurrentPayrollRunID()

setCurrentPayrollRunID($value) 
Inherited

Parameters

$value

setDate()

setDate($epoch) 
Inherited

Parameters

$epoch

setDistrict()

setDistrict($district) 
Inherited

Parameters

$district

setFederalAllowance()

setFederalAllowance($value) 

Parameters

$value

setFederalFilingStatus()

setFederalFilingStatus($value) 

Parameters

$value

setFormulaType()

setFormulaType($type_id) 
Inherited

Parameters

$type_id

setGrossPayPeriodIncome()

setGrossPayPeriodIncome($income) 
Inherited

Parameters

$income

setProvince()

setProvince($province) 
Inherited

Parameters

$province

setUser()

setUser($user_id) 
Inherited

Parameters

$user_id

setUserCurrency()

setUserCurrency($currency_id) 
Inherited

Parameters

$currency_id

setUserValue1()

setUserValue1($value) 
Inherited

Parameters

$value

setUserValue2()

setUserValue2($value) 
Inherited

Parameters

$value

setUserValue3()

setUserValue3($value) 
Inherited

Parameters

$value

setUserValue4()

setUserValue4($value) 
Inherited

Parameters

$value

setYearToDateDeduction()

setYearToDateDeduction($amount) 
Inherited

Parameters

$amount

setYearToDateGrossIncome()

setYearToDateGrossIncome($income) 
Inherited

Parameters

$income

 Properties

 

$country_primary_currency

$country_primary_currency 

Default

'CRC'
 

$data

$data 

Default

array()
 

$db

$db 

Default

NULL
 

$federal_allowance

$federal_allowance 

Default

array(20060930 => 10560.0, 20070930 => 11520.0)
 

$federal_filing

$federal_filing 

Default

array(20060930 => 15720.0, 20070930 => 17040.0)
 

$federal_income_tax_rate_options

$federal_income_tax_rate_options 

Default

array(20070930 => array(10 => array(array('income' => 6096000, 'rate' => 0, 'constant' => 0), array('income' => 9144000, 'rate' => 10, 'constant' => 0), array('income' => 9144000, 'rate' => 15, 'constant' => 0))), 20060930 => array(10 => array(array('income' => 5616000, 'rate' => 0, 'constant' => 0), array('income' => 8424000, 'rate' => 10, 'constant' => 0), array('income' => 8424000, 'rate' => 15, 'constant' => 0))))
 

$income_tax_rates

$income_tax_rates 

Default

array()