本文整理汇总了PHP中wpl_global::remove_qs_var方法的典型用法代码示例。如果您正苦于以下问题:PHP wpl_global::remove_qs_var方法的具体用法?PHP wpl_global::remove_qs_var怎么用?PHP wpl_global::remove_qs_var使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类wpl_global
的用法示例。
在下文中一共展示了wpl_global::remove_qs_var方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __
<?php
echo __('Your property successfully finalized!', WPL_TEXTDOMAIN);
?>
</span>
<div class="finilize-btn-wp">
<?php
$listing_target_page = wpl_global::get_client() == 1 ? wpl_global::get_setting('backend_listing_target_page') : NULL;
$property_link = wpl_property::get_property_link('', $this->property_id, $listing_target_page);
$new_link = wpl_global::remove_qs_var('pid', wpl_global::get_full_url());
if ($this->kind) {
$new_link = wpl_global::add_qs_var('kind', $this->kind, $new_link);
}
if (wpl_global::get_client() == 1) {
$manager_link = wpl_global::add_qs_var('kind', $this->kind, wpl_global::get_wpl_admin_menu('wpl_admin_listings'));
} else {
$manager_link = wpl_global::add_qs_var('kind', $this->kind, wpl_global::remove_qs_var('wplmethod', wpl_global::remove_qs_var('pid')));
}
?>
<a class="wpl-button button-2" target="_blank" href="<?php
echo $property_link;
?>
"><?php
echo __('View this listing', WPL_TEXTDOMAIN);
?>
</a>
<a class="wpl-button button-2" href="<?php
echo $new_link;
?>
"><?php
echo __('Add new listing', WPL_TEXTDOMAIN);
?>
示例2: wpl_search_location
}
function wpl_search_location(name, level)
{
name = wplj("#wpl_search_location").val();
url = '<?php
echo wpl_global::get_full_url();
?>
'+'&sf_text_name='+name;
window.location = url;
}
function wpl_reset_search_location()
{
url = '<?php
echo wpl_global::remove_qs_var('sf_text_name');
?>
';
window.location = url;
}
function wpl_show_countries(enabled_status)
{
url = wpl_update_qs('sf_select_enabled', enabled_status);
window.location = url;
}
function wpl_remove_location(level, location_id, confirmed)
{
if(!location_id || !level)
{