Author: david
Date: Tue Jul 19 15:29:14 2011
New Revision: 9325

Log:
Cosmetic change s/parentObject/parent/

Modified:
   trunk/lib/model/QubitDigitalObject.php

Modified: trunk/lib/model/QubitDigitalObject.php
==============================================================================
--- trunk/lib/model/QubitDigitalObject.php      Tue Jul 19 14:52:30 2011        
(r9324)
+++ trunk/lib/model/QubitDigitalObject.php      Tue Jul 19 15:29:14 2011        
(r9325)
@@ -764,18 +764,18 @@
    * @param mixed    Parent (QubitDigitalObject or QubitInformationObject)
    * @return string  asset file path
    */
-  public static function getAssetPathfromParent($parentObject)
+  public static function getAssetPathfromParent($parent)
   {
     $uploadPathRelative = sfConfig::get('app_upload_dir');
 
-    if (get_class($parentObject) == 'QubitDigitalObject')
+    if (get_class($parent) == 'QubitDigitalObject')
     {
-      $infoObject = $parentObject->getAncestorInformationObject();
+      $infoObject = $parent->getAncestorInformationObject();
       $infoObjectId = (string) $infoObject->id;
     }
-    else if (get_class($parentObject) == 'QubitInformationObject')
+    else if (get_class($parent) == 'QubitInformationObject')
     {
-      $infoObjectId = (string) $parentObject->id;
+      $infoObjectId = (string) $parent->id;
     }
     else
     {

-- 
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