assort/src/AssortShortcuts.php

Functions

Assort_Shortcuts_GetTagByNameOr404()

Assort_Shortcuts_GetTagByNameOr404(string  $name) : \Assort_Tag

Returns Assort_Tag with given name.

Throws an exception (with http code 404) if there is no tag with given name.

Parameters

string $name

Throws

\Assort_Exception_ObjectNotFound

if there is no tag with given name.

Returns

\Assort_Tag

Assort_Shortcuts_NormalizeItemPerPage()

Assort_Shortcuts_NormalizeItemPerPage(  $request) 

Parameters

$request