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/admin/design/LC_Page_Admin_Design_Template.php

    r22206 r22567  
    3131 * @version $Id$ 
    3232 */ 
    33 class LC_Page_Admin_Design_Template extends LC_Page_Admin_Ex { 
     33class LC_Page_Admin_Design_Template extends LC_Page_Admin_Ex  
     34{ 
    3435 
    3536    // }}} 
     
    4142     * @return void 
    4243     */ 
    43     function init() { 
     44    function init() 
     45    { 
    4446        parent::init(); 
    4547        $this->tpl_mainpage = 'design/template.tpl'; 
     
    6062     * @return void 
    6163     */ 
    62     function process() { 
     64    function process() 
     65    { 
    6366        $this->action(); 
    6467        $this->sendResponse(); 
     
    7073     * @return void 
    7174     */ 
    72     function action() { 
     75    function action() 
     76    { 
    7377 
    7478        $objFormParam = new SC_FormParam_Ex(); 
     
    138142     * @return void 
    139143     */ 
    140     function destroy() { 
     144    function destroy() 
     145    { 
    141146        parent::destroy(); 
    142147    } 
     
    148153     * @return void 
    149154     */ 
    150     function lfInitParam(&$objFormParam) { 
     155    function lfInitParam(&$objFormParam) 
     156    { 
    151157        $objFormParam->addParam('端末種別ID', 'device_type_id', INT_LEN, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK')); 
    152158        $objFormParam->addParam('template_code', 'template_code', STEXT_LEN, 'a', array('EXIST_CHECK', 'SPTAB_CHECK','MAX_LENGTH_CHECK', 'ALNUM_CHECK')); 
     
    162168     * @return void 
    163169     */ 
    164     function doUpdateMasterData($template_code, $device_type_id) { 
     170    function doUpdateMasterData($template_code, $device_type_id) 
     171    { 
    165172        $masterData = new SC_DB_MasterData_Ex(); 
    166173 
     
    197204     * @return void 
    198205     */ 
    199     function updateBloc($filepath) { 
     206    function updateBloc($filepath) 
     207    { 
    200208        $sql = file_get_contents($filepath); 
    201209        if ($sql !== false) { 
     
    219227     * @return boolean 成功した場合 true; 失敗した場合 false 
    220228     */ 
    221     function doDelete($template_code, $device_type_id) { 
     229    function doDelete($template_code, $device_type_id) 
     230    { 
    222231        if ($template_code == $this->getTemplateName($device_type_id) 
    223232                || $template_code == $this->getTemplateName($device_type_id, true)) { 
     
    267276     * @return boolean 成功した場合 true; 失敗した場合 false 
    268277     */ 
    269     function doRegister($template_code, $device_type_id) { 
     278    function doRegister($template_code, $device_type_id) 
     279    { 
    270280 
    271281        $tpl_dir = USER_TEMPLATE_REALDIR . $template_code . '/'; 
     
    297307     * @return boolean 成功した場合 true; 失敗した場合 false 
    298308     */ 
    299     function doDownload($template_code) { 
     309    function doDownload($template_code) 
     310    { 
    300311        $from_dir = USER_TEMPLATE_REALDIR . $template_code . '/'; 
    301312        $to_dir = SMARTY_TEMPLATES_REALDIR . $template_code . '/_packages/'; 
     
    318329     * @return array テンプレート情報の配列 
    319330     */ 
    320     function getAllTemplates($device_type_id) { 
     331    function getAllTemplates($device_type_id) 
     332    { 
    321333        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    322334        return $objQuery->select('*', 'dtb_templates', 'device_type_id = ?', array($device_type_id)); 
     
    330342     * @return string テンプレート名 
    331343     */ 
    332     function getTemplateName($device_type_id, $isDefault = false) { 
     344    function getTemplateName($device_type_id, $isDefault = false) 
     345    { 
    333346        switch ($device_type_id) { 
    334347            case DEVICE_TYPE_MOBILE: 
Note: See TracChangeset for help on using the changeset viewer.