Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

typo fix (enterface -> interface) #89

Merged
merged 1 commit into from

2 participants

@themouette

No description provided.

@willdurand willdurand merged commit afdf30f into propelorm:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 13, 2011
  1. @themouette
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/Propel/Generator/Model/Table.php
View
12 src/Propel/Generator/Model/Table.php
@@ -189,7 +189,7 @@ class Table extends ScopedElement implements IdMethod
*
* @var string
*/
- private $enterface;
+ private $interface;
/**
* The base class to extend for the generated "object" class.
@@ -338,7 +338,7 @@ public function setupObject()
|| ("false" !== $this->getAttribute("heavyIndexing")
&& $this->getDatabase()->isHeavyIndexing() ) );
$this->description = $this->getAttribute("description");
- $this->enterface = $this->getAttribute("interface"); // sic ('interface' is reserved word)
+ $this->interface = $this->getAttribute("interface"); // sic ('interface' is reserved word)
$this->reloadOnInsert = $this->booleanValue($this->getAttribute("reloadOnInsert"));
$this->reloadOnUpdate = $this->booleanValue($this->getAttribute("reloadOnUpdate"));
@@ -1404,7 +1404,7 @@ public function setAlias($v)
*/
public function getInterface()
{
- return $this->enterface;
+ return $this->interface;
}
/**
@@ -1413,7 +1413,7 @@ public function getInterface()
*/
public function setInterface($v)
{
- $this->enterface = $v;
+ $this->interface = $v;
}
/**
@@ -1721,8 +1721,8 @@ public function appendXml(DOMNode $node)
$tableNode->setAttribute('abstract', var_export($this->abstractValue, true));
}
- if ($this->enterface !== null) {
- $tableNode->setAttribute('interface', $this->enterface);
+ if ($this->interface !== null) {
+ $tableNode->setAttribute('interface', $this->interface);
}
if ($this->description !== null) {
Something went wrong with that request. Please try again.