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

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

Example: if a $param->draggable control id is returned from clientside, calling $param->DraggableControl will return the control instance
public __get ( $name ) : mixed
Результат mixed control or null if not set.
    public function __get($name)
    {
        $pos = strpos($name, 'Control', 1);
        $name = strtolower(substr($name, 0, $pos));
        $cp = $this->getCallbackParameter();
        if (!isset($cp->{$name}) || $cp->{$name} == '') {
            return null;
        }
        return $this->getControl($cp->{$name});
    }
TJuiEventParameter