Changeset 711 for trunk/Modules/User


Ignore:
Timestamp:
Dec 29, 2014, 12:43:16 AM (10 years ago)
Author:
chronos
Message:
  • Modified: Some FormType definition moved from global file to corresponding modules.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/User/User.php

    r703 r711  
    657657      ),
    658658    ));
    659 
     659    $this->System->FormManager->RegisterFormType('TUser', array(
     660        'Type' => 'Reference',
     661        'Table' => 'User',
     662        'Id' => 'Id',
     663        'Name' => 'Name',
     664        'Filter' => '1',
     665    ));
     666    $this->System->FormManager->RegisterFormType('TPermissionGroup', array(
     667        'Type' => 'Reference',
     668        'Table' => 'PermissionGroup',
     669        'Id' => 'Id',
     670        'Name' => 'Description',
     671        'Filter' => '1',
     672    ));
     673    $this->System->FormManager->RegisterFormType('TPermissionGroupAssignment', array(
     674        'Type' => 'Reference',
     675        'Table' => 'PermissionGroupAssignment',
     676        'Id' => 'Id',
     677        'Name' => 'Id',
     678        'Filter' => '1',
     679    ));
     680    $this->System->FormManager->RegisterFormType('TPermissionOperation', array(
     681        'Type' => 'Reference',
     682        'Table' => 'PermissionOperation',
     683        'Id' => 'Id',
     684        'Name' => 'Id',
     685        'Filter' => '1',
     686    ));
     687   
    660688  }
    661689
Note: See TracChangeset for help on using the changeset viewer.