Ignore:
Timestamp:
Jul 12, 2023, 9:02:24 PM (16 months ago)
Author:
chronos
Message:
  • Modified: Improved client contract generation.
  • Fixed: SQL query logging into file.
File:
1 edited

Legend:

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

    r916 r951  
    5050    Core::Cast($this->System)->RegisterPage(['user'], 'PageUser');
    5151    Core::Cast($this->System)->RegisterPageBarItem('Top', 'User', array($this, 'TopBarCallback'));
    52     $this->System->FormManager->RegisterClass('UserLogin', array(
     52    Core::Cast($this->System)->FormManager->RegisterClass('UserLogin', array(
    5353      'Title' => 'Přihlášení uživatele',
    5454      'SubmitText' => 'Přihlásit',
     
    6060      ),
    6161    ));
    62     $this->System->FormManager->RegisterClass('UserOptions', array(
     62    Core::Cast($this->System)->FormManager->RegisterClass('UserOptions', array(
    6363      'Title' => 'Základní nastavení',
    6464      'Table' => 'User',
     
    7272      ),
    7373    ));
    74     $this->System->FormManager->RegisterClass('UserRegister', array(
     74    Core::Cast($this->System)->FormManager->RegisterClass('UserRegister', array(
    7575      'Title' => 'Registrace uživatele',
    7676      'SubmitText' => 'Registrovat',
     
    8484      ),
    8585    ));
    86     $this->System->FormManager->RegisterClass('PasswordRecovery', array(
     86    Core::Cast($this->System)->FormManager->RegisterClass('PasswordRecovery', array(
    8787      'Title' => 'Obnova hesla',
    8888      'SubmitText' => 'Obnovit',
     
    9393      ),
    9494    ));
    95     $this->System->FormManager->RegisterClass('APIToken', array(
     95    Core::Cast($this->System)->FormManager->RegisterClass('APIToken', array(
    9696      'Title' => 'Přístupový token',
    9797      'Table' => 'APIToken',
     
    101101      ),
    102102    ));
    103     $this->System->FormManager->RegisterClass('User', array(
     103    Core::Cast($this->System)->FormManager->RegisterClass('User', array(
    104104      'Title' => 'Uživatelé',
    105105      'Table' => 'User',
     
    120120      ),
    121121    ));
    122     $this->System->FormManager->RegisterClass('PermissionUserAssignment', array(
     122    Core::Cast($this->System)->FormManager->RegisterClass('PermissionUserAssignment', array(
    123123      'Title' => 'Oprávnění uživatelů',
    124124      'Table' => 'PermissionUserAssignment',
     
    129129      ),
    130130    ));
    131     $this->System->FormManager->RegisterClass('PermissionGroup', array(
     131    Core::Cast($this->System)->FormManager->RegisterClass('PermissionGroup', array(
    132132      'Title' => 'Skupiny oprávnění',
    133133      'Table' => 'PermissionGroup',
     
    138138      ),
    139139    ));
    140     $this->System->FormManager->RegisterClass('PermissionGroupAssignment', array(
     140    Core::Cast($this->System)->FormManager->RegisterClass('PermissionGroupAssignment', array(
    141141      'Title' => 'Přiřazení skupin oprávnění',
    142142      'Table' => 'PermissionGroupAssignment',
     
    147147      ),
    148148    ));
    149     $this->System->FormManager->RegisterClass('PermissionOperation', array(
     149    Core::Cast($this->System)->FormManager->RegisterClass('PermissionOperation', array(
    150150      'Title' => 'Operace oprávnění',
    151151      'Table' => 'PermissionOperation',
     
    158158      ),
    159159    ));
    160     $this->System->FormManager->RegisterFormType('TUser', array(
     160    Core::Cast($this->System)->FormManager->RegisterFormType('TUser', array(
    161161      'Type' => 'Reference',
    162162      'Table' => 'User',
     
    165165      'Filter' => '1',
    166166    ));
    167     $this->System->FormManager->RegisterFormType('TPermissionGroup', array(
     167    Core::Cast($this->System)->FormManager->RegisterFormType('TPermissionGroup', array(
    168168      'Type' => 'Reference',
    169169      'Table' => 'PermissionGroup',
     
    172172      'Filter' => '1',
    173173    ));
    174     $this->System->FormManager->RegisterFormType('TPermissionGroupAssignment', array(
     174    Core::Cast($this->System)->FormManager->RegisterFormType('TPermissionGroupAssignment', array(
    175175      'Type' => 'Reference',
    176176      'Table' => 'PermissionGroupAssignment',
     
    179179      'Filter' => '1',
    180180    ));
    181     $this->System->FormManager->RegisterFormType('TPermissionOperation', array(
     181    Core::Cast($this->System)->FormManager->RegisterFormType('TPermissionOperation', array(
    182182      'Type' => 'Reference',
    183183      'Table' => 'PermissionOperation',
Note: See TracChangeset for help on using the changeset viewer.