Date_Holidays
[ class tree: Date_Holidays ] [ index: Date_Holidays ] [ all elements ]

Class: Date_Holidays_Driver_Australia

Source Location: /Date_Holidays_Australia-0.2.2/Date/Holidays/Driver/Australia.php

Class Overview

Date_Holidays_Driver
   |
   --Date_Holidays_Driver_Australia

This is a Driver class that calculates holidays in Australia. Individual states generally have other holidays as well (ones that sometimes override those defined herein) and so if one is available you should combine it with this one.


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 30]
This is a Driver class that calculates holidays in Australia. Individual states generally have other holidays as well (ones that sometimes override those defined herein) and so if one is available you should combine it with this one.


[ Top ]


Class Variables

$_driverName =  'Australia'

[line 38]

this driver's name
  • Access: protected

Type:   string


[ Top ]



Method Detail

Date_Holidays_Driver_Australia (Constructor)   [line 48]

Date_Holidays_Driver_Australia Date_Holidays_Driver_Australia( )

Constructor

Use the Date_Holidays::factory() method to construct an object of a certain driver

  • Access: protected

[ Top ]

getISO3166Codes   [line 193]

array getISO3166Codes( )

Method that returns an array containing the ISO3166 codes ('au' and 'aus') that identify this driver.
  • Return: possible ISO3166 codes
  • Access: public

[ Top ]

_buildHolidays   [line 59]

boolean _buildHolidays( )

Build the internal arrays that contain data about holidays.
  • Return: true on success, otherwise a PEAR_ErrorStack object
  • Throws: object PEAR_ErrorStack
  • Access: protected

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:54:56 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.