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/News/News.php

    r660 r711  
    6666      ),
    6767    ));
     68    $this->System->FormManager->RegisterFormType('TNewsCategory', array(
     69        'Type' => 'Reference',
     70        'Table' => 'NewsCategory',
     71        'Id' => 'Id',
     72        'Name' => 'Caption',
     73        'Filter' => '1',
     74    ));
     75    $this->System->FormManager->RegisterFormType('TNewsList', array(
     76        'Type' => 'ManyToOne',
     77        'Table' => 'News',
     78        'Id' => 'Id',
     79        'Ref' => 'Category',
     80        'Filter' => '1',
     81    ));
     82   
    6883    if($this->System->ModuleManager->ModulePresent('Search'))
    6984    {
Note: See TracChangeset for help on using the changeset viewer.