Ignore:
Timestamp:
2012/02/17 02:42:21 (12 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
File:
1 edited

Legend:

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

    r21514 r21527  
    157157     * TODO Smarty に移行すべき? 
    158158     */ 
    159     function createSitemap($loc, $lastmod = '', $changefreq = '', 
    160                            $priority = '') { 
     159    function createSitemap($loc, $lastmod = '', $changefreq = '', $priority = '') { 
    161160        printf("\t<url>\n"); 
    162161        printf("\t\t<loc>%s</loc>\n", htmlentities($loc, ENT_QUOTES, "UTF-8")); 
     
    308307        $arr = array(); 
    309308        // 正規表現で文字列を抽出 
    310         preg_match('/^([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})/', 
    311              $date, $arr); 
     309        preg_match('/^([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})/', $date, $arr); 
    312310        // :TODO: time zone も取得するべき... 
    313311        return sprintf('%04d-%02d-%02dT%02d:%02d:%02d+09:00', 
Note: See TracChangeset for help on using the changeset viewer.