Prado\Web\UI\TControl::getUniqueID PHP Метод

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

A unique ID is the contenation of all naming container controls' IDs and the control ID. These IDs are separated by '$' character. Control users should not rely on the specific format of UniqueID, however.
public getUniqueID ( ) : string
Результат string a unique ID that identifies the control in the page hierarchy
    public function getUniqueID()
    {
        if ($this->_uid === '' || $this->_uid === null) {
            $this->_uid = '';
            // set to not-null, so that clearCachedUniqueID() may take action
            if ($namingContainer = $this->getNamingContainer()) {
                if ($this->getPage() === $namingContainer) {
                    return $this->_uid = $this->_id;
                } else {
                    if (($prefix = $namingContainer->getUniqueID()) === '') {
                        return $this->_id;
                    } else {
                        return $this->_uid = $prefix . self::ID_SEPARATOR . $this->_id;
                    }
                }
            } else {
                // no naming container
                return $this->_id;
            }
        } else {
            return $this->_uid;
        }
    }
TControl