From 52e5c0d6f24739ae552ffa5b123857a73fd0e8af Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 27 Aug 2007 21:31:04 +0000 Subject: added more comments. --- framework/Web/UI/WebControls/TKeyboard.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'framework/Web/UI/WebControls/TKeyboard.php') diff --git a/framework/Web/UI/WebControls/TKeyboard.php b/framework/Web/UI/WebControls/TKeyboard.php index bc701331..58af07ce 100644 --- a/framework/Web/UI/WebControls/TKeyboard.php +++ b/framework/Web/UI/WebControls/TKeyboard.php @@ -159,11 +159,17 @@ class TKeyboard extends TWebControl $cs->registerEndScript('prado:'.$this->getClientID(), "new $className($options);"); } + /** + * @return string the Javascript class name for this control + */ protected function getClientClassName() { return 'Prado.WebUI.TKeyboard'; } + /** + * @return array the JavaScript options for this control + */ protected function getClientOptions() { if(($forControl=$this->getForControl())==='') -- cgit v1.2.3