Author: david
Date: Thu Oct 8 15:36:47 2009
New Revision: 3702
Log:
Remove deprecated addNameAccessPoint() method.
Modified:
trunk/lib/model/QubitInformationObject.php
Modified: trunk/lib/model/QubitInformationObject.php
==============================================================================
--- trunk/lib/model/QubitInformationObject.php Thu Oct 8 15:35:59 2009
(r3701)
+++ trunk/lib/model/QubitInformationObject.php Thu Oct 8 15:36:47 2009
(r3702)
@@ -605,29 +605,6 @@
}
/**
- * Add a name access point to this info object
- *
- * @param integer $actorId primary key of actor
- * @param integer $eventTypeId foriegn key to QubitTerm for event type
taxonomy
- * @return QubitInformationObject this object
- */
- public function addNameAccessPoint($actorId, $eventTypeId)
- {
- // Only add new related QubitEvent relation if an indentical relationship
- // doesn't already exist
- if ($this->getNameAccessPoint($actorId, $eventTypeId) === null)
- {
- $newNameAccessPoint = new QubitEvent;
- $newNameAccessPoint->setActorId($actorId);
- $newNameAccessPoint->setTypeId($eventTypeId);
- $newNameAccessPoint->setInformationObjectId($this->getId());
- $newNameAccessPoint->save();
- }
-
- return $this;
- }
-
- /**
* Get an array of name access points related to this InformationObject.
*
* @return array of related QubitEvent objects.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---