Diff
checker
テキスト
テキスト
画像
ドキュメント
Excel
フォルダ
Legal
Enterprise
デスクトップ
料金
ログイン
Diffchecker デスクトップのダウンロード
テキスト比較
2 つのテキスト ファイルの違いを見つける
ツール
履歴
ライブエディター
未変更行を折りたたむ
折り返しなし
レイアウト
分割
統合
比較精度
スマート
単語
文字
シンタックスハイライト
構文を選択
無視
テキスト変換
最初の差分へ移動
入力を編集
Diffchecker Desktop
Diffcheckerを実行する最も安全な方法。Diffchecker Desktopアプリを入手:あなたの差分はコンピューターから出ることはありません!
Desktopを入手
AdminController::checkin - ItemsController::checkin
作成日
7 年前
差分は期限切れになりません
クリア
エクスポート
共有
説明
3 削除
行
合計
削除
文字
合計
削除
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
27 行
すべてコピー
24 追加
行
合計
追加
文字
合計
追加
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
42 行
すべてコピー
public function checkin()
public function checkin()
{
{
// Check for request forgeries.
// Check for request forgeries.
$this->checkToken();
$this->checkToken();
$ids = $this->input->post->get('cid', array(), 'array');
$ids = $this->input->post->get('cid', array(), 'array');
$model = $this->getModel();
$model = $this->getModel();
$return = $model->checkin($ids);
$return = $model->checkin($ids);
if ($return === false)
if ($return === false)
{
{
// Checkin failed.
// Checkin failed.
$message = Text::sprintf('JLIB_APPLICATION_ERROR_CHECKIN_FAILED', $model->getError());
$message = Text::sprintf('JLIB_APPLICATION_ERROR_CHECKIN_FAILED', $model->getError());
コピー
コピー済み
コピー
コピー済み
$this->setRedirect(
Route::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list
, false),
$message,
'error'
);
$this->setRedirect(
Route::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list
. '&menutype=' . $this->app->getUserState('com_menus.items.menutype'),
false
),
$message,
'error'
);
return false;
return false;
}
}
else
else
{
{
// Checkin succeeded.
// Checkin succeeded.
$message = Text::plural($this->text_prefix . '_N_ITEMS_CHECKED_IN', count($ids));
$message = Text::plural($this->text_prefix . '_N_ITEMS_CHECKED_IN', count($ids));
コピー
コピー済み
コピー
コピー済み
$this->setRedirect(
Route::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list
, false),
$message
);
$this->setRedirect(
Route::_(
'index.php?option=' . $this->option . '&view=' . $this->view_list
. '&menutype=' . $this->app->getUserState('com_menus.items.menutype'),
false
),
$message
);
return true;
return true;
}
}
}
}
保存された差分
原文
ファイルを開く
public function checkin() { // Check for request forgeries. $this->checkToken(); $ids = $this->input->post->get('cid', array(), 'array'); $model = $this->getModel(); $return = $model->checkin($ids); if ($return === false) { // Checkin failed. $message = Text::sprintf('JLIB_APPLICATION_ERROR_CHECKIN_FAILED', $model->getError()); $this->setRedirect(Route::_('index.php?option=' . $this->option . '&view=' . $this->view_list, false), $message, 'error'); return false; } else { // Checkin succeeded. $message = Text::plural($this->text_prefix . '_N_ITEMS_CHECKED_IN', count($ids)); $this->setRedirect(Route::_('index.php?option=' . $this->option . '&view=' . $this->view_list, false), $message); return true; } }
変更されたテキスト
ファイルを開く
public function checkin() { // Check for request forgeries. $this->checkToken(); $ids = $this->input->post->get('cid', array(), 'array'); $model = $this->getModel(); $return = $model->checkin($ids); if ($return === false) { // Checkin failed. $message = Text::sprintf('JLIB_APPLICATION_ERROR_CHECKIN_FAILED', $model->getError()); $this->setRedirect( Route::_( 'index.php?option=' . $this->option . '&view=' . $this->view_list . '&menutype=' . $this->app->getUserState('com_menus.items.menutype'), false ), $message, 'error' ); return false; } else { // Checkin succeeded. $message = Text::plural($this->text_prefix . '_N_ITEMS_CHECKED_IN', count($ids)); $this->setRedirect( Route::_( 'index.php?option=' . $this->option . '&view=' . $this->view_list . '&menutype=' . $this->app->getUserState('com_menus.items.menutype'), false ), $message ); return true; } }
違いを見つける