Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed typos

  • Loading branch information...
commit 644931d8720c3588858aa1b471870767e079bfd5 1 parent c1047df
@pborreli pborreli authored jaugustin committed
Showing with 343 additions and 340 deletions.
  1. +17 −17 CHANGELOG
  2. +2 −2 generator/bin/phing.php
  3. +2 −2 generator/build-propel.xml
  4. +9 −9 generator/build.properties-sample
  5. +1 −1  generator/build.xml
  6. +2 −2 generator/default.properties
  7. +1 −1  generator/lib/behavior/TimestampableBehavior.php
  8. +1 −1  generator/lib/behavior/nestedset/NestedSetBehaviorObjectBuilderModifier.php
  9. +1 −1  generator/lib/behavior/sluggable/SluggableBehavior.php
  10. +1 −1  generator/lib/behavior/versionable/VersionableBehaviorObjectBuilderModifier.php
  11. +2 −2 generator/lib/builder/om/ClassTools.php
  12. +3 −1 generator/lib/builder/om/ExtensionQueryBuilder.php
  13. +2 −2 generator/lib/builder/om/ExtensionQueryInheritanceBuilder.php
  14. +1 −0  generator/lib/builder/om/OMBuilder.php
  15. +1 −1  generator/lib/builder/om/ObjectBuilder.php
  16. +1 −1  generator/lib/builder/om/PHP5ExtensionNodeBuilder.php
  17. +1 −1  generator/lib/builder/om/PHP5ExtensionNodePeerBuilder.php
  18. +1 −1  generator/lib/builder/om/PHP5ExtensionObjectBuilder.php
  19. +1 −1  generator/lib/builder/om/PHP5ExtensionPeerBuilder.php
  20. +1 −1  generator/lib/builder/om/PHP5InterfaceBuilder.php
  21. +2 −2 generator/lib/builder/om/PHP5MultiExtendObjectBuilder.php
  22. +1 −1  generator/lib/builder/om/PHP5NestedSetBuilder.php
  23. +2 −2 generator/lib/builder/om/PHP5NestedSetPeerBuilder.php
  24. +52 −52 generator/lib/builder/om/PHP5NodeBuilder.php
  25. +1 −1  generator/lib/builder/om/PHP5NodePeerBuilder.php
  26. +22 −22 generator/lib/builder/om/PHP5ObjectBuilder.php
  27. +1 −1  generator/lib/builder/om/PHP5ObjectNoCollectionBuilder.php
  28. +5 −5 generator/lib/builder/om/PHP5PeerBuilder.php
  29. +1 −1  generator/lib/builder/om/PHP5TableMapBuilder.php
  30. +6 −6 generator/lib/builder/om/QueryBuilder.php
  31. +2 −2 generator/lib/builder/om/QueryInheritanceBuilder.php
  32. +1 −1  generator/lib/builder/sql/DataSQLBuilder.php
  33. +1 −1  generator/lib/builder/sql/pgsql/PgsqlDataSQLBuilder.php
  34. +1 −1  generator/lib/builder/util/DefaultEnglishPluralizer.php
  35. +1 −1  generator/lib/builder/util/PropelStringReader.php
  36. +1 −1  generator/lib/builder/util/PropelTemplate.php
  37. +1 −1  generator/lib/builder/util/XmlToDataSQL.php
  38. +3 −3 generator/lib/model/AppData.php
  39. +1 −1  generator/lib/model/Behavior.php
  40. +3 −3 generator/lib/model/Column.php
  41. +1 −1  generator/lib/model/ColumnDefaultValue.php
  42. +1 −1  generator/lib/model/ConstraintNameGenerator.php
  43. +3 −3 generator/lib/model/Database.php
  44. +2 −2 generator/lib/model/Domain.php
  45. +1 −1  generator/lib/model/ForeignKey.php
  46. +5 −5 generator/lib/model/Inheritance.php
  47. +1 −1  generator/lib/model/NameFactory.php
  48. +1 −1  generator/lib/model/PhpNameGenerator.php
  49. +3 −3 generator/lib/model/PropelTypes.php
  50. +1 −1  generator/lib/model/Rule.php
  51. +3 −3 generator/lib/model/ScopedElement.php
  52. +4 −4 generator/lib/model/Table.php
  53. +2 −2 generator/lib/model/VendorInfo.php
  54. +2 −2 generator/lib/model/diff/PropelTableComparator.php
  55. +1 −1  generator/lib/platform/DefaultPlatform.php
  56. +1 −1  generator/lib/platform/PgsqlPlatform.php
  57. +1 −1  generator/lib/platform/PropelPlatformInterface.php
  58. +1 −0  generator/lib/reverse/SchemaParser.php
  59. +0 −1  generator/lib/reverse/mssql/MssqlSchemaParser.php
  60. +1 −0  generator/lib/reverse/oracle/OracleSchemaParser.php
  61. +0 −1  generator/lib/reverse/sqlite/SqliteSchemaParser.php
  62. +5 −5 generator/lib/task/AbstractPropelDataModelTask.php
  63. +1 −1  generator/lib/task/PropelConvertConfTask.php
  64. +3 −3 generator/lib/task/PropelDataDumpTask.php
  65. +1 −1  generator/lib/task/PropelDataSQLTask.php
  66. +1 −1  generator/lib/task/PropelGraphvizTask.php
  67. +4 −4 generator/lib/task/PropelSQLExec.php
  68. +3 −3 generator/resources/xsd/database.xsd
  69. +1 −1  generator/resources/xsl/database.xsl
  70. +1 −1  runtime/lib/Propel.php
  71. +4 −4 runtime/lib/adapter/DBAdapter.php
  72. +1 −1  runtime/lib/adapter/DBMSSQL.php
  73. +4 −4 runtime/lib/collection/PropelOnDemandCollection.php
  74. +1 −1  runtime/lib/collection/PropelOnDemandIterator.php
  75. +4 −3 runtime/lib/config/PropelConfiguration.php
  76. +2 −2 runtime/lib/connection/PropelPDO.php
  77. +0 −2  runtime/lib/map/RelationMap.php
  78. +3 −3 runtime/lib/map/TableMap.php
  79. +1 −1  runtime/lib/map/ValidatorMap.php
  80. +2 −2 runtime/lib/om/BaseObject.php
  81. +3 −3 runtime/lib/om/NodeObject.php
  82. +10 −10 runtime/lib/query/Criteria.php
  83. +3 −3 runtime/lib/query/Criterion.php
  84. +11 −11 runtime/lib/query/ModelCriteria.php
  85. +6 −5 runtime/lib/query/ModelCriterion.php
  86. +1 −1  runtime/lib/util/NodePeer.php
  87. +1 −1  runtime/lib/util/PropelColumnTypes.php
  88. +1 −1  runtime/lib/util/PropelConditionalProxy.php
  89. +1 −1  runtime/lib/util/PropelDateTime.php
  90. +1 −1  runtime/lib/util/PropelModelPager.php
  91. +1 −1  runtime/lib/validator/MatchValidator.php
  92. +1 −1  runtime/lib/validator/MaxLengthValidator.php
  93. +1 −1  runtime/lib/validator/MinLengthValidator.php
  94. +1 −1  runtime/lib/validator/NotMatchValidator.php
  95. +1 −1  runtime/lib/validator/TypeValidator.php
  96. +1 −1  runtime/lib/validator/ValidationFailed.php
  97. +1 −1  test/fixtures/bookstore-packaged/build.properties
  98. +1 −1  test/fixtures/bookstore/build.properties
  99. +1 −1  test/fixtures/namespaced/build.properties
  100. +2 −2 test/fixtures/nestedset/build.properties
  101. +1 −1  test/testsuite/generator/behavior/i18n/I18nBehaviorObjectBuilderModifierTest.php
  102. +2 −2 test/testsuite/generator/behavior/i18n/I18nBehaviorTest.php
  103. +1 −1  test/testsuite/generator/behavior/nestedset/NestedSetBehaviorObjectBuilderModifierTest.php
  104. +2 −2 test/testsuite/generator/behavior/nestedset/NestedSetBehaviorQueryBuilderModifierTest.php
  105. +1 −1  test/testsuite/generator/behavior/nestedset/NestedSetBehaviorQueryBuilderModifierWithScopeTest.php
  106. +1 −1  test/testsuite/generator/behavior/sluggable/SluggableBehaviorTest.php
  107. +1 −1  test/testsuite/generator/behavior/sortable/SortableBehaviorObjectBuilderModifierTest.php
  108. +2 −2 test/testsuite/generator/builder/NamespaceTest.php
  109. +1 −1  test/testsuite/generator/builder/om/GeneratedNestedSetObjectTest.php
  110. +1 −1  test/testsuite/generator/builder/om/GeneratedNestedSetPeerTest.php
  111. +1 −1  test/testsuite/generator/builder/om/GeneratedNestedSetTest.php
  112. +1 −1  test/testsuite/generator/builder/om/GeneratedObjectLobTest.php
  113. +3 −3 test/testsuite/generator/builder/om/GeneratedObjectRelTest.php
  114. +2 −2 test/testsuite/generator/builder/om/GeneratedObjectTest.php
  115. +2 −2 test/testsuite/generator/builder/om/GeneratedObjectWithFixturesTest.php
  116. +2 −2 test/testsuite/generator/builder/om/GeneratedPeerDoDeleteTest.php
  117. +1 −1  test/testsuite/generator/builder/om/GeneratedPeerDoSelectTest.php
  118. +1 −1  test/testsuite/generator/builder/om/GeneratedPeerTest.php
  119. +2 −2 test/testsuite/generator/builder/om/PHP5TableMapBuilderTest.php
  120. +5 −5 test/testsuite/generator/builder/om/QueryBuilderTest.php
  121. +1 −1  test/testsuite/generator/model/PhpNameGeneratorTest.php
  122. +1 −1  test/testsuite/generator/model/diff/PropelColumnComparatorTest.php
  123. +1 −1  test/testsuite/generator/util/PropelSchemaValidatorTest.php
  124. +1 −1  test/testsuite/misc/CharacterEncodingTest.php
  125. +1 −1  test/testsuite/runtime/collection/PropelArrayCollectionTest.php
  126. +2 −2 test/testsuite/runtime/collection/PropelObjectCollectionWithFixturesTest.php
  127. +1 −1  test/testsuite/runtime/connection/PropelPDOTest.php
  128. +2 −2 test/testsuite/runtime/map/TableMapTest.php
  129. +1 −1  test/testsuite/runtime/query/CriteriaTest.php
  130. +4 −4 test/testsuite/runtime/query/ModelCriteriaTest.php
  131. +2 −2 test/testsuite/runtime/query/SubQueryTest.php
  132. +4 −4 test/testsuite/runtime/util/BasePeerTest.php
  133. +3 −3 test/testsuite/runtime/validator/ValidatorTest.php
  134. +1 −1  test/tools/helpers/bookstore/behavior/AddClassBehaviorBuilder.php
