From c4bfd9c55f00407bfdb9eec59dcf71a9016cd704 Mon Sep 17 00:00:00 2001 From: knut <> Date: Wed, 13 Jun 2007 12:16:39 +0000 Subject: fixed #649 --- framework/Web/THttpRequest.php | 2 +- framework/Web/UI/TControl.php | 2 +- framework/Web/UI/TTemplateControl.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'framework/Web') diff --git a/framework/Web/THttpRequest.php b/framework/Web/THttpRequest.php index 6ae95ab3..ef0660cc 100644 --- a/framework/Web/THttpRequest.php +++ b/framework/Web/THttpRequest.php @@ -828,7 +828,7 @@ class THttpCookieCollection extends TList $this->_o->addCookie($item); } else - throw new TInvalidDataTypeException('authorizationrulecollection_authorizationrule_required'); + throw new TInvalidDataTypeException('httpcookiecollection_httpcookie_required'); } /** diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index 987b5665..cd24de41 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -112,7 +112,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable * Indexes for the rare fields. * In order to save memory, rare fields will only be created if they are needed. */ - const RF_CONTROLS=0; // cihld controls + const RF_CONTROLS=0; // child controls const RF_CHILD_STATE=1; // child state field const RF_NAMED_CONTROLS=2; // list of controls whose namingcontainer is this control const RF_NAMED_CONTROLS_ID=3; // counter for automatic id diff --git a/framework/Web/UI/TTemplateControl.php b/framework/Web/UI/TTemplateControl.php index c8ccaea8..0ebe933e 100644 --- a/framework/Web/UI/TTemplateControl.php +++ b/framework/Web/UI/TTemplateControl.php @@ -124,7 +124,7 @@ class TTemplateControl extends TCompositeControl /** * Creates child controls. - * This method is overriden to load and instantiate control template. + * This method is overridden to load and instantiate control template. * This method should only be used by framework and control developers. */ public function createChildControls() -- cgit v1.2.3