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