aboutsummaryrefslogtreecommitdiff
path: root/lib/sfIsisImporterRelations.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sfIsisImporterRelations.class.php')
-rw-r--r--lib/sfIsisImporterRelations.class.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sfIsisImporterRelations.class.php b/lib/sfIsisImporterRelations.class.php
index 6912305..956d287 100644
--- a/lib/sfIsisImporterRelations.class.php
+++ b/lib/sfIsisImporterRelations.class.php
@@ -14,7 +14,7 @@ class sfIsisImporterRelations extends sfIsisImporterEntities {
*/
public function addOneToOne(&$model, array $field, $relation)
{
- foreach (new IsisRowIterator($this, $field) as $row)
+ foreach (new IsisRowIterator($this->isis, $field) as $row)
{
$data = new $relation();
@@ -51,7 +51,7 @@ class sfIsisImporterRelations extends sfIsisImporterEntities {
*/
public function addOneToManyMain(&$model, array $field, $entity, $key = 'name')
{
- foreach (new IsisMainItemIterator($this, $field) as $row => $value)
+ foreach (new IsisMainItemIterator($this->isis, $field) as $row => $value)
{
$this->log("Entity: $entity; Value: $value", 'debug');
$data = $this->addOneToMany($model, $entity);
@@ -136,9 +136,9 @@ class sfIsisImporterRelations extends sfIsisImporterEntities {
*/
public function addManyToManyMain(&$model, array $field, $relation, $key = 'name')
{
- foreach (new IsisMainItemIterator($this, $field) as $value)
+ foreach (new IsisMainItemIterator($this->isis, $field) as $value)
{
- $this->addManyToManyEntities($model, $this->explodeBrackets($value), $relation, $key);
+ $this->addManyToManyEntities($model, $this->isis->explodeBrackets($value), $relation, $key);
}
}
}