Index: trunk/extensions/EducationProgram/actions/ViewCourseAction.php |
— | — | @@ -83,7 +83,7 @@ |
84 | 84 | $stats = array(); |
85 | 85 | |
86 | 86 | $orgName = EPOrgs::singleton()->selectFieldsRow( 'name', array( 'id' => $course->getField( 'org_id' ) ) ); |
87 | | - $stats['org'] = OrgPage::getLinkFor( $orgName ); |
| 87 | + $stats['org'] = EPOrgs::singleton()->getLinkFor( $orgName ); |
88 | 88 | |
89 | 89 | $lang = $this->getLanguage(); |
90 | 90 | |
Index: trunk/extensions/EducationProgram/includes/EPOrgPager.php |
— | — | @@ -62,7 +62,7 @@ |
63 | 63 | public function getFormattedValue( $name, $value ) { |
64 | 64 | switch ( $name ) { |
65 | 65 | case 'name': |
66 | | - $value = OrgPage::getLinkFor( $value ); |
| 66 | + $value = EPOrgs::singleton()->getLinkFor( $value ); |
67 | 67 | break; |
68 | 68 | case 'country': |
69 | 69 | $countries = array_flip( EPUtils::getCountryOptions( $this->getLanguage()->getCode() ) ); |
Index: trunk/extensions/EducationProgram/includes/EPCoursePager.php |
— | — | @@ -72,7 +72,7 @@ |
73 | 73 | public function getFormattedValue( $name, $value ) { |
74 | 74 | switch ( $name ) { |
75 | 75 | case 'name': |
76 | | - $value = CoursePage::getLinkFor( $value ); |
| 76 | + $value = EPCourses::singleton()->getLinkFor( $value ); |
77 | 77 | break; |
78 | 78 | case 'org_id': |
79 | 79 | $org = EPOrgs::singleton()->selectRow( 'name', array( 'id' => $value ) ); |