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

Legend:

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

    r711 r712  
    6060      ),
    6161    ));
     62    $this->System->FormManager->RegisterFormType('TTask', array(
     63      'Type' => 'Reference',
     64      'Table' => 'Task',
     65      'Id' => 'Id',
     66      'Name' => 'Name',
     67      'Filter' => '1',
     68    ));
    6269    $this->System->FormManager->RegisterFormType('TWorkListTask', array(
    6370        'Type' => 'ManyToOne',
     
    6774        'Filter' => '1',
    6875    ));
     76    $this->System->FormManager->RegisterFormType('TTaskList', array(
     77        'Type' => 'ManyToOne',
     78        'Table' => 'Task',
     79        'Id' => 'Id',
     80        'Ref' => 'Group',
     81        'Filter' => '1',
     82    ));
     83    $this->System->FormManager->RegisterFormType('TTaskGroup', array(
     84        'Type' => 'Reference',
     85        'Table' => 'TaskGroup',
     86        'Id' => 'Id',
     87        'Name' => 'Name',
     88        'Filter' => '1',
     89    ));
    6990   
    7091  }
Note: See TracChangeset for help on using the changeset viewer.