Author: jablko
Date: Thu Oct 28 01:09:07 2010
New Revision: 8612

Log:
Cosmetic change

Modified:
   trunk/apps/qubit/modules/digitalobject/actions/showAudioComponent.class.php
   trunk/apps/qubit/modules/digitalobject/actions/showImageComponent.class.php
   trunk/apps/qubit/modules/digitalobject/actions/showTextComponent.class.php
   trunk/apps/qubit/modules/digitalobject/actions/showVideoComponent.class.php
   trunk/lib/model/QubitDigitalObject.php
   trunk/lib/model/QubitMenu.php

Modified: 
trunk/apps/qubit/modules/digitalobject/actions/showAudioComponent.class.php
==============================================================================
--- trunk/apps/qubit/modules/digitalobject/actions/showAudioComponent.class.php 
Thu Oct 28 01:03:25 2010        (r8611)
+++ trunk/apps/qubit/modules/digitalobject/actions/showAudioComponent.class.php 
Thu Oct 28 01:09:07 2010        (r8612)
@@ -39,7 +39,7 @@
     $this->representation = 
$this->digitalObject->getRepresentationByUsage($this->usageType);
 
     // If we can't find a representation for this object, try their parent
-    if (!$this->representation && ($parent = 
$this->digitalObject->getParent()))
+    if (!$this->representation && ($parent = $this->digitalObject->parent))
     {
       $this->representation = 
$parent->getRepresentationByUsage($this->usageType);
     }

Modified: 
trunk/apps/qubit/modules/digitalobject/actions/showImageComponent.class.php
==============================================================================
--- trunk/apps/qubit/modules/digitalobject/actions/showImageComponent.class.php 
Thu Oct 28 01:03:25 2010        (r8611)
+++ trunk/apps/qubit/modules/digitalobject/actions/showImageComponent.class.php 
Thu Oct 28 01:09:07 2010        (r8612)
@@ -39,7 +39,7 @@
     $this->representation = 
$this->digitalObject->getRepresentationByUsage($this->usageType);
 
     // If we can't find a representation for this object, try their parent
-    if (!$this->representation && ($parent = 
$this->digitalObject->getParent()))
+    if (!$this->representation && ($parent = $this->digitalObject->parent))
     {
       $this->representation = 
$parent->getRepresentationByUsage($this->usageType);
     }

Modified: 
trunk/apps/qubit/modules/digitalobject/actions/showTextComponent.class.php
==============================================================================
--- trunk/apps/qubit/modules/digitalobject/actions/showTextComponent.class.php  
Thu Oct 28 01:03:25 2010        (r8611)
+++ trunk/apps/qubit/modules/digitalobject/actions/showTextComponent.class.php  
Thu Oct 28 01:09:07 2010        (r8612)
@@ -39,7 +39,7 @@
     $this->representation = 
$this->digitalObject->getRepresentationByUsage($this->usageType);
 
     // If we can't find a representation for this object, try their parent
-    if (!$this->representation && ($parent = 
$this->digitalObject->getParent()))
+    if (!$this->representation && ($parent = $this->digitalObject->parent))
     {
       $this->representation = 
$parent->getRepresentationByUsage($this->usageType);
     }

Modified: 
trunk/apps/qubit/modules/digitalobject/actions/showVideoComponent.class.php
==============================================================================
--- trunk/apps/qubit/modules/digitalobject/actions/showVideoComponent.class.php 
Thu Oct 28 01:03:25 2010        (r8611)
+++ trunk/apps/qubit/modules/digitalobject/actions/showVideoComponent.class.php 
Thu Oct 28 01:09:07 2010        (r8612)
@@ -39,7 +39,7 @@
     $this->representation = 
$this->digitalObject->getRepresentationByUsage($this->usageType);
 
     // If we can't find a representation for this object, try their parent
-    if (!$this->representation && ($parent = 
$this->digitalObject->getParent()))
+    if (!$this->representation && ($parent = $this->digitalObject->parent))
     {
       $this->representation = 
$parent->getRepresentationByUsage($this->usageType);
     }

Modified: trunk/lib/model/QubitDigitalObject.php
==============================================================================
--- trunk/lib/model/QubitDigitalObject.php      Thu Oct 28 01:03:25 2010        
(r8611)
+++ trunk/lib/model/QubitDigitalObject.php      Thu Oct 28 01:09:07 2010        
(r8612)
@@ -415,7 +415,7 @@
 
     if (null == ($parentInformationObject = $this->getInformationObject()))
     {
-      $parentInformationObject = $this->getParent()->getInformationObject();
+      $parentInformationObject = $this->parent->getInformationObject();
     }
 
     // Fail if no valid parent information object found

Modified: trunk/lib/model/QubitMenu.php
==============================================================================
--- trunk/lib/model/QubitMenu.php       Thu Oct 28 01:03:25 2010        (r8611)
+++ trunk/lib/model/QubitMenu.php       Thu Oct 28 01:09:07 2010        (r8612)
@@ -331,7 +331,7 @@
   public function moveBeforeById($referenceMenuId)
   {
     // Limit re-sorting to list of siblings
-    $parent = $this->getParent();
+    $parent = $this->parent;
 
     $criteria = new Criteria;
     $criteria->add(QubitMenu::ID, $referenceMenuId);
@@ -358,7 +358,7 @@
   public function moveAfterById($referenceMenuId)
   {
     // Limit re-sorting to list of siblings
-    $parent = $this->getParent();
+    $parent = $this->parent;
 
     $criteria = new Criteria;
     $criteria->add(QubitMenu::ID, $referenceMenuId);

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to