Prado\Web\UI\JuiControls\TJuiDatePicker::getCurrentCulture PHP Method

getCurrentCulture() protected method

protected getCurrentCulture ( ) : string
return string the current culture, falls back to application if culture is not set.
    protected function getCurrentCulture()
    {
        $app = $this->getApplication()->getGlobalization(false);
        return $this->getCulture() == '' ? $app ? $app->getCulture() : 'en' : $this->getCulture();
    }