diff options
author | knut <> | 2007-05-30 23:27:00 +0000 |
---|---|---|
committer | knut <> | 2007-05-30 23:27:00 +0000 |
commit | c3a72002383cb3de9bdcff09214bb757b2bc5e46 (patch) | |
tree | 9c8c1fa0f4d83e38c46ba4485f849a2f5d218311 /framework/Util | |
parent | f71f9562d2ed0839f48bbf1bda7a80d0bc157778 (diff) |
fixing small typos in the API documentation
Diffstat (limited to 'framework/Util')
-rw-r--r-- | framework/Util/TDataFieldAccessor.php | 8 | ||||
-rw-r--r-- | framework/Util/TDateTimeStamp.php | 2 | ||||
-rw-r--r-- | framework/Util/TSimpleDateFormatter.php | 2 | ||||
-rw-r--r-- | framework/Util/TVarDumper.php | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/framework/Util/TDataFieldAccessor.php b/framework/Util/TDataFieldAccessor.php index 159ec950..b5c65044 100644 --- a/framework/Util/TDataFieldAccessor.php +++ b/framework/Util/TDataFieldAccessor.php @@ -19,9 +19,9 @@ * and the corresponding element value is returned;
* - If the data is a TMap or TList object, then the field is treated as a key
* into the map or list, and the corresponding value is returned.
- * - If the data is an object, the field is treated as a property or subproperty
+ * - If the data is an object, the field is treated as a property or sub-property
* defined with getter methods. For example, if the object has a method called
- * getMyValue(), then field 'MyValue' will retrive the result of this method call.
+ * getMyValue(), then field 'MyValue' will retrieve the result of this method call.
* If getMyValue() returns an object which contains a method getMySubValue(),
* then field 'MyValue.MySubValue' will return that method call result.
*
@@ -38,9 +38,9 @@ class TDataFieldAccessor * and the corresponding element value is returned;
* - If the data is a TMap or TList object, then the field is treated as a key
* into the map or list, and the corresponding value is returned.
- * - If the data is an object, the field is treated as a property or subproperty
+ * - If the data is an object, the field is treated as a property or sub-property
* defined with getter methods. For example, if the object has a method called
- * getMyValue(), then field 'MyValue' will retrive the result of this method call.
+ * getMyValue(), then field 'MyValue' will retrieve the result of this method call.
* If getMyValue() returns an object which contains a method getMySubValue(),
* then field 'MyValue.MySubValue' will return that method call result.
* @param mixed data containing the field value, can be an array, TMap, TList or object.
diff --git a/framework/Util/TDateTimeStamp.php b/framework/Util/TDateTimeStamp.php index 230d97d2..2b406cc9 100644 --- a/framework/Util/TDateTimeStamp.php +++ b/framework/Util/TDateTimeStamp.php @@ -200,7 +200,7 @@ class TDateTimeStamp * Low-level function that returns the getdate() array. We have a special
* $fast flag, which if set to true, will return fewer array values,
* and is much faster as it does not calculate dow, etc.
- * @param float orginal date
+ * @param float original date
* @param boolean false to compute the day of the week, default is true
* @param boolean true to calculate the GMT dates
* @return array an array with date info.
diff --git a/framework/Util/TSimpleDateFormatter.php b/framework/Util/TSimpleDateFormatter.php index 50ca0097..7eac630e 100644 --- a/framework/Util/TSimpleDateFormatter.php +++ b/framework/Util/TSimpleDateFormatter.php @@ -351,7 +351,7 @@ class TSimpleDateFormatter * @param int starting position
* @param int minimum integer length
* @param int maximum integer length
- * @return string integer portition of the string, null otherwise
+ * @return string integer portion of the string, null otherwise
*/
private function getInteger($str,$i,$minlength,$maxlength)
{
diff --git a/framework/Util/TVarDumper.php b/framework/Util/TVarDumper.php index e16309c3..72591355 100644 --- a/framework/Util/TVarDumper.php +++ b/framework/Util/TVarDumper.php @@ -15,7 +15,7 @@ *
* TVarDumper is intended to replace the buggy PHP function var_dump and print_r.
* It can correctly identify the recursively referenced objects in a complex
- * object structure. It also has a recurisve depth control to avoid indefinite
+ * object structure. It also has a recursive depth control to avoid indefinite
* recursive display of some peculiar variables.
*
* TVarDumper can be used as follows,
|