HomeHelpTrac

Changeset 15948 for trunk/inc


Ignore:
Timestamp:
02/06/12 00:21:55 (4 months ago)
Author:
Alexander Trofimov
Message:

Page - automatic menu selection

Location:
trunk/inc/classes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/inc/classes/BxDolPage.php

    r15943 r15948  
    5252 * - override_class_name: user defined class name which is derived from BxTemplPage. 
    5353 * - override_class_file: the location of the user defined class, leave it empty if class is located in system folders. 
     54 * 
     55 * Page can select appropriate menu automatically if 'module' and 'object' fields in 'sys_objects_page' table are matched with 'module' and 'name' fields in 'sys_menu_items' table. 
     56 * 
    5457 *  
    5558 * Page layout are stored in 'sys_pages_layouts' table: 
  • trunk/inc/classes/BxDolTemplate.php

    r15942 r15948  
    17231723        $this->setPageHeader ($sTitle); 
    17241724        $this->setPageContent ('page_main_code', DesignBoxContent($sTitle, MsgBox($sTitle), BX_DB_PADDING_DEF)); 
    1725         PageCode(); 
     1725        $this->getPageCode(); 
    17261726        exit; 
    17271727    } 
Note: See TracChangeset for help on using the changeset viewer.