Skip to content

classes_lib_controls_locale_regionselect.class

Daniel Spors edited this page Nov 11, 2020 · 3 revisions

Classes in file lib/controls/locale/regionselect.class.php

class RegionSelect

Region selector.

Namespace: ScavixWDF\Controls\Locale

Extends: Select » Control » Renderable

compareCountryNames

INTERNAL Compares country names

ListOptions

Returns a list of option elements. Called via AJAX to dynamically update the control.

Definition: public function ListOptions($language)

Returns: AjaxResponse::Text Html string with options

Parameters:

  • string $language Language code

__initialize

This is WDF constructor equivalent

Definition: public function __initialize($current_language_code=false, $current_region_code=false)

Returns: NOT DOCUMENTED

Parameters:

  • mixed $current_language_code Currently selected language

  • type $current_region_code Currently selected region

Clone this wiki locally