<?php

class Tag_ProvinceSelect extends Tag_Select
{
	public function __construct($name=NULL, $attributes=array())
	{
		parent::__construct($name, $attributes, TAG_CR | TAG_CLOSE);

		$options = array(
		            ""	=> "Select Province",
					"AB" => "Alberta",
					"BC" => "British Columbia",
					"MB" => "Manitoba",
					"NB" => "New Brunswick",
					"NL" => "Newfoundland and Labrador",
					"NT" => "Northwest Territories",
					"NS" => "Nova Scotia",
					"NU" => "Nunavut",
					"ON" => "Ontario",
					"PE" => "Prince Edward Island",
					"QC" => "Quebec",
					"SK" => "Saskatchewan",
					"YT" => "Yukon");

		// Add All Options as children of the parent select input
		$this->setOptions($options);
	}
}
