From e7db3c2cb2325a773dd17650735740e0c57423e7 Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 2 Aug 2010 15:39:44 -0300 Subject: Coding style --- lib/sfIsisImporter.class.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'lib/sfIsisImporter.class.php') diff --git a/lib/sfIsisImporter.class.php b/lib/sfIsisImporter.class.php index a112155..7a263df 100644 --- a/lib/sfIsisImporter.class.php +++ b/lib/sfIsisImporter.class.php @@ -44,7 +44,8 @@ class sfIsisImporter extends IsisConnector * @param string $model Relation name * @return string Relation table id */ - static function getRelationId($relation) { + static function getRelationId($relation) + { return sfInflector::underscore($relation) .'_id'; } @@ -173,7 +174,8 @@ class sfIsisImporter extends IsisConnector * @param array $field Field data from ISIS database schema * @param int $row Row number */ - public function addField(&$model, $field, $row = 0) { + public function addField(&$model, $field, $row = 0) + { $value = $this->filterBrackets($this->getMainItem($field, $row)); if ($value != null) @@ -191,7 +193,8 @@ class sfIsisImporter extends IsisConnector * @param string $subfield Subfield name * @param int $row Row number */ - public function addSubfield(&$model, $field, $subfield, $row = 0) { + public function addSubfield(&$model, $field, $subfield, $row = 0) + { $value = $this->filterBrackets($this->getSubfield($field, $subfield, $row)); if ($value != null) @@ -308,7 +311,8 @@ class sfIsisImporter extends IsisConnector * @param array $values Values to be added * @param string $relation Relation name */ - public function addManyToMany(&$model, array $values, $relation) { + public function addManyToMany(&$model, array $values, $relation) + { $method = 'add'. $relation; foreach ($values as $value) -- cgit v1.2.3