aboutsummaryrefslogtreecommitdiff
path: root/lib/sfIsisImporter.class.php
diff options
context:
space:
mode:
authorSilvio <s1lv10@uol.com.br>2010-08-02 15:39:44 -0300
committerSilvio <s1lv10@uol.com.br>2010-08-02 15:39:44 -0300
commite7db3c2cb2325a773dd17650735740e0c57423e7 (patch)
tree53bdea89040cd6e0c194651e091a4dc007a632c2 /lib/sfIsisImporter.class.php
parentde6ea6006bca5115d84e75dfdcd308caea5a9ffa (diff)
downloadsf_isis_importer_plugin-e7db3c2cb2325a773dd17650735740e0c57423e7.tar.gz
sf_isis_importer_plugin-e7db3c2cb2325a773dd17650735740e0c57423e7.tar.bz2
Coding style
Diffstat (limited to 'lib/sfIsisImporter.class.php')
-rw-r--r--lib/sfIsisImporter.class.php12
1 files changed, 8 insertions, 4 deletions
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)