Start typing to see suggestions. Use arrow keys to navigate, Enter to select.

licenses

Kirby collection

Returns a Kirby\Toolkit\Collection with available licenses. This handles tiers and entities.
|Property|Type|Info|
|---|---|---|
|$license->id()|String|License id.|
|$license->template()|String|File type user is allowed to download. |
|$license->page()|String|License id.|
|$license->title()|String|License title.|
|$license->multiplier()|Float|License price multiplier.|
|$license->page()|String|License page for EULA.|
|$license->entity()|null|String|License entity title.|

Usage

This collection is registered as fountain.licenses and can be accessed via:

$kirby->collection('fountain.licenses');
// or in templates:
collection('fountain.licenses');

Source: /collections/licenses.php

Jump to