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

generateAutomaticID() приватный Метод

Generates an automatic ID for the control.
private generateAutomaticID ( )
    private function generateAutomaticID()
    {
        $this->_flags &= ~self::IS_ID_SET;
        if (!isset($this->_namingContainer->_rf[self::RF_NAMED_CONTROLS_ID])) {
            $this->_namingContainer->_rf[self::RF_NAMED_CONTROLS_ID] = 0;
        }
        $id = $this->_namingContainer->_rf[self::RF_NAMED_CONTROLS_ID]++;
        $this->_id = self::AUTOMATIC_ID_PREFIX . $id;
        $this->_namingContainer->clearNameTable();
    }
TControl