Changeset 22856 for branches/version-2_13-dev/data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore.php
- Timestamp:
- 2013/06/08 16:35:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/admin/ownersstore/LC_Page_Admin_OwnersStore.php
r22567 r22856 22 22 */ 23 23 24 // {{{ requires25 24 require_once CLASS_EX_REALDIR . 'page_extends/admin/LC_Page_Admin_Ex.php'; 26 25 … … 32 31 * @version $Id$ 33 32 */ 34 class LC_Page_Admin_OwnersStore extends LC_Page_Admin_Ex 33 class LC_Page_Admin_OwnersStore extends LC_Page_Admin_Ex 35 34 { 36 37 // }}}38 // {{{ functions39 40 35 /** 41 36 * Page を初期化する. … … 282 277 return true; 283 278 } 279 284 280 return false; 285 281 } … … 301 297 // 結合 302 298 $plugin_code = implode('.', $array_file_name); 299 303 300 return $plugin_code; 304 301 } … … 313 310 { 314 311 $plugin_dir_path = PLUGIN_UPLOAD_REALDIR . $plugin_code . '/'; 312 315 313 return $plugin_dir_path; 316 314 } … … 325 323 { 326 324 $plugin_html_dir_path = PLUGIN_HTML_REALDIR . $plugin_code . '/'; 325 327 326 return $plugin_html_dir_path; 328 327 } … … 338 337 { 339 338 $plugin_file_path = $this->getPluginDir($plugin_code) . $plugin_class . '.php'; 339 340 340 return $plugin_file_path; 341 341 } … … 428 428 // 不要なファイルの削除 429 429 SC_Helper_FileManager_Ex::deleteFile(DOWNLOADS_TEMP_PLUGIN_INSTALL_DIR, false); 430 430 431 return $arrErr; 431 432 } … … 455 456 /** 456 457 * プラグイン情報を取得します. 457 * 458 * 458 459 * @param ReflectionClass $objReflection 459 460 * @return array プラグイン情報の配列 … … 488 489 } 489 490 } 491 490 492 return $arrPluginInfo; 491 493 } … … 558 560 } 559 561 } 562 560 563 return $arrErr; 561 564 } … … 640 643 return $arrErr; 641 644 } 645 642 646 return $arrErr; 643 647 } … … 747 751 // UPDATEの実行 748 752 $ret = $objQuery->update('dtb_plugin', $sqlval, $where, array($plugin_id)); 753 749 754 return $ret; 750 755 } … … 758 763 function registerData($arrPluginInfo) 759 764 { 760 761 765 // プラグイン情報をDB登録. 762 766 $objQuery =& SC_Query_Ex::getSingletonInstance(); … … 819 823 } 820 824 } 825 821 826 return $objQuery->commit(); 822 827 } … … 833 838 $arrErr = array(); 834 839 if (file_exists($file_path)) { 835 require_once $file_path; 840 require_once $file_path; 836 841 } else { 837 842 $arrErr[$key] = '※ ' . $file_path .'の読み込みに失敗しました。<br/>'; 838 843 } 844 839 845 return $arrErr; 840 846 } … … 860 866 $arrErr['plugin_error'] = '※ ' . $class_name . '.php に' . $exec_func . 'が見つかりません。<br/>'; 861 867 } 868 862 869 return $arrErr; 863 870 } … … 905 912 // UPDATEの実行 906 913 $ret = $objQuery->update('dtb_plugin', $sqlval, $where, array($plugin_id)); 914 907 915 return $ret; 908 916 } … … 953 961 closedir($handle); 954 962 } 963 955 964 return false; 956 965 } … … 970 979 if ($value['filename'] === $file_path) return true; 971 980 } 981 972 982 return false; 973 983 } … … 1020 1030 $conflict_alert_message .= '* ' . $conflictPluginName . 'と競合する可能性があります。<br/>'; 1021 1031 } 1032 1022 1033 return $conflict_alert_message; 1023 1034 } … … 1034 1045 return true; 1035 1046 } 1047 1036 1048 return false; 1037 1049 } … … 1049 1061 $table = 'dtb_plugin_hookpoint'; 1050 1062 $where = 'plugin_id = ?'; 1063 1051 1064 return $objQuery->select('*', $table, $where, array($plugin_id)); 1052 1065 }
Note: See TracChangeset
for help on using the changeset viewer.