\Shop_Order_Manager_SimplePreconditions

Default Order manager

Summary

Methods
Properties
Constants
canUpdateOrder()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

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.