Prado\Web\UI\TControl::__isset PHP 메소드

__isset() 공개 메소드

This overrides the parent implementation by allowing checking for the existance of a control via its ID using the following syntax, $menuBarExists = isset($this->menuBar); Do not call this method. This is a PHP magic method that we override to allow using isset() to detect if a component property is set or not. Note, the control must be configured in the template with explicit ID. If the name matches both a property and a control ID, the control ID will take the precedence.
또한 보기: __get
public __isset ( $name ) : boolean
리턴 boolean wether the control or property exists
    public function __isset($name)
    {
        if (isset($this->_rf[self::RF_NAMED_OBJECTS][$name])) {
            return true;
        } else {
            return parent::__isset($name);
        }
    }
TControl