Author: peter
Date: 2008-11-10 16:57:43 -0800 (Mon, 10 Nov 2008)
New Revision: 1550

Modified:
   
trunk/qubit/apps/qubit/modules/informationobject/templates/showIsadSuccess.php
   trunk/qubit/lib/model/QubitInformationObject.php
Log:
update name access points and getCreators display

Modified: 
trunk/qubit/apps/qubit/modules/informationobject/templates/showIsadSuccess.php
===================================================================
--- 
trunk/qubit/apps/qubit/modules/informationobject/templates/showIsadSuccess.php  
    2008-11-11 00:56:13 UTC (rev 1549)
+++ 
trunk/qubit/apps/qubit/modules/informationobject/templates/showIsadSuccess.php  
    2008-11-11 00:57:43 UTC (rev 1550)
@@ -212,7 +212,7 @@
 <td>
   <?php foreach ($nameAccessPoints as $name): ?>
     <?php echo link_to($name->getActor(), 
'actor/show?id='.$name->getActorId()) ?>
-    <?php echo ' ('.$name->getActorRole().')' ?>
+    <?php echo ' ('.$name->getType()->getRole().')' ?>
     <br />
   <?php endforeach; ?>
 </td></tr>

Modified: trunk/qubit/lib/model/QubitInformationObject.php
===================================================================
--- trunk/qubit/lib/model/QubitInformationObject.php    2008-11-11 00:56:13 UTC 
(rev 1549)
+++ trunk/qubit/lib/model/QubitInformationObject.php    2008-11-11 00:57:43 UTC 
(rev 1550)
@@ -266,14 +266,14 @@
   }
 
   //Actor-Event Relations
-  public function getActors(array $options = array())
+  public function getActors($options = array())
   {
     $criteria = new Criteria;
     $criteria->addJoin(QubitActor::ID, QubitEvent::ACTOR_ID);
     $criteria->add(QubitEvent::INFORMATION_OBJECT_ID, $this->getId());
     if (isset($options['eventTypeId']))
     {
-      $criteria->add(QubitEvent::TYPE_ID, $options['eventTypeId']);
+      $criteria->add(QubitEvent::TYPE_ID, 111);
     }
     $criteria->addGroupByColumn(QubitEvent::ACTOR_ID);
 


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

Reply via email to