Commit 69b4a0a73c7cd79705df68f4ab47242db6e49b1b

Authored by nbm
1 parent adb2d76e

Pass the dispatcher in as the context to the template


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4302 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/search/booleanSearch.php
@@ -28,6 +28,7 @@ class BooleanSearchDispatcher extends KTStandardDispatcher { @@ -28,6 +28,7 @@ class BooleanSearchDispatcher extends KTStandardDispatcher {
28 $aCriteria = Criteria::getAllCriteria(); 28 $aCriteria = Criteria::getAllCriteria();
29 29
30 $aTemplateData = array( 30 $aTemplateData = array(
  31 + "context" => &$this,
31 "aCriteria" => $aCriteria, 32 "aCriteria" => $aCriteria,
32 ); 33 );
33 return $oTemplate->render($aTemplateData); 34 return $oTemplate->render($aTemplateData);