super-tms/src/SuperTmsShortcuts.php

Classes

SuperTms_Shortcuts

Functions

SuperTms_Shortcuts_NormalizeItemPerPage()

SuperTms_Shortcuts_NormalizeItemPerPage(  $request) 

Parameters

$request

SuperTms_Shortcuts_CheckTenant()

SuperTms_Shortcuts_CheckTenant(\Pluf_HTTP_Request  $request, array  $match, \Pluf_Model  $model) : \Pluf_HTTP_Error404|true

Checks if given model is blong to tenant determined in $request or $match

Parameters

\Pluf_HTTP_Request $request
array $match
\Pluf_Model $model

a model with tenant feild

Returns

\Pluf_HTTP_Error404|true —

true if given model is blong to tenant else throw exception