aboutsummaryrefslogtreecommitdiff
path: root/classes/IsisConnector.php
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-08-04 14:38:47 -0300
committerSilvio <silvio@devlet.com.br>2010-08-04 14:38:47 -0300
commit5ffb81a3bef24a570b836b5d75071ea6daba45f2 (patch)
tree382475132dcee8fee17b8089716055b6422b1fa5 /classes/IsisConnector.php
parentfa2e699c04c6d59efe968c1811d1ecddb2191b7c (diff)
downloadcinisis-5ffb81a3bef24a570b836b5d75071ea6daba45f2.tar.gz
cinisis-5ffb81a3bef24a570b836b5d75071ea6daba45f2.tar.bz2
Coding style
Diffstat (limited to 'classes/IsisConnector.php')
-rw-r--r--classes/IsisConnector.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/classes/IsisConnector.php b/classes/IsisConnector.php
index 8a2fd45..03c2bfe 100644
--- a/classes/IsisConnector.php
+++ b/classes/IsisConnector.php
@@ -636,8 +636,7 @@ class IsisConnector {
* @return
* True if result has the main item, false otherwise.
*/
- public function hasMainItem($field, $row)
- {
+ public function hasMainItem($field, $row) {
$value = $this->getMainItem($field, $row);
if (!empty($value)) {
@@ -663,14 +662,11 @@ class IsisConnector {
* @return
* True if result has the main item, false otherwise.
*/
- public function hasItem($field, $item, $row = 0)
- {
- if ($item == 'main')
- {
+ public function hasItem($field, $item, $row = 0) {
+ if ($item == 'main') {
$has = $this->hasMainItem($field, $row);
}
- else
- {
+ else {
$subfield = $this->getSubfieldName($this->getFieldKey($field), $item);
$has = $this->hasSubfield($field, $subfield, $row);
}