예제 #1
0
파일: Db.php 프로젝트: rcclaudrey/dev
 protected static function getDbConnection()
 {
     if (self::$_connection === null) {
         self::$_connection = self::getDbResource()->getConnection('core_read');
     }
     return self::$_connection;
 }
예제 #2
0
파일: Category.php 프로젝트: rcclaudrey/dev
 public function getCategoryIds()
 {
     return Vikont_Data2data_Helper_Db::getTableValues('catalog/category', 'entity_id');
 }