diff options
author | xue <> | 2007-08-27 21:31:04 +0000 |
---|---|---|
committer | xue <> | 2007-08-27 21:31:04 +0000 |
commit | 52e5c0d6f24739ae552ffa5b123857a73fd0e8af (patch) | |
tree | fdd55ba418f6641d796f7aa4fba839b463bd940c /framework/Web/UI/WebControls/TKeyboard.php | |
parent | 911fe8d3ee23f0a70d1771f11514de3698c0d1b1 (diff) |
added more comments.
Diffstat (limited to 'framework/Web/UI/WebControls/TKeyboard.php')
-rw-r--r-- | framework/Web/UI/WebControls/TKeyboard.php | 6 |
1 files changed, 6 insertions, 0 deletions
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())==='')
|