Пример #1
0
 function getUserDefendDao()
 {
     static $dao = null;
     if (!$dao) {
         require_once CLOUDWIND_VERSION_DIR . '/dao/dao_factory.class.php';
         $daoFactory = new CloudWind_Dao_Factory();
         $dao = $daoFactory->getDefendUserDefendDao();
     }
     return $dao;
 }
Пример #2
0
 function _getDiarysDao()
 {
     static $dao = null;
     if (!$dao) {
         require_once CLOUDWIND_VERSION_DIR . '/dao/dao_factory.class.php';
         $daoFactory = new CloudWind_Dao_Factory();
         $dao = $daoFactory->getSearchDiaryDao();
     }
     return $dao;
 }
 function _getLogSettingDao()
 {
     require_once CLOUDWIND_VERSION_DIR . '/dao/dao_factory.class.php';
     $factory = new CloudWind_Dao_Factory();
     return $factory->getPlatformLogSettingDao();
 }
Пример #4
0
 function _getYunSettingDao()
 {
     static $sYunSettingDao;
     if (!$sYunSettingDao) {
         require_once CLOUDWIND_VERSION_DIR . '/dao/dao_factory.class.php';
         $factory = new CloudWind_Dao_Factory();
         $sYunSettingDao = $factory->getPlatformSettingDao();
     }
     return $sYunSettingDao;
 }