Ignore:
Timestamp:
2013/08/26 15:52:37 (11 years ago)
Author:
m_uehara
Message:

#2348 r23116 - r23125 をマージ

File:
1 edited

Legend:

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

    r23105 r23126  
    5353{ 
    5454    /** 動的に生成しないページの配列 */ 
    55     var $staticURL; 
     55    public $staticURL; 
    5656 
    5757    /** ページリスト */ 
    58     var $arrPageList; 
     58    public $arrPageList; 
    5959 
    6060    /** 
     
    6363     * @return void 
    6464     */ 
    65     function init() 
     65    public function init() 
    6666    { 
    6767        $this->skip_load_page_layout = true; 
     
    7878     * @return void 
    7979     */ 
    80     function process() 
     80    public function process() 
    8181    { 
    8282        // ページのデータを取得 
     
    134134     * Sitemap の <url /> を生成する. 
    135135     * 
    136      * @param string $loc ページの URL ※必須 
    137      * @param string $lastmod ファイルの最終更新日 YYYY-MM-DD or W3C Datetime 形式 
    138      * @param string $changefreq ページの更新頻度 
    139      * @param double $priority URL の優先度 
     136     * @param  string  $loc        ページの URL ※必須 
     137     * @param  string  $lastmod    ファイルの最終更新日 YYYY-MM-DD or W3C Datetime 形式 
     138     * @param  string $changefreq ページの更新頻度 
     139     * @param  double  $priority  URL の優先度 
    140140     * @return Sitemap 形式の <url /> 
    141141     * @see https://www.google.com/webmasters/tools/docs/ja/protocol.html#xmlTagDefinitions 
    142142     * TODO Smarty に移行すべき? 
    143143     */ 
    144     function createSitemap($loc, $lastmod = '', $changefreq = '', $priority = '') 
     144    public function createSitemap($loc, $lastmod = '', $changefreq = '', $priority = '') 
    145145    { 
    146146        printf("\t<url>\n"); 
     
    161161     * TOPページの情報を取得する. 
    162162     * 
    163      * @param array $arrPageList 全てのページ情報の配列 
     163     * @param  array $arrPageList 全てのページ情報の配列 
    164164     * @return array TOPページの情報 
    165165     */ 
    166     function getTopPage($arrPageList) 
     166    public function getTopPage($arrPageList) 
    167167    { 
    168168        $arrRet = array(); 
     
    170170            if ($arrPage['page_id'] == '1') { 
    171171                $arrRet[0] = $arrPage; 
     172 
    172173                return $arrRet; 
    173174            } 
     
    178179     * 全ての編集可能ページの情報を取得する. 
    179180     * 
    180      * @param array $arrPageList 全てのページ情報の配列 
     181     * @param  array $arrPageList 全てのページ情報の配列 
    181182     * @return array 編集可能ページ 
    182183     */ 
    183     function getEditablePage($arrPageList) 
     184    public function getEditablePage($arrPageList) 
    184185    { 
    185186        $arrRet = array(); 
     
    198199     * @return array 検索エンジンからアクセス可能な商品一覧ページの情報 
    199200     */ 
    200     function getAllProducts() 
     201    public function getAllProducts() 
    201202    { 
    202203        // XXX: 商品登録の無いカテゴリは除外する方が良い気もする 
     
    221222     * @return array 検索エンジンからアクセス可能な商品詳細ページの情報 
    222223     */ 
    223     function getAllDetail() 
     224    public function getAllDetail() 
    224225    { 
    225226        $objQuery = SC_Query_Ex::getSingletonInstance(); 
     
    241242     * ブロック情報を取得する. 
    242243     * 
    243      * @param string $where WHERE句 
    244      * @param array  $arrVal WHERE句の値を格納した配列 
    245      * @return array $arrPageList ブロック情報 
    246      */ 
    247     function getPageData($where = '', $arrVal = '') 
     244     * @param  string $where WHERE句 
     245     * @param  array  $arrVal WHERE句の値を格納した配列 
     246     * @return array  $arrPageList ブロック情報 
     247     */ 
     248    public function getPageData($where = '', $arrVal = '') 
    248249    { 
    249250        $objQuery = SC_Query_Ex::getSingletonInstance();     // DB操作オブジェクト 
     
    293294     * date形式の文字列を W3C Datetime 形式に変換して出力する. 
    294295     * 
    295      * @param date $date 変換する日付 
     296     * @param  date $date 変換する日付 
    296297     * @return void 
    297298     */ 
    298     function date2W3CDatetime($date) 
     299    public function date2W3CDatetime($date) 
    299300    { 
    300301        $arr = array(); 
Note: See TracChangeset for help on using the changeset viewer.