Model/Document.php
changeset 3 976d922e52f0
parent 2 13f43f53d0ba
child 14 673b2766024e
child 17 81962874e172
--- a/Model/Document.php	Sun Oct 16 14:50:48 2011 +0200
+++ b/Model/Document.php	Mon Oct 17 13:51:50 2011 +0200
@@ -10,7 +10,7 @@
 
 namespace IRI\Bundle\WikiTagBundle\Model;
 
-abstract class Document implements DocumentInterface {
+abstract class Document implements BaseDocumentInterface {
     
     /**
     * @var integer $id
@@ -30,7 +30,12 @@
     /**
      * @var boolean $manualOrder
      */
-    protected $manualOrder;
+    protected $manualOrder = false;
+    
+    /**
+     * @var string $externalId
+     */
+    protected $externalId;
     
     
     /**
@@ -103,5 +108,22 @@
         return $this->manualOrder;
     }
     
+    /**
+     * TODO: (non-PHPdoc)
+     * @see IRI\Bundle\WikiTagBundle\Model.BaseDocumentInterface::setExternalId()
+     */
+    function setExternalId($externalId)
+    {
+        $this->externalId = $externalId;
+    }
+    
+    /**
+     * TODO: (non-PHPdoc)
+     * @see IRI\Bundle\WikiTagBundle\Model.BaseDocumentInterface::getExternalId()
+     */
+    function getExternalId()
+    {
+        return $this->externalId;
+    }
     
 }