SHARE
TWEET

Untitled

a guest Sep 14th, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. /**
  4.  * PluginCustomer
  5.  *
  6.  * This class has been auto-generated by the Doctrine ORM Framework
  7.  *
  8.  * @package    ##PACKAGE##
  9.  * @subpackage ##SUBPACKAGE##
  10.  * @author     ##NAME## <##EMAIL##>
  11.  * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
  12.  */
  13. abstract class PluginCustomer extends BaseCustomer
  14. {
  15.  
  16.     /******************************************************************
  17.      *
  18.      *
  19.      *                                              DmUser Management
  20.      *
  21.      *
  22.      ******************************************************************/
  23.  
  24.     protected function __getPartyType()
  25.     {
  26.         return 'CUSTOMER';
  27.     }
  28.  
  29.     protected function __getDmUserGroups()
  30.     {
  31.         return array_merge(parent::__getDmUserGroups(), array());
  32.     }
  33.  
  34.     protected function __getDmUserPermissions()
  35.     {
  36.         return array_merge(parent::__getDmUserPermissions(), array('customer'));
  37.     }
  38.  
  39. }
RAW Paste Data
Top