PluginProbe
Contact Forms by Cimatti / 2.3.6
Contact Forms by Cimatti v2.3.6
2.3.6 2.3.5 2.3.0 2.2.32 2.2.4 2.2.0 2.1.2 2.1.1 trunk 1.0 1.1 1.2 1.2.1 1.3 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 All 62 releases
contact-forms / PFBC / Element / State.php

State.php in Contact Forms by Cimatti 2.3.6, at PFBC/Element/State.php

68 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * PFBC (PHP Form Builder Class) - Third-party library
4 * @package PFBC
5 */
6
7 // phpcs:disable WordPress.Security.EscapeOutput, WordPress.NamingConventions.PrefixAllGlobals, PluginCheck.CodeAnalysis.Heredoc -- Third-party library
8
9 class Element_State extends Element_Select {
10 public function __construct($label, $name, ?array $properties = null) {
11 $options = array(
12 "" => "--Select State--",
13 "AL" => "Alabama",
14 "AK" => "Alaska",
15 "AZ" => "Arizona",
16 "AR" => "Arkansas",
17 "CA" => "California",
18 "CO" => "Colorado",
19 "CT" => "Connecticut",
20 "DE" => "Delaware",
21 "DC" => "District of Columbia",
22 "FL" => "Florida",
23 "GA" => "Georgia",
24 "HI" => "Hawaii",
25 "ID" => "Idaho",
26 "IL" => "Illinois",
27 "IN" => "Indiana",
28 "IA" => "Iowa",
29 "KS" => "Kansas",
30 "KY" => "Kentucky",
31 "LA" => "Louisiana",
32 "ME" => "Maine",
33 "MD" => "Maryland",
34 "MA" => "Massachusetts",
35 "MI" => "Michigan",
36 "MN" => "Minnesota",
37 "MS" => "Mississippi",
38 "MO" => "Missouri",
39 "MT" => "Montana",
40 "NE" => "Nebraska",
41 "NV" => "Nevada",
42 "NH" => "New Hampshire",
43 "NJ" => "New Jersey",
44 "NM" => "New Mexico",
45 "NY" => "New York",
46 "NC" => "North Carolina",
47 "ND" => "North Dakota",
48 "OH" => "Ohio",
49 "OK" => "Oklahoma",
50 "OR" => "Oregon",
51 "PA" => "Pennsylvania",
52 "RI" => "Rhode Island",
53 "SC" => "South Carolina",
54 "SD" => "South Dakota",
55 "TN" => "Tennessee",
56 "TX" => "Texas",
57 "UT" => "Utah",
58 "VT" => "Vermont",
59 "VA" => "Virginia",
60 "WA" => "Washington",
61 "WV" => "West Virginia",
62 "WI" => "Wisconsin",
63 "WY" => "Wyoming"
64 );
65 parent::__construct($label, $name, $options, $properties);
66 }
67 }
68