本文整理匯總了PHP中CF7DBPlugin::getSettingsSlug方法的典型用法代碼示例。如果您正苦於以下問題:PHP CF7DBPlugin::getSettingsSlug方法的具體用法?PHP CF7DBPlugin::getSettingsSlug怎麽用?PHP CF7DBPlugin::getSettingsSlug使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類CF7DBPlugin
的用法示例。
在下文中一共展示了CF7DBPlugin::getSettingsSlug方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: displaySecurityControl
public function displaySecurityControl()
{
?>
<div id="security_div" class="shortcodeoptions">
<?php
echo htmlspecialchars(__('Security', 'contact-form-7-to-database-extension'));
?>
<div>
<div class="label_box">
<label for="role_cntl"><?php
echo htmlspecialchars(__('role', 'contact-form-7-to-database-extension'));
?>
</label>
<a target="_docs" href="http://cfdbplugin.com/?page_id=89#role"><img alt="?"
src="<?php
echo $this->infoImg;
?>
"/></a>
</div>
<select id="role_cntl" name="role_cntl">
<option value=""></option>
<option value="Administrator"><?php
echo htmlspecialchars(__('Administrator', 'contact-form-7-to-database-extension'));
?>
</option>
<option value="Editor"><?php
echo htmlspecialchars(__('Editor', 'contact-form-7-to-database-extension'));
?>
</option>
<option value="Author"><?php
echo htmlspecialchars(__('Author', 'contact-form-7-to-database-extension'));
?>
</option>
<option value="Contributor"><?php
echo htmlspecialchars(__('Contributor', 'contact-form-7-to-database-extension'));
?>
</option>
<option value="Subscriber"><?php
echo htmlspecialchars(__('Subscriber', 'contact-form-7-to-database-extension'));
?>
</option>
<option value="Anyone"><?php
echo htmlspecialchars(__('Anyone', 'contact-form-7-to-database-extension'));
?>
</option>
</select>
<div class="label_box">
<label for="permissionmsg_cntl"><?php
echo htmlspecialchars(__('permissionmsg', 'contact-form-7-to-database-extension'));
?>
</label>
<a target="_docs" href="http://cfdbplugin.com/?page_id=89#permissionmsg"><img alt="?"
src="<?php
echo $this->infoImg;
?>
"/></a>
</div>
<select id="permissionmsg_cntl" name="permissionmsg_cntl">
<option value=""></option>
<option value="true"><?php
echo htmlspecialchars(__('true', 'contact-form-7-to-database-extension'));
?>
</option>
<option value="false"><?php
echo htmlspecialchars(__('false', 'contact-form-7-to-database-extension'));
?>
</option>
</select>
<div>
<a target="_docs" href="<?php
echo $this->plugin->getAdminUrlPrefix('admin.php') . 'page=' . $this->plugin->getSettingsSlug() . '#security';
?>
"><?php
echo htmlspecialchars(__('Global Security Settings', 'contact-form-7-to-database-extension'));
?>
</a>
</div>
</div>
</div>
<div id="performance_div" class="shortcodeoptions">
<?php
echo htmlspecialchars(__('Performance', 'contact-form-7-to-database-extension'));
?>
<div>
<div class="label_box">
<label for="unbuffered_cntl"><?php
echo htmlspecialchars(__('unbuffered', 'contact-form-7-to-database-extension'));
?>
</label>
<a target="_docs" href="http://cfdbplugin.com/?p=696"><img alt="?"
src="<?php
echo $this->infoImg;
?>
"/></a>
<input id="unbuffered_cntl"
type="checkbox" <?php
echo $this->requestParams['postedUnbuffered'] == 'true' ? 'checked' : '';
?>
/>
</div>
//.........這裏部分代碼省略.........