summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/THttpRequest.php2
-rw-r--r--framework/Web/UI/TControl.php2
-rw-r--r--framework/Web/UI/TTemplateControl.php2
3 files changed, 3 insertions, 3 deletions
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()