function ($obj, $message) {
$scout = $this->();
$referrerId = $scout->($this->requestData);
// normally the request is POSTed by a form that was already
// in de edit details context, but theoretically it is possible
// that the sender of the request want to move the action 'up'
// so that it redirects back to itself
$context = $this->('pntScd') == 'u'
? $scout->($referrerId)
: $this->($referrerId);
if ($context) {
$newReq = $context;
} else {
// No context. forward to same type listpage
$newReq = array('pntType' => $this->() );
}
return $this->($newReq, $message);
}
|