Prado\Web\UI\ActiveControls\TBaseActiveControl::getOption PHP Method

getOption() protected method

Gets an option named value. Options are used to store and retrive named values for the base active controls.
protected getOption ( $name, $default = null ) : mixed
return mixed options value.
    protected function getOption($name, $default = null)
    {
        $item = $this->_options->itemAt($name);
        return $item === null ? $default : $item;
    }