Returns a model-related absolute url , deep-linking into the Hublify app.

Syntax

appUrlGotoRecord(string $model, string $primaryValue, string $pageType = 'detail', array $params = null): ?string 


Parameter

* @param string $model Url shall point to this model

 * @param string $primaryValue The primary key's value identifying the record.

 * @param string $pageType E.g. "detail|edit"

 *

 * @param array|null $params Optional associative array for URL-GET-Params

 *

Return

 * @return string|null Returns an absolute url. Returns NULL if no base-url for app could be determined.


Examples

Yet to come...

...