\Shop_Views_ProductMetafield

Summary

Methods
Properties
Constants
find()
get()
remove()
createOrUpdate()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getMetafieldByIdOrKey()
No private properties found
N/A

Methods

find()

find(  $request,   $match) 

Parameters

$request
$match

get()

get(  $request,   $match) 

Parameters

$request
$match

remove()

remove(  $request,   $match) 

Parameters

$request
$match

createOrUpdate()

createOrUpdate(  $request,   $match) 

Parameters

$request
$match

getMetafieldByIdOrKey()

getMetafieldByIdOrKey(\Pluf_HTTP_Request  $request, array  $match) : NULL|\Shop_ProductMetafield

Extract Id or Key of metafield from given request and returns related Metafield

Parameters

\Pluf_HTTP_Request $request
array $match

Throws

\Pluf_Exception_DoesNotExist

if Id is given and Metafield with given id does not exist or is not blong to given Product

Returns

NULL|\Shop_ProductMetafield