Kajona\System\Admin\Formentries\FormentryMonthYearDropdown

Renders two dropdown boxes, on for month and one for the year.

Synopsis

class FormentryMonthYearDropdown extends FormentryDate {
  • // constants
  • const DAY_SUFFIX = "_day";
  • const MONTH_SUFFIX = "_month";
  • const YEAR_SUFFIX = "_year";
}

Hierarchy

Constants

Name Value
DAY_SUFFIX "_day"
MONTH_SUFFIX "_month"
YEAR_SUFFIX "_year"

Members

private

  • $arrDropDownMonth
  • $arrDropDownYear
  • $bitRenderDay

Methods

private

  • getArrMonths() — Creates an associative array of months. The first entry has as key "1" with value "January".
  • getArrYear() — Creates and array which contains the years until 2099 starting from the current year

public

Inherited from Kajona\System\Admin\Formentries\FormentryDate

protected

public

Inherited from Kajona\System\Admin\Formentries\FormentryBase

protected

public