Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

Public Member Functions | List of all members
eZProductPermission Class Reference

## Public Member Functions
| hasPermission ( $productID, $user=false)
| getPermissionList ( $productID)
| setPermission ( $productID, $groupID)
| removePermissions ( $productID)

## Detailed Description

! The class eZProductPermission handles permissions of products

Definition at line 36 of file ezproductpermission.php.

## Member Function Documentation

## ◆ getPermissionList()

eZProductPermission::getPermissionList | ( |  | $productID | ) |

Definition at line 64 of file ezproductpermission.php.

References $db, $element, $ret, and eZDB\globalDatabase().

## ◆ hasPermission()

eZProductPermission::hasPermission | ( |  | $productID,
|  |  | $user = `false`
| ) |  |

Definition at line 38 of file ezproductpermission.php.

References $db, $groups, $ret, $user, eZUser\currentUser(), and eZDB\globalDatabase().

## ◆ removePermissions()

eZProductPermission::removePermissions | ( |  | $productID | ) |

Definition at line 89 of file ezproductpermission.php.

References $db, $res, eZDB\finish(), and eZDB\globalDatabase().

## ◆ setPermission()

eZProductPermission::setPermission | ( |  | $productID,
|  |  | $groupID
| ) |  |

Definition at line 77 of file ezproductpermission.php.

References $db, $res, eZDB\finish(), and eZDB\globalDatabase().

The documentation for this class was generated from the following file:

- ezproductpermission.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.