From f1f33db1f85c0893205a4a00c203d884dc1af1a5 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 10 Sep 2006 01:03:56 +0000 Subject: Changed TCallbackEventParameter::Parameter to TCallbackEventParameter::CallbackParameter Add TActiveButton and TActiveCheckBox quickstart docs. --- framework/Web/UI/ActiveControls/TAutoComplete.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'framework/Web/UI/ActiveControls/TAutoComplete.php') diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php index dadb723a..080bb410 100644 --- a/framework/Web/UI/ActiveControls/TAutoComplete.php +++ b/framework/Web/UI/ActiveControls/TAutoComplete.php @@ -29,7 +29,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); * * The list of suggestions should be set in the {@link onSuggestion OnSuggestion} * event handler. The partial word to match the suggestion is in the - * {@link TCallbackEventParameter::getParameter TCallbackEventParameter::Parameter} + * {@link TCallbackEventParameter::getCallbackParameter TCallbackEventParameter::CallbackParameter} * property. The datasource of the TAutoComplete must be set using {@link setDataSource} * method. This sets the datasource for the suggestions repeater, available through * the {@link getSuggestions Suggestions} property. Header, footer templates and @@ -41,7 +41,7 @@ Prado::using('System.Web.UI.ActiveControls.TActiveTextBox'); * * function autocomplete_suggestion($sender, $param) * { - * $token = $param->getParameter(); //the partial word to match + * $token = $param->getCallbackParameter(); //the partial word to match * $sender->setDataSource($this->getSuggestionsFor($token)); //set suggestions * $sender->dataBind(); * $sender->render($param->getNewWriter()); //sends suggestion back to browser. @@ -138,7 +138,7 @@ class TAutoComplete extends TActiveTextBox implements INamingContainer */ public function raiseCallbackEvent($param) { - $token = $param->getParameter(); + $token = $param->getCallbackParameter(); if(is_array($token) && count($token) == 2 && $token[1] === '__TAutoComplete_onSuggest__') { $parameter = new TCallbackEventParameter($this->getResponse(), $token[0]); -- cgit v1.2.3