本文整理匯總了PHP中language::messageRemoveData方法的典型用法代碼示例。如果您正苦於以下問題:PHP language::messageRemoveData方法的具體用法?PHP language::messageRemoveData怎麽用?PHP language::messageRemoveData使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類language
的用法示例。
在下文中一共展示了language::messageRemoveData方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: showClean
function showClean($content = "")
{
$returnStr = $this->showToolsHeader(Language::headerToolsCleaner());
$returnStr .= $content;
$surveys = new Surveys();
$surveys = $surveys->getSurveys();
if (sizeof($surveys) > 0) {
$returnStr .= '<form method="post">';
$returnStr .= setSessionParamsPost(array('page' => 'sysadmin.tools.cleanres'));
$returnStr .= '<span class="label label-default">' . Language::labelToolsCleanSurveys() . '</span>';
$returnStr .= '<div class="well well-sm">';
$returnStr .= '<table>';
foreach ($surveys as $survey) {
$returnStr .= '<tr><td><label><input name=clean[] value="' . $survey->getSuid() . '" type="checkbox">' . $survey->getName() . '</label></td></tr>';
}
$returnStr .= '</table>';
$returnStr .= '</div>';
$returnStr .= '<span class="label label-default">' . Language::labelToolsCleanDataType() . '</span>';
$returnStr .= '<div class="well well-sm">';
$returnStr .= '<table>';
$returnStr .= '<tr><td><label><input name=datatype[] value="' . SURVEY_EXECUTION_MODE_NORMAL . '" type="checkbox">' . Language::labelDataTypeNormal() . '</label></td></tr>';
$returnStr .= '<tr><td><label><input name=datatype[] value="' . SURVEY_EXECUTION_MODE_TEST . '" type="checkbox">' . Language::labelDataTypeTest() . '</label></td></tr>';
$returnStr .= '</table>';
$returnStr .= '</div>';
$returnStr .= '<span class="label label-default">' . Language::labelToolsCleanPeriod() . '</span>';
$returnStr .= '<div class="well well-sm">';
$returnStr .= '<table>';
$returnStr .= '<tr><td>' . Language::labelToolsCleanFrom() . ': </td><td>' . $this->displayDateTimePicker("from", "from", "", getSMSLanguagePostFix(getSMSLanguage()), "true", "true", "false") . '</td><td>' . Language::labelToolsCleanTo() . ': </td><td>' . $this->displayDateTimePicker("to", "to", "", getSMSLanguagePostFix(getSMSLanguage()), "true", "true", "false") . '</td></tr>';
$returnStr .= '</table>';
$returnStr .= '</div>';
$returnStr .= '<input type="submit" class="btn btn-default" ' . confirmAction(language::messageRemoveData(), 'REMOVE') . ' value="' . Language::buttonClean() . '"/>';
$returnStr .= '</form>';
} else {
$returnStr .= $this->displayInfo(Language::messageNoSurveysAvailable());
}
//END CONTENT
$returnStr .= '</p></div> </div>';
//container and wrap
$returnStr .= $this->showBottomBar();
$returnStr .= $this->showFooter(false);
return $returnStr;
}