Source
32 return $fields;
33 }
34
35 public function RedirectionLink()
36 {
37 if ($this->PosterID) {
38 $linkTo = $this->PosterID ? DataObject::get_by_id("File", $this->PosterID) : null;
39 }
40
41 if ($linkTo) {
42 return $linkTo->Link();
43 }
44 else {
45 return null;
46 }
47 }
Trace
- Poster->RedirectionLink()
Object.php:749
- Object->__call(redirectionlink,Array)
Poster.php:58
- Poster_Controller->init()
Controller.php:143
- Controller->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:174
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:154
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ContentController.php:154
- ContentController->handleRequest(SS_HTTPRequest,DataModel)
ModelAsController.php:75
- ModelAsController->handleRequest(SS_HTTPRequest,DataModel)
Director.php:385
- Director::handleRequest(SS_HTTPRequest,Session,DataModel)
Director.php:149
- Director::direct(/publications/publications-posters/radioactivity-poster-in-11-languages,DataModel)
main.php:208