canUpdateOrder()
canUpdateOrder(\Pluf_HTTP_Request $request, $order) : true
Checks if requester is allowed to update the order.
Order could be updated if requester is owner of order or the feild 'secureId' is exsited in the request`s parameters.
Parameters
\Pluf_HTTP_Request | $request | |
$order |
Returns
true —if requester is allowed to update the order else false.