Skip to content

Commit

Permalink
fixed some typos :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Philip Scholten committed Oct 9, 2013
1 parent 0bfe0d5 commit 2f4b818
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Propel/Generator/Builder/Om/AbstractObjectBuilder.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ protected function getInterface()
* This is based on the build property propel.addGenericMutators, and also whether the * This is based on the build property propel.addGenericMutators, and also whether the
* table is read-only or an alias. * table is read-only or an alias.
*/ */
protected function isAddGenericMutators() public function isAddGenericMutators()
{ {
$table = $this->getTable(); $table = $this->getTable();


Expand Down
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
public function buildPkeyCriteria() public function buildPkeyCriteria()
{ {
$criteria = new Criteria({{ builder.tableMapClassName }}::DATABASE_NAME); $criteria = new Criteria({{ builder.tableMapClassName }}::DATABASE_NAME);
{% for column in table.primaryKey %} {% for column in builder.table.primaryKey %}
$criteria->add({{ builder.columnConstant(column) }}, $this->{{ column.name|lower }});"; $criteria->add({{ builder.columnConstant(column) }}, $this->{{ column.name|lower }});";
{% endfor %} {% endfor %}


Expand Down
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function copyInto($copyObj, $deepCopy = false, $makeNew = true)
{% if not column.autoIncrement %} {% if not column.autoIncrement %}
$copyObj->set{{ column.phpName }}($this->get{{ column.phpName }}()); $copyObj->set{{ column.phpName }}($this->get{{ column.phpName }}());
{% endif %} {% endif %}
{% endif %} {% endfor %}


{% if builder.table.referrers|length > 0 %} {% if builder.table.referrers|length > 0 %}
if ($deepCopy) { if ($deepCopy) {
Expand Down
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set primaryKeys = builder.table.primaryKeys %} {% set primaryKeys = builder.table.primaryKey %}


{% if primaryKeys|length == 1 %} {% if primaryKeys|length == 1 %}
/** /**
Expand Down Expand Up @@ -56,6 +56,7 @@ public function isPrimaryKeyNull()
{% if not loop.last %} {% if not loop.last %}
&& &&
{% endif %} {% endif %}
{% endif %} {% endfor %}
; ;
{% endif %}
} }
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set primaryKeys = builder.table.primaryKeys %} {% set primaryKeys = builder.table.primaryKey %}


{% if primaryKeys|length == 1 %} {% if primaryKeys|length == 1 %}
/** /**
Expand Down

0 comments on commit 2f4b818

Please sign in to comment.