Changeset 20890


Ignore:
Timestamp:
2011/04/24 05:31:48 (11 years ago)
Author:
Seasoft
Message:

#1277 (SEO管理でエラー)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/pages/admin/basis/LC_Page_Admin_Basis_Seo.php

    r20764 r20890  
    200200    function lfGetSeoPageData() { 
    201201        $objLayout = new SC_Helper_PageLayout_Ex(); 
    202         $arrRet = array(); 
    203  
    204         $arrRet[DEVICE_TYPE_PC] = $objLayout->lfgetPageData('edit_flg = ? AND device_type_id = ?', array('2', DEVICE_TYPE_PC)); 
    205         $arrRet[DEVICE_TYPE_MOBILE] = $objLayout->lfgetPageData('edit_flg = ? AND device_type_id = ?', array('2', DEVICE_TYPE_MOBILE)); 
    206         $arrRet[DEVICE_TYPE_SMARTPHONE] = $objLayout->lfgetPageData('edit_flg = ? AND device_type_id = ?', array('2', DEVICE_TYPE_SMARTPHONE)); 
    207  
    208         return $arrRet; 
     202 
     203        return array( 
     204            DEVICE_TYPE_PC          => $objLayout->getPageProperties(DEVICE_TYPE_PC, null, 'edit_flg = ?', array('2')), 
     205            DEVICE_TYPE_MOBILE      => $objLayout->getPageProperties(DEVICE_TYPE_MOBILE, null, 'edit_flg = ?', array('2')), 
     206            DEVICE_TYPE_SMARTPHONE  => $objLayout->getPageProperties(DEVICE_TYPE_SMARTPHONE, null, 'edit_flg = ?', array('2')), 
     207        ); 
    209208    } 
    210209} 
Note: See TracChangeset for help on using the changeset viewer.