Beispiel #1
0
 protected static function getDbConnection()
 {
     if (self::$_connection === null) {
         self::$_connection = self::getDbResource()->getConnection('core_read');
     }
     return self::$_connection;
 }
Beispiel #2
0
 public function getCategoryIds()
 {
     return Vikont_Data2data_Helper_Db::getTableValues('catalog/category', 'entity_id');
 }