Ignore:
Timestamp:
2013/06/30 01:24:23 (13 years ago)
Author:
Seasoft
Message:

#2287 (環境によりデストラクタが正しく動作しないケースがある)
#2288 (リクエスト単位で実行されるべきログ出力がブロックにも適用されている)
#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

  • 不明確な仕様にコメントを残した。
  • 親デストラクタを呼ぶだけの記述は可読性が悪くなると考え削除した。(上述のチケットで OS の仕様に依存したデストラクタとなるため、敢えてアプリケーション側で記述しておく意義は薄れたという認識のもと。)
Location:
branches/version-2_13-dev/templates
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/templates/default_page.php

    r22857 r22926  
    2626 
    2727$objPage = new LC_Page_XXX_Ex(); 
    28 register_shutdown_function(array($objPage, 'destroy')); 
    2928$objPage->init(); 
    3029$objPage->process(); 
    31 ?> 
  • branches/version-2_13-dev/templates/page_class.php

    r22856 r22926  
    5151    { 
    5252    } 
    53  
    54     /** 
    55      * デストラクタ. 
    56      * 
    57      * @return void 
    58      */ 
    59     function destroy() 
    60     { 
    61         parent::destroy(); 
    62     } 
    6353} 
    64 /* 
    65  * Local variables: 
    66  * coding: utf-8 
    67  * End: 
    68  */ 
    69 ?> 
  • branches/version-2_13-dev/templates/page_class_extends.php

    r22856 r22926  
    5454        parent::process(); 
    5555    } 
    56  
    57     /** 
    58      * デストラクタ. 
    59      * 
    60      * @return void 
    61      */ 
    62     function destroy() 
    63     { 
    64         parent::destroy(); 
    65     } 
    6656} 
    6757?> 
  • branches/version-2_13-dev/templates/templates.xml

    r22856 r22926  
    5151    { 
    5252    } 
    53  
    54     /** 
    55      * デストラクタ. 
    56      * 
    57      * @return void 
    58      */ 
    59     function destroy() 
    60     { 
    61         parent::destroy(); 
    62     } 
    6353} 
    64 ?> 
    6554</template><template autoinsert="true" context="newPhp" deleted="false" description="拡張版ページクラス" enabled="true" name="New PHP extend class file">&lt;?php 
    6655/* 
     
    118107        parent::process(); 
    119108    } 
    120  
    121     /** 
    122      * デストラクタ. 
    123      * 
    124      * @return void 
    125      */ 
    126     function destroy() 
    127     { 
    128         parent::destroy(); 
    129     } 
    130109} 
    131 ?&gt; 
    132110</template><template autoinsert="true" context="newPhp" deleted="false" description="Web ページのテンプレート" enabled="true" name="New Plain PHP file">&lt;?php 
    133111/* 
     
    160138$$objPage-&gt;init(); 
    161139$$objPage-&gt;process(); 
    162 register_shutdown_function(array($$objPage, "destroy")); 
    163 ?&gt;</template></templates> 
     140</template></templates> 
Note: See TracChangeset for help on using the changeset viewer.