Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SC_UploadFile のテストケースを追加 #269

Merged
merged 2 commits into from
Jun 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions data/class/SC_UploadFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ public function deleteFile($keyname)
}

// 画像を削除する。
/**
* @deprecated 本体で使用されていないため非推奨
*/
public function deleteKikakuFile($keyname)
{
$objImage = new SC_Image_Ex($this->temp_dir);
Expand Down Expand Up @@ -307,6 +310,9 @@ public function setHiddenFileList($arrPOST)
}
}

/**
* @deprecated 本体で使用されていないため非推奨
*/
public function setHiddenKikakuFileList($arrPOST)
{
$cnt = 0;
Expand Down Expand Up @@ -378,6 +384,10 @@ public function getFormDownFile()

return $arrRet;
}

/**
* @deprecated 本体で使用されていないため非推奨
*/
public function getFormKikakuDownFile()
{
$arrRet = array();
Expand Down Expand Up @@ -432,6 +442,9 @@ public function setDBDownFile($arrVal)
}

// DBで保存されたダウンロードファイル名をセットする(setDBDownFileと統合予定)
/**
* @deprecated 本体で使用されていないため非推奨
*/
public function setPostFileList($arrPost)
{
for ($cnt = 0;$cnt < count($this->keyname); $cnt++) {
Expand All @@ -442,6 +455,9 @@ public function setPostFileList($arrPost)
}

// 画像をセットする
/**
* @deprecated 本体で使用されていないため非推奨
*/
public function setDBImageList($arrVal)
{
$cnt = 0;
Expand All @@ -454,6 +470,9 @@ public function setDBImageList($arrVal)
}

// DB上のファイルの内削除要求があったファイルを削除する。
/**
* @deprecated 本体で使用されていないため非推奨
*/
public function deleteDBFile($arrVal)
{
$objImage = new SC_Image_Ex($this->temp_dir);
Expand Down Expand Up @@ -505,6 +524,9 @@ public function checkExists($keyname = '')
}

// 拡大率を指定して画像保存
/**
* @deprecated 本体で使用されていないため非推奨
*/
public function saveResizeImage($keyname, $to_w, $to_h)
{
$path = '';
Expand Down
Loading