Skip to content
Snippets Groups Projects
Commit c4d99483 authored by Brett Bieber's avatar Brett Bieber
Browse files

Add global references to controller and course data searcher

parent bc208dab
Branches
Tags
No related merge requests found
...@@ -429,6 +429,9 @@ class UNL_Catalog ...@@ -429,6 +429,9 @@ class UNL_Catalog
$savvy->setEscape('htmlentities'); $savvy->setEscape('htmlentities');
$savvy->setClassToTemplateMapper(new UNL_UndergraduateBulletin_ClassToTemplateMapper()); $savvy->setClassToTemplateMapper(new UNL_UndergraduateBulletin_ClassToTemplateMapper());
$savvy->setTemplatePath($this->undergraduate_bulletin_dir . '/www/templates/html/'); $savvy->setTemplatePath($this->undergraduate_bulletin_dir . '/www/templates/html/');
$savvy->addGlobal('controller', $this);
$savvy->addGlobal('course_search_driver', new UNL_Catalog_CourseSearch_DBSearcher());
} }
return $savvy; return $savvy;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment