Prado\Web\UI\JuiControls\TJuiControlOptions::__get PHP Метод

__get() публичный Метод

Gets an option named value. Options are used to store and retrive named values for the base active controls.
public __get ( $name ) : mixed
Результат mixed options value or null if not set.
    public function __get($name)
    {
        if ($this->_options === null) {
            $this->_options = array();
        }
        foreach ($this->_control->getValidOptions() as $option) {
            if (0 == strcasecmp($name, $option) && isset($this->_options[$option])) {
                return $this->_options[$option];
            }
        }
        return null;
    }