Commit 226b6a1187323e237b656205bfe5b8cb54464b72

Authored by bshuttle
1 parent ae1ec44c

- no need to use a custom constructor.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4394 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/editDocument.php
... ... @@ -33,20 +33,17 @@ class KTEditDocumentDispatcher extends KTStandardDispatcher {
33 33 var $bAutomaticTransaction = true;
34 34 var $oDocument = null;
35 35 var $oFolder = null;
36   -
37   - var $sSection = "view_details";
38   -
39   - function KTEditDocumentDispatcher() {
40   - $this->aBreadcrumbs = array(
  36 + var $aBreadcrumbs = array(
41 37 array('action' => 'browse', 'name' => 'Browse'),
42 38 );
43   - }
  39 + var $sSection = "view_details";
44 40  
45 41 // FIXME identify the current location somehow.
46 42 function addPortlets($currentaction = null) {
47 43 $actions = KTDocumentActionUtil::getDocumentActionsForDocument($this->oDocument, $this->oUser);
48 44 $oPortlet = new KTActionPortlet(_("Document Actions"));
49 45 $oPortlet->setActions($actions, $currentaction);
  46 +
50 47 $this->oPage->addPortlet($oPortlet);
51 48 }
52 49  
... ...