public function get($request, $match, $p)
    {
        $backend = parent::getObject($request, $match, $p);
        if ($backend->tenant !== Tenant_Shortcuts_GetMainTenant()->id) {
            throw new Pluf_HTTP_Error404("Object not found (" . $p['model'] . "," . $backend->id . ")");
        }
        return $backend;
    }
public function get($request, $match, $p)
    {
        $backend = parent::getObject($request, $match, $p);
        if ($backend->tenant !== Tenant_Shortcuts_GetMainTenant()->id) {
            throw new Pluf_HTTP_Error404("Object not found (" . $p['model'] . "," . $backend->id . ")");
        }
        return $backend;
    }
public function get ( $ request , $ match , $ p ) { $ backend = parent :: getObject ( $ request , $ match , $ p ) ; if ( $ backend -> tenant !== Tenant_Shortcuts_GetMainTenant ( ) -> id ) { throw new Pluf_HTTP_Error404 ( "Object not found (" . $ p [ 'model' ] . "," . $ backend -> id . ")" ) ; } return $ backend ; }
Returns bank-backend determined by given id.
This method returns backend if and only if backend with given id blongs to main tenant
else it throws not found exception

@param Pluf_HTTP_Request $request
@param array $match
@param array $p
Returns bank - backend determined by given id . This method returns backend if and only if backend with given id blongs to main tenant else it throws not found exception