summaryrefslogtreecommitdiff
path: root/FisheyeGallery.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-01-06 09:46:13 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-01-06 09:46:13 +0000
commit338ea00e13ad5158ee740e392bd3aaff0a52c687 (patch)
treef32064f49a6eab869f3667f84dfcdcf04a465f5c /FisheyeGallery.php
parentec82c618f421112d1bb4fff12b8e1c193c7b1900 (diff)
downloadfisheye-338ea00e13ad5158ee740e392bd3aaff0a52c687.tar.gz
fisheye-338ea00e13ad5158ee740e392bd3aaff0a52c687.tar.bz2
fisheye-338ea00e13ad5158ee740e392bd3aaff0a52c687.zip
rename some methods in BitDbBase to meet bitweaver standards. all changes backwards compatible with deprecated function call message.
Diffstat (limited to 'FisheyeGallery.php')
-rw-r--r--FisheyeGallery.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/FisheyeGallery.php b/FisheyeGallery.php
index 769f389..ebc516a 100644
--- a/FisheyeGallery.php
+++ b/FisheyeGallery.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.46 2006/12/24 13:39:02 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.47 2007/01/06 09:46:13 squareing Exp $
* @package fisheye
*/
@@ -190,7 +190,7 @@ class FisheyeGallery extends FisheyeBase {
$rows = $offset = NULL;
if( $gBitSystem->isFeatureActive( 'fisheye_gallery_default_sort_mode' ) ) {
- $orderSql = ", ".$this->mDb->convert_sortmode( $gBitSystem->getConfig( 'fisheye_gallery_default_sort_mode' ) );
+ $orderSql = ", ".$this->mDb->convertSortmode( $gBitSystem->getConfig( 'fisheye_gallery_default_sort_mode' ) );
} else {
$orderSql = ", fgim.`item_content_id`";
}
@@ -367,7 +367,7 @@ class FisheyeGallery extends FisheyeBase {
$query = "SELECT fgim.`item_content_id`, lc.`content_type_guid`
FROM `".BIT_DB_PREFIX."fisheye_gallery_image_map` fgim INNER JOIN `".BIT_DB_PREFIX."liberty_content` lc ON ( fgim.`item_content_id`=lc.`content_id` )
WHERE fgim.`gallery_content_id` = ?
- ORDER BY ".$this->mDb->convert_sortmode('random');
+ ORDER BY ".$this->mDb->convertSortmode('random');
$rs = $this->mDb->query($query, array( $pContentId ), 1);
$pThumbnailContentId = $rs->fields['item_content_id'];
$pThumbnailContentType = $rs->fields['content_type_guid'];
@@ -635,7 +635,7 @@ vd( $this->mErrors );
if ( !empty( $pListHash['sort_mode'] ) ) {
//converted in prepGetList()
- $sortSql .= " ORDER BY ".$this->mDb->convert_sortmode( $pListHash['sort_mode'] )." ";
+ $sortSql .= " ORDER BY ".$this->mDb->convertSortmode( $pListHash['sort_mode'] )." ";
}
// Putting in the below hack because mssql cannot select distinct on a text blob column.
$selectSql .= $gBitDbType == 'mssql' ? " ,CAST(lc.`data` AS VARCHAR(250)) as `data` " : " ,lc.`data` ";