Ignore:
Timestamp:
2013/02/18 19:09:54 (11 years ago)
Author:
shutta
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.12.4)
Zend Framework PHP 標準コーディング規約のコーディングスタイルへ準拠。
classおよびfunctionの開始波括弧「{」のスタイルを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/LC_Page_Sitemap.php

    r22206 r22567  
    5151 * :TODO: filemtime 関数を使えば、静的なページの更新時間も取得できそう 
    5252 */ 
    53 class LC_Page_Sitemap extends LC_Page_Ex { 
     53class LC_Page_Sitemap extends LC_Page_Ex  
     54{ 
    5455 
    5556    // }}} 
     
    7071     * @return void 
    7172     */ 
    72     function init() { 
     73    function init() 
     74    { 
    7375        parent::init(); 
    7476 
     
    8385     * @return void 
    8486     */ 
    85     function process() { 
     87    function process() 
     88    { 
    8689        // ページのデータを取得 
    8790        // FIXME PCサイトのみに限定している。ある程度妥当だとは思うが、よりベターな方法はないだろうか。 
     
    140143     * @return void 
    141144     */ 
    142     function destroy() { 
     145    function destroy() 
     146    { 
    143147        parent::destroy(); 
    144148    } 
     
    155159     * TODO Smarty に移行すべき? 
    156160     */ 
    157     function createSitemap($loc, $lastmod = '', $changefreq = '', $priority = '') { 
     161    function createSitemap($loc, $lastmod = '', $changefreq = '', $priority = '') 
     162    { 
    158163        printf("\t<url>\n"); 
    159164        printf("\t\t<loc>%s</loc>\n", htmlentities($loc, ENT_QUOTES, 'UTF-8')); 
     
    176181     * @return array TOPページの情報 
    177182     */ 
    178     function getTopPage($arrPageList) { 
     183    function getTopPage($arrPageList) 
     184    { 
    179185        $arrRet = array(); 
    180186        foreach ($arrPageList as $arrPage) { 
     
    192198     * @return array 編集可能ページ 
    193199     */ 
    194     function getEditablePage($arrPageList) { 
     200    function getEditablePage($arrPageList) 
     201    { 
    195202        $arrRet = array(); 
    196203        foreach ($arrPageList as $arrPage) { 
     
    207214     * @return array 検索エンジンからアクセス可能な商品一覧ページの情報 
    208215     */ 
    209     function getAllProducts() { 
     216    function getAllProducts() 
     217    { 
    210218 
    211219        // XXX: 商品登録の無いカテゴリは除外する方が良い気もする 
     
    229237     * @return array 検索エンジンからアクセス可能な商品詳細ページの情報 
    230238     */ 
    231     function getAllDetail() { 
     239    function getAllDetail() 
     240    { 
    232241        $objQuery = SC_Query_Ex::getSingletonInstance(); 
    233242        $sql = 'SELECT product_id, update_date FROM dtb_products WHERE del_flg = 0 AND status = 1'; 
     
    252261     * @return array $arrPageList ブロック情報 
    253262     */ 
    254     function getPageData($where = '', $arrVal = '') { 
     263    function getPageData($where = '', $arrVal = '') 
     264    { 
    255265        $objQuery = SC_Query_Ex::getSingletonInstance();     // DB操作オブジェクト 
    256266        $sql = '';                      // データ取得SQL生成用 
     
    302312     * @return void 
    303313     */ 
    304     function date2W3CDatetime($date) { 
     314    function date2W3CDatetime($date) 
     315    { 
    305316        $arr = array(); 
    306317        // 正規表現で文字列を抽出 
Note: See TracChangeset for help on using the changeset viewer.