Author: david
Date: Thu Oct  8 13:41:38 2009
New Revision: 3693

Log:
Add name access point constant.

Modified:
   trunk/lib/model/QubitTerm.php

Modified: trunk/lib/model/QubitTerm.php
==============================================================================
--- trunk/lib/model/QubitTerm.php       Thu Oct  8 12:31:47 2009        (r3692)
+++ trunk/lib/model/QubitTerm.php       Thu Oct  8 13:41:38 2009        (r3693)
@@ -98,6 +98,8 @@
   // Publication status taxonomy
   const PUBLICATION_STATUS_DRAFT_ID = 159;
   const PUBLICATION_STATUS_PUBLISHED_ID = 160;
+  // Name access point
+  const NAME_ACCESS_POINT_ID = 161;
 
   public function isProtected()
   {
@@ -151,7 +153,8 @@
     $this->getId() == QubitTerm::TERM_RELATION_ASSOCIATIVE_ID ||
     $this->getId() == QubitTerm::STATUS_TYPE_PUBLICATION_ID ||
     $this->getId() == QubitTerm::PUBLICATION_STATUS_DRAFT_ID ||
-    $this->getId() == QubitTerm::PUBLICATION_STATUS_PUBLISHED_ID;
+    $this->getId() == QubitTerm::PUBLICATION_STATUS_PUBLISHED_ID ||
+    $this->getId() == QubitTerm::NAME_ACCESS_POINT_ID;
   }
 
   public function __toString()

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