ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Ignore:
Timestamp:
Apr 5, 2009, 6:28:34 AM (14 years ago)
Author:
ebihara
Message:

#3765:imported new models for Doctrine from some old models for Propel to enable to login

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/branches/goto_doctrine/apps/pc_frontend/modules/default/actions/components.class.php

    r11209 r11219  
    1717      $type = 'secure_global';
    1818    }
    19     $this->navs = NavigationPeer::retrieveByType($type);
     19    $this->navs = Doctrine::getTable('Navigation')->retrieveByType($type);
    2020  }
    2121
     
    3232    $this->type = sfConfig::get('sf_nav_type', sfConfig::get('mod_' . $module . '_default_nav', 'default'));
    3333
    34     $this->navs = NavigationPeer::retrieveByType($this->type);
     34    $this->navs = Doctrine::getTable('Navigation')->retrieveByType($this->type);
    3535
    3636    if ('default' !== $this->type)
     
    4242  public function executeSideBannerGadgets()
    4343  {
    44     $this->gadgets = GadgetPeer::retrieveSideBannerContentsGadgets();
     44    $this->gadgets = Doctrine::getTable('Gadget')->retrieveSideBannerContentsGadgets();
    4545  }
    4646
Note: See TracChangeset for help on using the changeset viewer.