View
34 CHANGELOG
@@ -15,7 +15,7 @@ b2458cb Docblock fixes and one assignment typo
57bf351 Changed the signature of generated "getOMClass()" functions to a more generic form to be compatible with Concrete Inheritance Behaviour (as of: https://github.com/propelorm/Propel/issues/563#issuecomment-13036863).
85a92dd updated phing dependency to latest minor release, using tilde operator
799b71d MySQL throws an 'Incorrect table definition; there can be only one auto column and it must be defined as a key' if the primary key consists of multiple columns and if the first is not the autoIncrement one. So this push the autoIncrement column to the first position if its not already.
-b9440ea In the Task `PorpelSQLDiffTask` the `disableIdentifierQuoting` build property was not handled.
+b9440ea In the Task `PropelSQLDiffTask` the `disableIdentifierQuoting` build property was not handled.
c09ef55 `setNegativeScope` does not return anything.
39ad25d Coding style, comments adjusted and removed unused variable.
4cbf8a8 Removed limitation where we can only move branches inside the same scope.
@@ -77,7 +77,7 @@ f860b20 sortable behavior: fixed rank shifting on delete when there are no relat
6966cd9 fix #500 update composer.json force phing 2.4.12
22b7ef5 Fix a few typos
8bba368 Fix wrong escape of $con
-d55ce56 Fix single inheritance class choise error when orbject is create by findOneOrCreate function
+d55ce56 Fix single inheritance class choice error when object is create by findOneOrCreate function
54df08d Fix test files (password introduced by error)
1bf96f2 Active identifier quoting by default, and fix it
1eb07b8 Enable identifier quoting
@@ -94,7 +94,7 @@ e66636c Fix PropelCollection::toArray()
9ce1af4 Fix fixtures to avoid error (mysql safe mode)
ecf2bc4 Fix travis setup
2345aaa allow unsetting lazy load columns without loading
-b692286 Remove accidentaly added space
+b692286 Remove accidentally added space
725518f Fix the 'Table "t1" declared twice' when same table name are declared on different schema fix #311
ed54050 sortable behavior: removed getting $con in moveRelatedObjectsToNullScope()
4c369ba sortable behavior: changed moveRelatedObjectsToNullScope() to use already existing getMaxRank() method and fixed bug in shiftRank()
@@ -122,7 +122,7 @@ f9e3c77 Fix i18n behavior with table prefix. Fixes #423
ddf5b70 Fix #433
56c13d7 Fix typo in the database.xsd file
ebcdff1 Updated the Table class to not use the schema prefix as part of the phpName. Fixes issue #5. Changed DelegateBehaviorTest to not us
-0f95b75 adds tests for i18n_pk_name option, checking columns names and fk building throught table and i19n.
+0f95b75 adds tests for i18n_pk_name option, checking columns names and fk building through table and i19n.
1c99e1d adds a test for i18n_pk_name schema option
fc153d0 add a new option for customizing the i18n table pk column name
6d31fa6 Fix QuickBuilder, QuickGenerator
@@ -201,9 +201,9 @@ ca773b3 fix several phpDoc and type hints
0661d18 fix #378 change for self::PEER
70e572b add enforceVersioning
3b15493 Fixed propel-gen script
-3849529 [Timestampable] Maded 'updated_at' column optional using a parameter. Fixes #370
+3849529 [Timestampable] Made 'updated_at' column optional using a parameter. Fixes #370
ee711c7 Added bin-info in the composer Added bin-feature as described on http://getcomposer.org/doc/articles/vendor-bins.md
-88b8b48 fix remove one-to-many, add test for one-to-mmany
+88b8b48 fix remove one-to-many, add test for one-to-many
a5d3096 fix rebase code duplication
a1f26b5 fix setter one-to-many schedule for deletion, fix remove many-to-many
b1f993a fix CS
@@ -269,7 +269,7 @@ cd69910 Preparing the 1.6.5 release
45e5c3e Merge pull request #315 from ddalmais/feat-explain-plan
4e72771 Merge pull request #324 from K-Phoen/fix-versioning-inheritance
9f80f8b Fix: versioning tables with inheritance
-7769218 Add: some usefull methods to Versionable objects
+7769218 Add: some useful methods to Versionable objects
45f2924 Fix PropelModelPager::getLastPage() return type.
4cb3e5e Fix CS
4c8d9ac Use assertArrayHasKey instead of assertTrue
@@ -283,7 +283,7 @@ aeeb66d Fix text formatting
d54388a Remove forced database read connection Oracle must write explain plan in PLAN_TABLE
e4c3de1 Fix phpdoc function title
f62cba4 Enable to get the connection name in log
-a8c55fd Enable doExplainPlan to take a binded query
+a8c55fd Enable doExplainPlan to take a bound query
00bcc96 Fix text in ExplainPlanTest
2f6a4fa Add explain plan unit test on mysql bookstore
9f16429 Add explain function use adapter specific doExplainPlan function
@@ -438,7 +438,7 @@ bdb2e32 this fix an issue with the propelorm/propelbundle#62
* [14bcdaf] [turbo behavior] Bugfix for namespaced classes and query_cache behavior
* [5bd66f6] [turbo behavior] Move the findPk() acceleration to the core. The behavior now only accelerates doInsert() (until we find a way to marge this into the core, too).
* [d231655] Revert "Fixed the name of generated SQL files if package contains slashes"
-* [01b03f7] [turbo behavior] Use the correct binding code in accelerated findPk(). This is to accomodate cases where PK columns have special bindings (like timestamps... ot blobs, who knows). I took advantage of this to refactor the custom binding code in the adapters.
+* [01b03f7] [turbo behavior] Use the correct binding code in accelerated findPk(). This is to accommodate cases where PK columns have special bindings (like timestamps... ot blobs, who knows). I took advantage of this to refactor the custom binding code in the adapters.
* [977dcd0] [turbo behavior] Refactor ModelCriteria::find(), findOne(), and findPk() to allow preSelect() hook to be called just like the other model hooks. This refactoring allows the turbo behavior to accelerate findPk() on every model, even those using a preSelect() hook. It also harmonizes the AR and Query apis: just like ActiveRecord::save() calls doInsert() or doUpdate(), ActiveQuery::find() calls doSelect(), and ActiveQuery::count() calls doCount().
* [a9a2f0e] [turbo behavior] slightly better way to have binding type and value preparation depending on the platform
* [9b0690f] [turbo behavior] Change insert acceleration strategy to allow exotic bindings. This is necessary to let Oracle, for instance, use bindParam() instead of bindValue() for CLOBs.
@@ -528,7 +528,7 @@ bdb2e32 this fix an issue with the propelorm/propelbundle#62
* [3fd6823] [archivable behavior] Fixed a rare bug in `ModelCriteria::update()` causing "undefined index: datasources" error message
* [b818915] [archivable behavior] Added generated ActiveQuery::archive() method
* [f1a163d] [archivable behavior] split ArchivableBehavior class to make it more readable and ready for future additions
-* [5d6e4b0] [archivable behavior] Added the ability to use a cutom archive class.
+* [5d6e4b0] [archivable behavior] Added the ability to use a custom archive class.
* [5088e39] [archivable behavior] Added generated ActiveRecord::populateFromArchive() method
* [182af0c] [archivable behavior] Initial commit
* [ce59915] [Tests] More tests for MysqlSchemaParser
@@ -559,7 +559,7 @@ bdb2e32 this fix an issue with the propelorm/propelbundle#62
* [67a77bf] Fixed bug in PhpNameGenerator. The default name convertor for table and column names is NameGenerator::CONV_METHOD_UNDERSCORE. This method has a slight bug resulting in an incorrect phpName for table using "_0" as a prefix:
* [04fe003] fix usage of undefined variable
* [ceb610f] `level` is reserved keywork in oracle
-* [57a0f2c] pass vendor`s type to VentorInfo::__construct in XMLElement::getVendorInfoForType()
+* [57a0f2c] pass vendor`s type to VendorInfo::__construct in XMLElement::getVendorInfoForType()
* [a3aaa76] detect autoincrement via sequences
* [7c84546] [delegate behavior] Documented the fact that, finally, delegate behavior can handle inheritance over several levels
* [8290ed5] [delegate behavior] Changed class table inheritance examples to show that the behavior is much more powerful than previously thought. Refs #40
@@ -573,7 +573,7 @@ bdb2e32 this fix an issue with the propelorm/propelbundle#62
* [197b533] documented the delegate behavior
* [ca09d1d] Introducing Delegate behavior, for class table inheritance fans
* [a78212c] Fixed bad formatting in generated query classes
-* [184e63f] Removed __call() from generted ActiveRecord classes.
+* [184e63f] Removed __call() from generated ActiveRecord classes.
* [0e454c5] Avoid getClassname() to trigger registered autoloaders for nothing.
* [74cd5eb] Added the ability to define full qualified classnames in build properties.
* [e1662d0] Reverted change on the TINYINT default size (MysqlSchemaParser)
@@ -588,7 +588,7 @@ bdb2e32 this fix an issue with the propelorm/propelbundle#62
* [73a7d21] Fixed phpdoc in validator/
* [10f5dd5] Added unit tests for issue #35 and PR #37
* [9e62f3c] One-line fix for issue #35 (https://github.com/propelorm/Propel/issues/35)
-* [e84f5fa] Set limit parameter to 0 (like intially done) if clear() is called
+* [e84f5fa] Set limit parameter to 0 (like initially done) if clear() is called
* [b377ebf] Added unit tests for Criteria methods: clear() and limit()
* [5ce8fa7] Remove unneeded @returns, Fix @param order
* [176c68f] Fix typo on docblock
@@ -614,10 +614,10 @@ bdb2e32 this fix an issue with the propelorm/propelbundle#62
* [3dcd7b2] reproduced default isModified() logic for other mutators
* [e1ed026] Fix for ActiveRecord::isModified() in limit cases with default values
* [5f2ff4e] added missing validator in autoload map
-* [7164161] Remove rewind on CLOB to fixe warning
-* [4eb059d] Fixe CS + restore BLOB insert + Add rewind before CLOB bindParam
+* [7164161] Remove rewind on CLOB to fix warning
+* [4eb059d] Fixed CS + restore BLOB insert + Add rewind before CLOB bindParam
* [e693f62] Fixed Error in logic of _if/_elseif/_else. Based on a patch by lvu, updated to Propel standards. Closes #12
-* [6f536c6] Fixe Oracle CLOB save by using PDO bindParam
+* [6f536c6] Fixed Oracle CLOB save by using PDO bindParam
* [ea8f4c8] [1.6] Fixed failing test after updating test schema (refs #1319)
* [258799f] [1.6] Fixed undefined method error when calling with() on a ModelCriteria having a relation with a special name (closes #1477)
* [9eac2ed] [1.6] Fixed logging of methods (refs #1468)
@@ -661,7 +661,7 @@ bdb2e32 this fix an issue with the propelorm/propelbundle#62
* [2293] Fixed `forceDelete()` enables soft delete behavior even when disabled (closes #1404)
* [2292] Fixed tests under PHP 5.2 (closes #1388)
* [2291] Fixed minor formatting issue in generated Peer class
-* [2290] Fixed generated column filters for enum columns when passed an arry (closes #1381)
+* [2290] Fixed generated column filters for enum columns when passed an array (closes #1381)
* [2289] Fixed strict standards error in soft delete behavior (closes #1398)
* [2288] Added missing `findRoots()` method to nested_set behavior with scope (closes #1397)
* [2287] Fixed bad binding with SQLSRV adapter (refs #1199) (closes #1400)
View
4 generator/bin/phing.php
@@ -2,7 +2,7 @@
<?php
/**
- * This is the Phing command line launcher. It starts up the system evironment
+ * This is the Phing command line launcher. It starts up the system environment
* tests for all important paths and properties and kicks of the main command-
* line entry point of phing located in phing.Phing
* @version $Revision: 552 $
@@ -12,7 +12,7 @@
// ---------------------------
$dirname = dirname(__FILE__);
-$autolaoded = false;
+$autoloaded = false;
foreach (array($dirname . '/../../', $dirname . '/../../../../../') as $dir) {
if (file_exists($file = realpath($dir) . '/vendor/autoload.php')) {
set_include_path($dir . '/vendor/phing/phing/classes' . PATH_SEPARATOR . get_include_path() );
View
4 generator/build-propel.xml
@@ -27,7 +27,7 @@
<!--
The default.properties file will map old properties to the new ones along
- with setting the corret defaults.
+ with setting the correct defaults.
-->
<property file="${propel.home}/default.properties"/>
@@ -133,7 +133,7 @@
</target>
<!-- temporary target to check whether postgres is being used with identifier quoting ON.
- If so, a warning is issued, since identifier quoting is only paritally implemented & this point. -->
+ If so, a warning is issued, since identifier quoting is only partially implemented & this point. -->
<target name="pgsql-quoting-check">
<if>
<and>
View
18 generator/build.properties-sample
@@ -6,7 +6,7 @@
# This file contains some example properties. Ideally properties
# should be specified in the project-specific build.properties file;
# however, this file can be used to specify non-default properties
-# that you would like to use accross all of your Propel projects.
+# that you would like to use across all of your Propel projects.
# -------------------------------------------------------------------
#
@@ -19,7 +19,7 @@ propel.home = .
# -------------------------------------------------------------------
# This is the name of your Propel project. The name of your Propel
# project is used (by default) to determine where the generator will
-# find needed configuration files and will place resuilting build
+# find needed configuration files and will place resulting build
# files. E.g. if your project is named 'killerapp', Propel will
# look here for schema.xml and runtime-conf.xml files:
#
@@ -27,7 +27,7 @@ propel.home = .
#
# -------------------------------------------------------------------
-# You can set this here, but it's preferrable to set this in a
+# You can set this here, but it's preferable to set this in a
# project-specific build.properties file.
#
# propel.project = bookstore
@@ -43,7 +43,7 @@ propel.home = .
# mssql, mysql, oracle, pgsql, sqlite
# -------------------------------------------------------------------
-# You can set this here, but it's preferrable to set this in a
+# You can set this here, but it's preferable to set this in a
# project-specific build.properties file.
#
# propel.database = mysql
@@ -73,7 +73,7 @@ propel.home = .
#
# complexObjectModel
# If true, Propel generates data objects with collection support and
-# methods to easily retreive foreign key relationships.
+# methods to easily retrieve foreign key relationships.
#
# targetPackage
# Sets the PHP "package" the om files will generated to, e.g.
@@ -111,10 +111,10 @@ propel.packageObjectModel = false
#
# -------------------------------------------------------------------
# PDO connection settings. These connection settings are used by
-# build tagets that perform database operations (e.g. 'insert-sql',
+# build targets that perform database operations (e.g. 'insert-sql',
# 'reverse').
#
-# You can set them here, but it's preferrable to set these properties
+# You can set them here, but it's preferable to set these properties
# in a project-specific build.properties file.
#
@@ -124,7 +124,7 @@ propel.packageObjectModel = false
# propel.database.driver = creole.drivers.sqlite.SQLiteConnection
# Note that if you do not wish to specify the database (e.g. if you
-# are using multiple databses) you can use the @DB@ token which
+# are using multiple databases) you can use the @DB@ token which
# will be replaced with a database at runtime.
#
# propel.database.url = mysql:host=$host;dbname=$database
@@ -136,7 +136,7 @@ propel.packageObjectModel = false
# Use the URL below to specify a DSN to used to create the database.
# Note that this URL should not contain the database name, as you will
# get an error if the database does not exist.
-# (This does not apply to SQLite since the databse is automatically created
+# (This does not apply to SQLite since the database is automatically created
# when the connection is made -- if it does not already exist.)
#
# propel.database.createUrl = mysql:host=$host;dbname=$database
View
2  generator/build.xml
@@ -105,7 +105,7 @@
<echo message="This will attempt to find your project directory in"/>
<echo message="the default directory (./projects/bookstore)."/>
<echo message=" "/>
- <echo message="You can also avoid this message and specicfy a custom "/>
+ <echo message="You can also avoid this message and specify a custom "/>
<echo message="directory, using the project.dir property:"/>
<echo message=" "/>
<echo message="-Dproject.dir=/path/to/bookstore"/>
View
4 generator/default.properties
@@ -60,8 +60,8 @@ propel.database.schema =
propel.database.encoding =
propel.database.manualCreation = false
-# if these arent blank then when we try to connect with insert-sql to a database
-# that doesnt require them and it isnt in the build.properties it sends
+# if these aren't blank then when we try to connect with insert-sql to a database
+# that doesn't require them and it isn't in the build.properties it sends
# the ${blah} for the username and password
propel.database.user =
propel.database.password =
View
2  generator/lib/behavior/TimestampableBehavior.php
@@ -50,7 +50,7 @@ public function modifyTable()
/**
* Get the setter of one of the columns of the behavior
*
- * @param string $column One of the behavior colums, 'create_column' or 'update_column'
+ * @param string $column One of the behavior columns, 'create_column' or 'update_column'
* @return string The related setter, 'setCreatedOn' or 'setUpdatedOn'
*/
protected function getColumnSetter($column)
View
2  generator/lib/behavior/nestedset/NestedSetBehaviorObjectBuilderModifier.php
@@ -1539,7 +1539,7 @@ public function setParentNode(\$parent = null)
}
/**
- * Alias for countDecendants(), for BC with Propel 1.4 nested sets
+ * Alias for countDescendants(), for BC with Propel 1.4 nested sets
*
* @deprecated since 1.5
* @see setParent
View
2  generator/lib/behavior/sluggable/SluggableBehavior.php
@@ -260,7 +260,7 @@ public function addLimitSlugSize(&$script)
$script .= "
/**
- * Make sure the slug is short enough to accomodate the column size
+ * Make sure the slug is short enough to accommodate the column size
*
* @param string \$slug the slug to check
* @param int \$incrementReservedSpace the number of characters to keep empty
View
2  generator/lib/behavior/versionable/VersionableBehaviorObjectBuilderModifier.php
@@ -327,7 +327,7 @@ protected function addToVersion(&$script)
$ARclassName = $this->getActiveRecordClassName();
$script .= "
/**
- * Sets the properties of the curent object to the value they had at a specific version
+ * Sets the properties of the current object to the value they had at a specific version
*
* @param integer \$versionNumber The version number to read
* @param PropelPDO \$con the connection to use
View
4 generator/lib/builder/om/ClassTools.php
@@ -30,7 +30,7 @@ public static function classname($qualifiedName)
} elseif (false !== $pos = strrpos($qualifiedName, '\\')) {
return substr($qualifiedName, $pos + 1);
} else {
- return $qualifiedName; // there is no '.' in the qualifed name
+ return $qualifiedName; // there is no '.' in the qualified name
}
}
@@ -56,7 +56,7 @@ public static function getFilePath($path, $classname = null, $extension = '.php'
}
/**
- * This method remplaces the `getFilePath()` method in OMBuilder as we consider `$path` as
+ * This method replaces the `getFilePath()` method in OMBuilder as we consider `$path` as
* a real path instead of a dot-notation value. `$path` is generated by the `getPackagePath()`
* method.
*
View
4 generator/lib/builder/om/ExtensionQueryBuilder.php
@@ -45,7 +45,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
@@ -114,6 +114,7 @@ protected function addClassClose(&$script)
/**
* Checks whether any registered behavior on that table has a modifier for a hook
* @param string $hookName The name of the hook as called from one of this class methods, e.g. "preSave"
+ * @param string $modifier The name of the modifier object providing the method in the behavior
* @return boolean
*/
public function hasBehaviorModifier($hookName, $modifier = null)
@@ -125,6 +126,7 @@ public function hasBehaviorModifier($hookName, $modifier = null)
* Checks whether any registered behavior on that table has a modifier for a hook
* @param string $hookName The name of the hook as called from one of this class methods, e.g. "preSave"
* @param string &$script The script will be modified in this method.
+ * @param string $tab
*/
public function applyBehaviorModifier($hookName, &$script, $tab = " ")
{
View
4 generator/lib/builder/om/ExtensionQueryInheritanceBuilder.php
@@ -47,7 +47,7 @@ public function getPackage()
}
/**
- * Set the child object that we're operating on currrently.
+ * Set the child object that we're operating on currently.
* @param $child Inheritance
*/
public function setChild(Inheritance $child)
@@ -83,7 +83,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
View
1  generator/lib/builder/om/OMBuilder.php
@@ -524,6 +524,7 @@ public function hasBehaviorModifier($hookName, $modifier)
* @param string $hookName The name of the hook as called from one of this class methods, e.g. "preSave"
* @param string $modifier The name of the modifier object providing the method in the behavior
* @param string &$script The script will be modified in this method.
+ * @param string $tab
*/
public function applyBehaviorModifierBase($hookName, $modifier, &$script, $tab = " ")
{
View
2  generator/lib/builder/om/ObjectBuilder.php
@@ -47,7 +47,7 @@ public function __construct(Table $table)
/**
* Adds the getter methods for the column values.
* This is here because it is probably generic enough to apply to templates being generated
- * in different langauges (e.g. PHP4 and PHP5).
+ * in different languages (e.g. PHP4 and PHP5).
* @param string &$script The script will be modified in this method.
*/
protected function addColumnAccessorMethods(&$script)
View
2  generator/lib/builder/om/PHP5ExtensionNodeBuilder.php
@@ -43,7 +43,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
View
2  generator/lib/builder/om/PHP5ExtensionNodePeerBuilder.php
@@ -43,7 +43,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
View
2  generator/lib/builder/om/PHP5ExtensionObjectBuilder.php
@@ -55,7 +55,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
View
2  generator/lib/builder/om/PHP5ExtensionPeerBuilder.php
@@ -55,7 +55,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
View
2  generator/lib/builder/om/PHP5InterfaceBuilder.php
@@ -41,7 +41,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
View
4 generator/lib/builder/om/PHP5MultiExtendObjectBuilder.php
@@ -46,7 +46,7 @@ public function getPackage()
}
/**
- * Set the child object that we're operating on currrently.
+ * Set the child object that we're operating on currently.
* @param $child Inheritance
*/
public function setChild(Inheritance $child)
@@ -108,7 +108,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
View
2  generator/lib/builder/om/PHP5NestedSetBuilder.php
@@ -52,7 +52,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
View
4 generator/lib/builder/om/PHP5NestedSetPeerBuilder.php
@@ -52,7 +52,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
@@ -1039,7 +1039,7 @@ protected function addGetPath(&$script)
*
* @param $objectClassname \$node Propel object of node to create path to
* @param PropelPDO \$con Connection to use.
- * @return array Array in order of heirarchy
+ * @return array Array in order of hierarchy
*/
public static function getPath(NodeObject \$node, PropelPDO \$con = null)
{
View
104 generator/lib/builder/om/PHP5NodeBuilder.php
@@ -49,7 +49,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
@@ -201,8 +201,8 @@ protected function addCallOverload(&$script)
/**
* Convenience overload for wrapped object methods.
*
- * @param string Method name to call on wrapped object.
- * @param mixed Parameter accepted by wrapped object set method.
+ * @param string \$name Method name to call on wrapped object.
+ * @param mixed \$parms Parameter accepted by wrapped object set method.
* @return mixed Return value of wrapped object method.
* @throws PropelException Fails if method is not defined for wrapped object.
*/
@@ -230,8 +230,8 @@ protected function addSetIteratorOptions(&$script)
* \"querydb\" - True if nodes should be retrieved from database.
* \"con\" - Connection to use if retrieving from database.
*
- * @param string Type of iterator to use (\"pre\", \"post\", \"level\").
- * @param array Map of option name => value.
+ * @param string \$type Type of iterator to use (\"pre\", \"post\", \"level\").
+ * @param array \$opts Map of option name => value.
* @return void
* @todo Implement other iterator types (i.e. post-order, level, etc.)
*/
@@ -249,8 +249,8 @@ protected function addGetIterator(&$script)
/**
* Returns a pre-order iterator for this node and its children.
*
- * @param string Type of iterator to use (\"pre\", \"post\", \"level\")
- * @param array Map of option name => value.
+ * @param string \$type Type of iterator to use (\"pre\", \"post\", \"level\")
+ * @param array \$opts Map of option name => value.
* @return NodeIterator
*/
public function getIterator(\$type = null, \$opts = null)
@@ -338,9 +338,9 @@ protected function addHasChildNode(&$script)
* Returns true if specified node is a child of this node. If recurse is
* true, checks if specified node is a descendant of this node.
*
- * @param ".$this->getStubNodeBuilder()->getClassname()." Node to look for.
- * @param boolean True if strict comparison should be used.
- * @param boolean True if all descendants should be checked.
+ * @param ".$this->getStubNodeBuilder()->getClassname()." \$node Node to look for.
+ * @param boolean \$strict True if strict comparison should be used.
+ * @param boolean \$recurse True if all descendants should be checked.
* @return boolean
*/
public function hasChildNode(\$node, \$strict = false, \$recurse = false)
@@ -367,9 +367,9 @@ protected function addGetChildNodeAt(&$script)
* Returns child node at one-based index. Retrieves from database if not
* loaded yet.
*
- * @param int One-based child node index.
- * @param boolean True if child should be retrieved from database.
- * @param PropelPDO Connection to use if retrieving from database.
+ * @param int \$i One-based child node index.
+ * @param boolean \$querydb True if child should be retrieved from database.
+ * @param PropelPDO \$con Connection to use if retrieving from database.
* @return ".$this->getStubNodeBuilder()->getClassname()."
*/
public function getChildNodeAt(\$i, \$querydb = false, PropelPDO \$con = null)
@@ -397,8 +397,8 @@ protected function addGetFirstChildNode(&$script)
/**
* Returns first child node (if any). Retrieves from database if not loaded yet.
*
- * @param boolean True if child should be retrieved from database.
- * @param PropelPDO Connection to use if retrieving from database.
+ * @param boolean \$querydb True if child should be retrieved from database.
+ * @param PropelPDO \$con Connection to use if retrieving from database.
* @return ".$this->getStubNodeBuilder()->getClassname()."
*/
public function getFirstChildNode(\$querydb = false, PropelPDO \$con = null)
@@ -417,8 +417,8 @@ protected function addGetLastChildNode(&$script)
/**
* Returns last child node (if any).
*
- * @param boolean True if child should be retrieved from database.
- * @param PropelPDO Connection to use if retrieving from database.
+ * @param boolean \$querydb True if child should be retrieved from database.
+ * @param PropelPDO \$con Connection to use if retrieving from database.
*/
public function getLastChildNode(\$querydb = false, PropelPDO \$con = null)
{
@@ -470,9 +470,9 @@ protected function addGetSiblingNode(&$script)
* Returns next (or previous) sibling node or null. Retrieves from database if
* not loaded yet.
*
- * @param boolean True if previous sibling should be returned.
- * @param boolean True if sibling should be retrieved from database.
- * @param PropelPDO Connection to use if retrieving from database.
+ * @param boolean \$prev True if previous sibling should be returned.
+ * @param boolean \$querydb True if sibling should be retrieved from database.
+ * @param PropelPDO \$con Connection to use if retrieving from database.
* @return ".$this->getStubNodeBuilder()->getClassname()."
*/
public function getSiblingNode(\$prev = false, \$querydb = false, PropelPDO \$con = null)
@@ -509,8 +509,8 @@ protected function addGetParentNode(&$script)
/**
* Returns parent node. Loads from database if not cached yet.
*
- * @param boolean True if parent should be retrieved from database.
- * @param PropelPDO Connection to use if retrieving from database.
+ * @param boolean \$querydb True if parent should be retrieved from database.
+ * @param PropelPDO \$con Connection to use if retrieving from database.
* @return ".$this->getStubNodeBuilder()->getClassname()."
*/
public function getParentNode(\$querydb = true, PropelPDO \$con = null)
@@ -546,8 +546,8 @@ protected function addGetAncestors(&$script)
* Returns an array of all ancestor nodes, starting with the root node
* first.
*
- * @param boolean True if ancestors should be retrieved from database.
- * @param PropelPDO Connection to use if retrieving from database.
+ * @param boolean \$querydb True if ancestors should be retrieved from database.
+ * @param PropelPDO \$con Connection to use if retrieving from database.
* @return array
*/
public function getAncestors(\$querydb = false, PropelPDO \$con = null)
@@ -585,7 +585,7 @@ protected function addSetNew(&$script)
* Also changes the node path to '0' to indicate that it is not a
* stored node.
*
- * @param boolean
+ * @param boolean \$b
* @return void
*/
public function setNew(\$b)
@@ -602,7 +602,7 @@ protected function addSetDeleted(&$script)
/**
* Changes the state of the object and its descendants to 'deleted'.
*
- * @param boolean
+ * @param boolean \$b
* @return void
*/
public function setDeleted(\$b)
@@ -624,9 +624,9 @@ protected function addAddChildNode(&$script)
* \$beforeNode. If \$beforeNode is not specified the node will be appended to
* the end of the child nodes.
*
- * @param ".$this->getStubNodeBuilder()->getClassname()." Node to add.
- * @param ".$this->getStubNodeBuilder()->getClassname()." Node to insert before.
- * @param PropelPDO Connection to use.
+ * @param ".$this->getStubNodeBuilder()->getClassname()." \$node Node to add.
+ * @param ".$this->getStubNodeBuilder()->getClassname()." \$beforeNode Node to insert before.
+ * @param PropelPDO \$con Connection to use.
*/
public function addChildNode(\$node, \$beforeNode = null, PropelPDO \$con = null)
{
@@ -704,9 +704,9 @@ protected function addMoveChildNode(&$script)
/**
* Moves the specified child node in the specified direction.
*
- * @param ".$this->getStubNodeBuilder()->getClassname()." Node to move.
- * @param int Number of spaces to move among siblings (may be negative).
- * @param PropelPDO Connection to use.
+ * @param ".$this->getStubNodeBuilder()->getClassname()." \$node Node to move.
+ * @param int \$direction Number of spaces to move among siblings (may be negative).
+ * @param PropelPDO \$con Connection to use.
* @throws PropelException
*/
public function moveChildNode(\$node, \$direction, PropelPDO \$con = null)
@@ -724,8 +724,8 @@ protected function addSave(&$script)
/**
* Saves modified object data to the datastore.
*
- * @param boolean If true, descendants will be saved as well.
- * @param PropelPDO Connection to use.
+ * @param boolean \$recurse If true, descendants will be saved as well.
+ * @param PropelPDO \$con Connection to use.
*/
public function save(\$recurse = false, PropelPDO \$con = null)
{
@@ -756,7 +756,7 @@ protected function addDelete(&$script)
/**
* Removes this object and all descendants from datastore.
*
- * @param PropelPDO Connection to use.
+ * @param PropelPDO \$con Connection to use.
* @return void
* @throws PropelException
*/
@@ -793,8 +793,8 @@ protected function addEquals(&$script)
* this instead of equality operators to prevent recursive dependency
* errors.
*
- * @param $nodeClassname Node to compare.
- * @param boolean True if strict comparison should be used.
+ * @param $nodeClassname \$node Node to compare.
+ * @param boolean \$strict True if strict comparison should be used.
* @return boolean
*/
public function equals(\$node, \$strict = false)
@@ -817,7 +817,7 @@ protected function addAttachParentNode(&$script)
* from the database. To set the parent of a node, you should call
* addChildNode() on the parent.
*
- * @param $nodeClassname Parent node to attach.
+ * @param $nodeClassname \$node Parent node to attach.
* @return void
* @throws PropelException
*/
@@ -841,7 +841,7 @@ protected function addAttachChildNode(&$script)
* from the database. To add a child to a node you should call the
* addChildNode() method instead.
*
- * @param $nodeClassname Child node to attach.
+ * @param $nodeClassname \$node Child node to attach.
* @return void
* @throws PropelException
*/
@@ -877,7 +877,7 @@ protected function addDetachParentNode(&$script)
/**
* This method is used internally when deleting nodes. It is used to break
* the link to this node's parent.
- * @param $nodeClassname Parent node to detach from.
+ * @param $nodeClassname \$node Parent node to detach from.
* @return void
* @throws PropelException
*/
@@ -898,7 +898,7 @@ protected function addDetachChildNode(&$script)
/**
* This method is used internally when deleting nodes. It is used to break
* the link to this between this node and the specified child.
- * @param ".$this->getStubNodeBuilder()->getClassname()." Child node to detach.
+ * @param ".$this->getStubNodeBuilder()->getClassname()." \$node Child node to detach.
* @return void
* @throws PropelException
*/
@@ -924,9 +924,9 @@ protected function addShiftChildNodes(&$script)
* method assumes that there is already space available in the
* direction/offset indicated.
*
- * @param int Direction/# spaces to shift. 1=leftshift, 1=rightshift
- * @param int Node index to start shift at.
- * @param PropelPDO The connection to be used.
+ * @param int \$direction Direction/# spaces to shift. 1=leftshift, 1=rightshift
+ * @param int \$offsetIdx Node index to start shift at.
+ * @param PropelPDO \$con The connection to be used.
* @return void
* @throws PropelException
*/
@@ -1005,10 +1005,10 @@ protected function addInsertNewChildNode(&$script)
/**
* Inserts the node and its children at the specified childIdx.
*
- * @param $nodeClassname Node to insert.
- * @param int One-based child index to insert at.
- * @param PropelPDO Connection to use.
- * @param void
+ * @param $nodeClassname \$node Node to insert.
+ * @param int \$childIdx One-based child index to insert at.
+ * @param PropelPDO \$con Connection to use.
+ * @return void
*/
protected function insertNewChildNode(\$node, \$childIdx, PropelPDO \$con)
{
@@ -1033,8 +1033,8 @@ protected function addAdjustStatus(&$script)
/**
* Adjust new/deleted status of node and all children.
*
- * @param string Status to change ('New' or 'Deleted')
- * @param boolean Value for status.
+ * @param string \$status Status to change ('New' or 'Deleted')
+ * @param boolean \$b Value for status.
* @return void
*/
protected function adjustStatus(\$status, \$b)
@@ -1057,8 +1057,8 @@ protected function addAdjustNodePath(&$script)
* Adjust path of node and all children. This is used internally when
* inserting/moving nodes.
*
- * @param string Section of old path to change.
- * @param string New section to replace old path with.
+ * @param string \$oldBasePath Section of old path to change.
+ * @param string \$newBasePath New section to replace old path with.
* @return void
*/
protected function adjustNodePath(\$oldBasePath, \$newBasePath)
View
2  generator/lib/builder/om/PHP5NodePeerBuilder.php
@@ -49,7 +49,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
View
44 generator/lib/builder/om/PHP5ObjectBuilder.php
@@ -183,7 +183,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
@@ -382,7 +382,7 @@ protected function addAttributes(&$script)
protected static \$peer;
/**
- * The flag var to prevent infinit loop in deep copy
+ * The flag var to prevent infinite loop in deep copy
* @var boolean
*/
protected \$startCopy = false;
@@ -593,7 +593,7 @@ protected function addGetPeerFunctionBody(&$script)
/**
* Add the function close for the getPeer method
- * Note: this is just a } and the body ends with a return statement, so it's quite useless. But it's here anyway for consisency, cause there's a close function for all functions and in some other instances, they are useful
+ * Note: this is just a } and the body ends with a return statement, so it's quite useless. But it's here anyway for consistency, cause there's a close function for all functions and in some other instances, they are useful
* @param string &$script The script will be modified in this method.
**/
protected function addGetPeerFunctionClose(&$script)
@@ -800,7 +800,7 @@ public function addTemporalAccessorComment(&$script, Column $col)
if (!$useDateTime) {
$script .= "
* This accessor only only work with unix epoch dates. Consider enabling the propel.useDateTimeClass
- * option in order to avoid converstions to integers (which are limited in the dates they can express).";
+ * option in order to avoid conversions to integers (which are limited in the dates they can express).";
}
$script .= "
*
@@ -1987,7 +1987,7 @@ protected function addHydrateComment(&$script)
* more tables.
*
* @param array \$row The row returned by PDOStatement->fetch(PDO::FETCH_NUM)
- * @param int \$startcol 0-based offset column which indicates which restultset column to start with.
+ * @param int \$startcol 0-based offset column which indicates which resultset column to start with.
* @param boolean \$rehydrate Whether this object is being re-hydrated from the database.
* @return int next starting column
* @throws PropelException - Any caught Exception will be rewrapped as a PropelException.
@@ -2797,7 +2797,7 @@ protected function addManipulationMethods(&$script)
}
/**
- * Adds the methods related to validationg the object.
+ * Adds the methods related to the validation of the object.
* @param string &$script The script will be modified in this method.
*/
protected function addValidationMethods(&$script)
@@ -2881,7 +2881,7 @@ public function getPrimaryKey()
return \$this->get".$pkeys[0]->getPhpName()."();
}
";
- } // addetPrimaryKey_SingleFK
+ } // addGetPrimaryKey_SingleFK
/**
* Adds the setPrimaryKey() method for tables that contain a multi-column primary key.
@@ -2914,7 +2914,7 @@ public function getPrimaryKey()
/**
* Adds the getPrimaryKey() method for objects that have no primary key.
- * This "feature" is dreprecated, since the getPrimaryKey() method is not required
+ * This "feature" is deprecated, since the getPrimaryKey() method is not required
* by the Persistent interface (or used by the templates). Hence, this method is also
* deprecated.
* @param string &$script The script will be modified in this method.
@@ -3007,7 +3007,7 @@ public function setPrimaryKey(\$keys)
/**
* Adds the setPrimaryKey() method for objects that have no primary key.
- * This "feature" is dreprecated, since the setPrimaryKey() method is not required
+ * This "feature" is deprecated, since the setPrimaryKey() method is not required
* by the Persistent interface (or used by the templates). Hence, this method is also
* deprecated.
* @param string &$script The script will be modified in this method.
@@ -3064,7 +3064,7 @@ public function isPrimaryKeyNull()
$script .= "
}
";
- } // addetPrimaryKey_SingleFK
+ } // addIsPrimaryKeyKeyNull
// --------------------------------------------------------------------
// Complex OM Methods
@@ -3391,7 +3391,7 @@ protected function addRefFKGetJoinMethods(&$script, ForeignKey $refFK)
$tblFK2 = $this->getForeignTable($fk2);
$doJoinGet = !$tblFK2->isForReferenceOnly();
- // it doesn't make sense to join in rows from the curent table, since we are fetching
+ // it doesn't make sense to join in rows from the current table, since we are fetching
// objects related to *this* table (i.e. the joined rows will all be the same row as current object)
if ($this->getTable()->getPhpName() == $tblFK2->getPhpName()) {
$doJoinGet = false;
@@ -4473,7 +4473,7 @@ public function remove{$relatedObjectClassName}($crossObjectClassName $crossObje
// ----------------------------------------------------------------
/**
- * Adds the workhourse doSave() method.
+ * Adds the workhouse doSave() method.
* @param string &$script The script will be modified in this method.
*/
protected function addDoSave(&$script)
@@ -4516,7 +4516,7 @@ protected function doSave(PropelPDO \$con".($reloadOnUpdate || $reloadOnInsert ?
$script .= "
// We call the save method on the following object(s) if they
- // were passed to this object by their coresponding set
+ // were passed to this object by their corresponding set
// method. This object relates to these object(s) by a
// foreign key reference.
";
@@ -5002,7 +5002,7 @@ protected function addSaveBody(&$script)
try {";
if ($this->getGeneratorConfig()->getBuildProperty('addHooks')) {
- // save with runtime hools
+ // save with runtime hooks
$script .= "
\$ret = \$this->preSave(\$con);";
$this->applyBehaviorModifier('preSave', $script, " ");
@@ -5163,7 +5163,7 @@ public function validate(\$columns = null)
} // addValidate()
/**
- * Adds the workhourse doValidate() method.
+ * Adds the workhouse doValidate() method.
* @param string &$script The script will be modified in this method.
*/
protected function addDoValidate(&$script)
@@ -5176,10 +5176,10 @@ protected function addDoValidate(&$script)
*
* In addition to checking the current object, all related objects will
* also be validated. If all pass then <code>true</code> is returned; otherwise
- * an aggreagated array of ValidationFailed objects will be returned.
+ * an aggregated array of ValidationFailed objects will be returned.
*
* @param array \$columns Array of column names to validate.
- * @return mixed <code>true</code> if all validations pass; array of <code>ValidationFailed</code> objets otherwise.
+ * @return mixed <code>true</code> if all validations pass; array of <code>ValidationFailed</code> objects otherwise.
*/
protected function doValidate(\$columns = null)
{
@@ -5193,7 +5193,7 @@ protected function doValidate(\$columns = null)
$script .= "
// We call the validate method on the following object(s) if they
- // were passed to this object by their coresponding set
+ // were passed to this object by their corresponding set
// method. This object relates to these object(s) by a
// foreign key reference.
";
@@ -5291,7 +5291,7 @@ public function ensureConsistency()
if (\$this->".$varName." !== null && \$this->$clo !== \$this->".$varName."->get".$colFK->getPhpName()."()) {
\$this->$varName = null;
}";
- } // foraech
+ } // foreach
} /* if col is foreign key */
} // foreach
@@ -5392,8 +5392,8 @@ public function copyInto(\$copyObj, \$deepCopy = false, \$makeNew = true)
\$this->startCopy = true;
";
foreach ($table->getReferrers() as $fk) {
- //HL: commenting out self-referrential check below
- // it seems to work as expected and is probably desireable to have those referrers from same table deep-copied.
+ //HL: commenting out self-referential check below
+ // it seems to work as expected and is probably desirable to have those referrers from same table deep-copied.
//if ( $fk->getTable()->getName() != $table->getName() ) {
if ($fk->isLocalPrimaryKey()) {
@@ -5518,7 +5518,7 @@ protected function addClearAllReferences(&$script)
*
* This method is a user-space workaround for PHP's inability to garbage collect
* objects with circular references (even in PHP 5.3). This is currently necessary
- * when using Propel in certain daemon or large-volumne/high-memory operations.
+ * when using Propel in certain daemon or large-volume/high-memory operations.
*
* @param boolean \$deep Whether to also clear the references on all referrer objects.
*/
View
2  generator/lib/builder/om/PHP5ObjectNoCollectionBuilder.php
@@ -576,7 +576,7 @@ protected function addRefFKGetJoinMethods(&$script, ForeignKey $refFK)
$tblFK2 = $this->getForeignTable($fk2);
$doJoinGet = !$tblFK2->isForReferenceOnly();
- // it doesn't make sense to join in rows from the curent table, since we are fetching
+ // it doesn't make sense to join in rows from the current table, since we are fetching
// objects related to *this* table (i.e. the joined rows will all be the same row as current object)
if ($this->getTable()->getPhpName() == $tblFK2->getPhpName()) {
$doJoinGet = false;
View
10 generator/lib/builder/om/PHP5PeerBuilder.php
@@ -90,7 +90,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
@@ -226,7 +226,7 @@ protected function addConstantsAndAttributes(&$script)
const DEFAULT_STRING_FORMAT = '" . $this->getTable()->getDefaultStringFormat() . "';
/**
- * An identiy map to hold any loaded instances of ".$this->getObjectClassname()." objects.
+ * An identity map to hold any loaded instances of ".$this->getObjectClassname()." objects.
* This must be public so that other peer classes can access this when hydrating from JOIN
* queries.
* @var array ".$this->getObjectClassname()."[]
@@ -248,7 +248,7 @@ protected function addConstantsAndAttributes(&$script)
}
/**
- * Adds the COLUMN_NAME contants to the class definition.
+ * Adds the COLUMN_NAME constants to the class definition.
* @param string &$script The script will be modified in this method.
*/
protected function addColumnNameConstants(&$script)
@@ -380,7 +380,7 @@ protected function addFieldKeysAttribute(&$script)
$script .= ")
);
";
- } // addFielKeysAttribute
+ } // addFieldKeysAttribute
/**
* Adds the valueSet attributes for ENUM columns.
@@ -1844,7 +1844,7 @@ protected static function doOnDeleteSetNull(Criteria \$criteria, PropelPDO \$con
";
// This logic is almost exactly the same as that in doOnDeleteCascade()
- // it may make sense to refactor this, provided that thigns don't
+ // it may make sense to refactor this, provided that things don't
// get too complicated.
foreach ($table->getReferrers() as $fk) {
View
2  generator/lib/builder/om/PHP5TableMapBuilder.php
@@ -57,7 +57,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
View
12 generator/lib/builder/om/QueryBuilder.php
@@ -60,7 +60,7 @@ protected function addIncludes(&$script)
}
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
@@ -429,7 +429,7 @@ public function findPk(\$key, \$con = null)
$pkHash = $this->getPeerBuilder()->getInstancePoolKeySnippet($pks);
$script .= "
if ((null !== (\$obj = {$peerClassname}::getInstanceFromPool({$pkHash}))) && !\$this->formatter) {
- // the object is alredy in the instance pool
+ // the object is already in the instance pool
return \$obj;
}
if (\$con === null) {
@@ -931,7 +931,7 @@ public function filterBy$colPhpName(\$$variableName = null, \$comparison = null)
}
/**
- * Adds the singular filterByCol method for an Arry column.
+ * Adds the singular filterByCol method for an Array column.
* @param string &$script The script will be modified in this method.
*/
protected function addFilterByArrayCol(&$script, $col)
@@ -1408,9 +1408,9 @@ protected function addBasePreUpdate(&$script)
/**
* Code to execute before every UPDATE statement
*
- * @param array \$values The associatiove array of columns and values for the update
+ * @param array \$values The associative array of columns and values for the update
* @param PropelPDO \$con The connection object used by the query
- * @param boolean \$forceIndividualSaves If false (default), the resulting call is a BasePeer::doUpdate(), ortherwise it is a series of save() calls on all the found objects
+ * @param boolean \$forceIndividualSaves If false (default), the resulting call is a BasePeer::doUpdate(), otherwise it is a series of save() calls on all the found objects
*/
protected function basePreUpdate(&\$values, PropelPDO \$con, \$forceIndividualSaves = false)
{" . $behaviorCode . "
@@ -1435,7 +1435,7 @@ protected function addBasePostUpdate(&$script)
/**
* Code to execute after every UPDATE statement
*
- * @param int \$affectedRows the number of udated rows
+ * @param int \$affectedRows the number of updated rows
* @param PropelPDO \$con The connection object used by the query
*/
protected function basePostUpdate(\$affectedRows, PropelPDO \$con)
View
4 generator/lib/builder/om/QueryInheritanceBuilder.php
@@ -59,7 +59,7 @@ public function getNamespace()
}
/**
- * Set the child object that we're operating on currrently.
+ * Set the child object that we're operating on currently.
* @param $child Inheritance
*/
public function setChild(Inheritance $child)
@@ -114,7 +114,7 @@ protected function addIncludes(&$script)
} // addIncludes()
/**
- * Adds class phpdoc comment and openning of class.
+ * Adds class phpdoc comment and opening of class.
* @param string &$script The script will be modified in this method.
*/
protected function addClassOpen(&$script)
View
2  generator/lib/builder/sql/DataSQLBuilder.php
@@ -106,7 +106,7 @@ public function buildRowSql(DataRow $row)
}
/**
- * Gets the propertly escaped (and quoted) value for a column.
+ * Gets the property escaped (and quoted) value for a column.
* @param ColumnValue $colValue
* @return mixed The proper value to be added to the string.
*/
View
2  generator/lib/builder/sql/pgsql/PgsqlDataSQLBuilder.php
@@ -20,7 +20,7 @@ class PgsqlDataSQLBuilder extends DataSQLBuilder
{
/**
- * The largets serial value encountered this far.
+ * The largest serial value encountered this far.
*
* @var int
*/
View
2  generator/lib/builder/util/DefaultEnglishPluralizer.php
@@ -11,7 +11,7 @@
require_once dirname(__FILE__) . '/Pluralizer.php';
/**
- * The default Enlglish pluralizer class.
+ * The default English pluralizer class.
*
* @author Hans Lellelid <hans@xmpl.org>
* @version $Revision$
View
2  generator/lib/builder/util/PropelStringReader.php
@@ -11,7 +11,7 @@
include_once 'phing/system/io/Reader.php';
/**
- * Overrides Phing's StringReader to allow inclusin inside a BufferedReader
+ * Overrides Phing's StringReader to allow inclusion inside a BufferedReader
*
* @author François Zaninotto
* @version $Revision$
View
2  generator/lib/builder/util/PropelTemplate.php
@@ -58,7 +58,7 @@ public function setTemplateFile($filePath)
* // This is Mike
* </code>
*
- * @param array $vars An associative array of argumens to be rendered
+ * @param array $vars An associative array of arguments to be rendered
*
* @return string The rendered template
*
View
2  generator/lib/builder/util/XmlToDataSQL.php
@@ -82,7 +82,7 @@ class XmlToDataSQL extends AbstractHandler
public $parser;
/**
- * Flag for enabing debug output to aid in parser tracing.
+ * Flag for enabling debug output to aid in parser tracing.
*/
const DEBUG = false;
View
6 generator/lib/model/AppData.php
@@ -57,7 +57,7 @@ class AppData
/**
* Creates a new instance for the specified database type.
*
- * @param PropelPlatformInterface $platform The default platform object to use for any databases added to this application model.
+ * @param PropelPlatformInterface $defaultPlatform The default platform object to use for any databases added to this application model.
*/
public function __construct(PropelPlatformInterface $defaultPlatform = null)
{
@@ -109,7 +109,7 @@ public function getGeneratorConfig()
/**
* Set the name of the database.
*
- * @param name of the database.
+ * @param $name of the database.
*/
public function setName($name)
{
@@ -211,7 +211,7 @@ public function hasDatabase($name)
* Add a database to the list and sets the AppData property to this
* AppData
*
- * @param Datebase|string $db the database to add
+ * @param Database|string $db the database to add
*
* @return Database
*/
View
2  generator/lib/model/Behavior.php
@@ -193,7 +193,7 @@ public function isTableModified()
* using variables passed as arguments.
*
* @param string $filename The template file name, relative to the behavior's dirname
- * @param array $vars An associative array of argumens to be rendered
+ * @param array $vars An associative array of arguments to be rendered
* @param string $templateDir The name of the template subdirectory
*
* @return string The rendered template
View
6 generator/lib/model/Column.php
@@ -100,7 +100,7 @@ class Column extends XMLElement
/**
* Creates a new column and set the name
*
- * @param name column name
+ * @param $name column name
*/
public function __construct($name = null)
{
@@ -110,7 +110,7 @@ public function __construct($name = null)
/**
* Return a comma delimited string listing the specified columns.
*
- * @param columns Either a list of <code>Column</code> objects, or
+ * @param $columns Either a list of <code>Column</code> objects, or
* a list of <code>String</code> objects with column names.
* @deprecated Use the Platform::getColumnListDDL() method instead
*
@@ -256,7 +256,7 @@ protected function setupObject()
$this->inheritanceType = $this->getAttribute("inheritance");
$this->isInheritance = ($this->inheritanceType !== null
&& $this->inheritanceType !== "false"); // here we are only checking for 'false', so don't
- // use boleanValue()
+ // use booleanValue()
$this->description = $this->getAttribute("description");
} catch (Exception $e) {
View
2  generator/lib/model/ColumnDefaultValue.php
@@ -91,7 +91,7 @@ public function setValue($value)
* A method to compare if two Default values match
*
* @param ColumnDefaultValue $other The value to compare to
- * @return boolean Wheter this object represents same default value as $other
+ * @return boolean Whether this object represents same default value as $other
* @author Niklas Närhinen <niklas@narhinen.net>
*/
public function equals(ColumnDefaultValue $other)
View
2  generator/lib/model/ConstraintNameGenerator.php
@@ -30,7 +30,7 @@ class ConstraintNameGenerator implements NameGenerator
* should be a table name, third is the type identifier (spared if
* trimming is necessary due to database type length constraints),
* and the fourth is a <code>Integer</code> indicating the number
- * of this contraint.
+ * of this constraint.
*
* @see NameGenerator
* @throws EngineException
View
6 generator/lib/model/Database.php
@@ -138,7 +138,7 @@ public function getBaseClass()
/**
* Set the value of baseClass.
- * @param v Value to assign to baseClass.
+ * @param $v Value to assign to baseClass.
*/
public function setBaseClass($v)
{
@@ -156,7 +156,7 @@ public function getBasePeer()
/**
* Set the value of basePeer.
- * @param v Value to assign to basePeer.
+ * @param $v Value to assign to basePeer.
*/
public function setBasePeer($v)
{
@@ -174,7 +174,7 @@ public function getDefaultIdMethod()
/**
* Set the value of defaultIdMethod.
- * @param v Value to assign to defaultIdMethod.
+ * @param $v Value to assign to defaultIdMethod.
*/
public function setDefaultIdMethod($v)
{
View
4 generator/lib/model/Domain.php
@@ -243,7 +243,7 @@ public function setType($propelType)
/**
* Replaces the type if the new value is not null.
*
- * @param string $value The tyep to set.
+ * @param string $value The type to set.
*/
public function replaceType($value)
{
@@ -299,7 +299,7 @@ public function setDefaultValue(ColumnDefaultValue $value)
/**
* Replaces the default value if the new value is not null.
*
- * @param ColumnDefaultValue $value The defualt value object
+ * @param ColumnDefaultValue $value The default value object
*/
public function replaceDefaultValue(ColumnDefaultValue $value = null)
{
View
2  generator/lib/model/ForeignKey.php
@@ -655,7 +655,7 @@ public function isSkipSql()
}
/**
- * Whether this foreign key is matched by an invertes foreign key (on foreign table).
+ * Whether this foreign key is matched by an inverse foreign key (on foreign table).
*
* This is to prevent duplicate columns being generated for a 1:1 relationship that is represented
* by foreign keys on both tables. I don't know if that's good practice ... but hell, why not
View
10 generator/lib/model/Inheritance.php
@@ -50,7 +50,7 @@ public function getKey()
/**
* Set the value of key.
- * @param v Value to assign to key.
+ * @param $v Value to assign to key.
*/
public function setKey($v)
{
@@ -68,7 +68,7 @@ public function getColumn()
/**
* Set the value of parent.
- * @param v Value to assign to parent.
+ * @param $v Value to assign to parent.
*/
public function setColumn(Column $v)
{
@@ -86,7 +86,7 @@ public function getClassName()
/**
* Set the value of className.
- * @param v Value to assign to className.
+ * @param $v Value to assign to className.
*/
public function setClassName($v)
{
@@ -104,7 +104,7 @@ public function getPackage()
/**
* Set the value of package.
- * @param v Value to assign to package.
+ * @param $v Value to assign to package.
*/
public function setPackage($v)
{
@@ -122,7 +122,7 @@ public function getAncestor()
/**
* Set the value of ancestor.
- * @param v Value to assign to ancestor.
+ * @param $v Value to assign to ancestor.
*/
public function setAncestor($v)
{
View
2  generator/lib/model/NameFactory.php
@@ -48,7 +48,7 @@ class NameFactory
/**
* Factory method which retrieves an instance of the named generator.
*
- * @param name The fully qualified class name of the name
+ * @param $name The fully qualified class name of the name
* generation algorithm to retrieve.
*/
protected static function getAlgorithm($name)
View
2  generator/lib/model/PhpNameGenerator.php
@@ -38,7 +38,7 @@ class PhpNameGenerator implements NameGenerator
* works the same as the <code>CONV_METHOD_PHPNAME</code> method
* but will not lowercase any characters.
*
- * @param inputs list expected to contain two (optional: three) parameters,
+ * @param $inputs list expected to contain two (optional: three) parameters,
* element 0 contains name to convert, element 1 contains method for conversion,
* optional element 2 contains prefix to be striped from name
* @return The generated name.
View
6 generator/lib/model/PropelTypes.php
@@ -173,7 +173,7 @@ class PropelTypes
);
/**
- * Mapping between Propel types and PDO type contants (for prepared statement setting).
+ * Mapping between Propel types and PDO type constants (for prepared statement setting).
*
* @var array
*/
@@ -244,7 +244,7 @@ public static function getCreoleType($type)
}
/**
- * Resturns the PDO type (PDO::PARAM_* constant) value.
+ * Returns the PDO type (PDO::PARAM_* constant) value.
* @return int
*/
public static function getPDOType($type)
@@ -253,7 +253,7 @@ public static function getPDOType($type)
}
/**
- * Resturns the PDO type ('PDO::PARAM_*' constant) name.
+ * Returns the PDO type ('PDO::PARAM_*' constant) name.
* @return string
*/
public static function getPdoTypeString($type)
View
2  generator/lib/model/Rule.php
@@ -39,7 +39,7 @@ protected function setupObject()
/*
* Set some default values if they are not specified.
- * This is escpecially useful for maxLength; the size
+ * This is especially useful for maxLength; the size
* is already known by the column and this way it is
* not necessary to manage the same size two times.
*
View
6 generator/lib/model/ScopedElement.php
@@ -75,7 +75,7 @@ public function getNamespace()
/**
* Set the value of the namespace.
- * @param v Value to assign to namespace.
+ * @param $v Value to assign to namespace.
*/
public function setNamespace($v)
{
@@ -100,7 +100,7 @@ public function getPackage()
/**
* Set the value of package.
- * @param v Value to assign to package.
+ * @param $v Value to assign to package.
*/
public function setPackage($v)
{
@@ -122,7 +122,7 @@ public function getSchema()
/**
* Set the value of schema.
- * @param v Value to assign to schema.
+ * @param $v Value to assign to schema.
*/
public function setSchema($v)
{
View
8 generator/lib/model/Table.php
@@ -118,14 +118,14 @@ class Table extends ScopedElement implements IDMethod
private $idMethod;
/**
- * Wether an INSERT with set PK is allowed on tables with IDMethod::NATIVE
+ * Whether an INSERT with set PK is allowed on tables with IDMethod::NATIVE
*
* @var boolean
*/
private $allowPkInsert;
/**
- * Strategry to use for converting column name to phpName.
+ * Strategy to use for converting column name to phpName.
*
* @var string
*/
@@ -1679,7 +1679,7 @@ public function getForeignKeysReferencingTable($tablename)
/**
* Return the foreign keys that includes col in it's list of local columns.
- * Eg. Foreign key (a,b,c) refrences tbl(x,y,z) will be returned of col is either a,b or c.
+ * Eg. Foreign key (a,b,c) references tbl(x,y,z) will be returned of col is either a,b or c.
* @param string $col
* @return array ForeignKey[] or null if there is no FK for specified column.
*/
@@ -1748,7 +1748,7 @@ public function setForReferenceOnly($v)
/**
* Flag to determine if tree node class should be generated for this table.
- * @return valur of treeMode
+ * @return value of treeMode
*/
public function treeMode()
{
View
4 generator/lib/model/VendorInfo.php
@@ -123,9 +123,9 @@ public function hasParameter($name)
}
/**
- * Sets assoc array of parameters for venfor specific info.
+ * Sets assoc array of parameters for vendor specific info.
*
- * @param array $params Paramter data.
+ * @param array $params Parameter data.
*/
public function setParameters(array $params = array())
{
View
4 generator/lib/model/diff/PropelTableComparator.php
@@ -79,8 +79,8 @@ public function getToTable()
/**
* Compute and return the difference between two table objects
*
- * @param Column $fromTable
- * @param Column $toTable
+ * @param Table $fromTable
+ * @param Table $toTable
* @param boolean $caseInsensitive Whether the comparison is case insensitive.
* False by default.
*
View
2  generator/lib/platform/DefaultPlatform.php
@@ -1027,7 +1027,7 @@ public function hasScale($sqlType)
}
/**
- * Quote and escape needed characters in the string for unerlying RDBMS.
+ * Quote and escape needed characters in the string for underlying RDBMS.
* @param string $text
* @return string
*/
View
2  generator/lib/platform/PgsqlPlatform.php
@@ -77,7 +77,7 @@ public function disconnectedEscapeText($text)
public function getBooleanString($b)
{
- // parent method does the checking for allowes tring
+ // parent method does the checking to allow string
// representations & returns integer
$b = parent::getBooleanString($b);
View
2  generator/lib/platform/PropelPlatformInterface.php