Prado\Web\UI\WebControls\TKeyboard::registerClientScript PHP Method

registerClientScript() protected method

Registers the relevant JavaScript.
protected registerClientScript ( )
    protected function registerClientScript()
    {
        $options = TJavaScript::encode($this->getClientOptions());
        $className = $this->getClientClassName();
        $cs = $this->getPage()->getClientScript();
        $cs->registerPradoScript('keyboard');
        $cs->registerEndScript('prado:' . $this->getClientID(), "new {$className}({$options});");
    }