Author: david
Date: Mon Oct 5 17:45:45 2009
New Revision: 3673
Log:
Cosmetic change - move getDisplayAsCompoundObject() method directly after
setDisplayAsCompoundObject() method.
Modified:
trunk/lib/model/QubitDigitalObject.php
Modified: trunk/lib/model/QubitDigitalObject.php
==============================================================================
--- trunk/lib/model/QubitDigitalObject.php Mon Oct 5 16:40:21 2009
(r3672)
+++ trunk/lib/model/QubitDigitalObject.php Mon Oct 5 17:45:45 2009
(r3673)
@@ -1678,6 +1678,20 @@
return $this;
}
+ /**
+ * Getter for related "display_as_compound_object" property
+ *
+ * @return string property value
+ */
+ public function getDisplayAsCompoundObject()
+ {
+ $displayAsCompoundProp =
QubitProperty::getOneByObjectIdAndName($this->getId(),
'display_as_compound_object');
+ if (null !== $displayAsCompoundProp)
+ {
+
+ return $displayAsCompoundProp->getValue(array('sourceCulture' => true));
+ }
+ }
/**
* Decide whether to show child digital objects as a compound object based
@@ -1716,19 +1730,4 @@
return true;
}
-
- /**
- * Getter for related "display_as_compound_object" property
- *
- * @return string property value
- */
- public function getDisplayAsCompoundObject()
- {
- $displayAsCompoundProp =
QubitProperty::getOneByObjectIdAndName($this->getId(),
'display_as_compound_object');
- if (null !== $displayAsCompoundProp)
- {
-
- return $displayAsCompoundProp->getValue(array('sourceCulture' => true));
- }
- }
}
--~--~---------~--~----~------------~-------~--~----~
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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---