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