- Timestamp:
- 2013/05/02 18:11:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/LC_Page_ResizeImage.php
r22567 r22796 32 32 * @version $Id$ 33 33 */ 34 class LC_Page_ResizeImage extends LC_Page_Ex 35 { 34 class LC_Page_ResizeImage extends LC_Page_Ex { 36 35 37 36 // }}} … … 43 42 * @return void 44 43 */ 45 function init() 46 { 44 function init() { 47 45 parent::init(); 48 46 } … … 53 51 * @return void 54 52 */ 55 function process() 56 { 53 function process() { 57 54 parent::process(); 58 55 $this->action(); … … 64 61 * @return void 65 62 */ 66 function action() 67 { 63 function action() { 68 64 $objFormParam = new SC_FormParam_Ex(); 69 65 $this->lfInitParam($objFormParam); … … 94 90 * @return void 95 91 */ 96 function destroy() 97 { 92 function destroy() { 98 93 parent::destroy(); 99 94 } 100 95 101 function lfInitParam(&$objFormParam) 102 { 96 function lfInitParam(&$objFormParam) { 103 97 $objFormParam->addParam('画像ファイル名', 'image', STEXT_LEN, 'a', array('MAX_LENGTH_CHECK')); 104 98 $objFormParam->addParam('画像の幅', 'width', STEXT_LEN, 'n', array('NUM_CHECK')); … … 111 105 * @return boolean 正常な形式:true 不正な形式:false 112 106 */ 113 function lfCheckFileName() 114 { 107 function lfCheckFileName() { 115 108 //$pattern = '|^[0-9]+_[0-9a-z]+\.[a-z]{3}$|'; 116 109 $pattern = '|\./|'; … … 132 125 * @return void 133 126 */ 134 function lfOutputImage($file, $width, $height) 135 { 127 function lfOutputImage($file, $width, $height) { 136 128 $objThumb = new gdthumb(); 137 129 $objThumb->Main($file, $width, $height, '', true);
Note: See TracChangeset
for help on using the changeset viewer.