Method | Description | |
---|---|---|
__construct ( ) | Constructor | |
getTargetContext ( $request, &$journalsCount = null ) : mixed | Returns a "best-guess" journal, based in the request data, if a request needs to have one in its context but may be in a site-level context as specified in the URL. |
public getTargetContext ( $request, &$journalsCount = null ) : mixed | ||
$request | Request | |
$journalsCount | int Optional reference to receive journals count | |
return | mixed | Either a Journal or null if none could be determined. |