本文整理汇总了PHP中GFEntryList::all_leads_page方法的典型用法代码示例。如果您正苦于以下问题:PHP GFEntryList::all_leads_page方法的具体用法?PHP GFEntryList::all_leads_page怎么用?PHP GFEntryList::all_leads_page使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GFEntryList
的用法示例。
在下文中一共展示了GFEntryList::all_leads_page方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: all_leads_page
public static function all_leads_page()
{
if (self::maybe_display_installation_wizard()) {
return;
}
$view = rgget('view');
$lead_id = rgget('lid');
if ($view == 'entry' && (rgget('lid') || !rgblank(rgget('pos')))) {
require_once GFCommon::get_base_path() . '/entry_detail.php';
GFEntryDetail::lead_detail_page();
} else {
if ($view == 'entries' || empty($view)) {
require_once GFCommon::get_base_path() . '/entry_list.php';
GFEntryList::all_leads_page();
} else {
$form_id = rgget('id');
/**
* Fires when viewing entries of a certain form
*
*/
do_action('gform_entries_view', $view, $form_id, $lead_id);
}
}
}
示例2: all_leads_page
public static function all_leads_page()
{
$view = rgget('view');
$lead_id = rgget('lid');
if ($view == 'entry' && (rgget('lid') || !rgblank(rgget('pos')))) {
require_once GFCommon::get_base_path() . '/entry_detail.php';
GFEntryDetail::lead_detail_page();
} else {
if ($view == 'entries' || empty($view)) {
require_once GFCommon::get_base_path() . '/entry_list.php';
GFEntryList::all_leads_page();
} else {
$form_id = rgget('id');
do_action('gform_entries_view', $view, $form_id, $lead_id);
}
}
}
示例3: all_leads_page
public static function all_leads_page()
{
//displaying lead detail page if lead id is in the query string
$lead_id = RGForms::get("lid");
if (!empty($lead_id)) {
require_once GFCommon::get_base_path() . "/entry_detail.php";
GFEntryDetail::lead_detail_page();
} else {
require_once GFCommon::get_base_path() . "/entry_list.php";
GFEntryList::all_leads_page();
}
}
示例4: all_leads_page
public static function all_leads_page()
{
//displaying lead detail page if lead id is in the query string
if (rgget('lid') || !rgblank(rgget('pos'))) {
require_once GFCommon::get_base_path() . "/entry_detail.php";
GFEntryDetail::lead_detail_page();
} else {
require_once GFCommon::get_base_path() . "/entry_list.php";
GFEntryList::all_leads_page();
}
}
示例5: entries_list
function entries_list()
{
$view = rgget('view');
$lead_id = rgget('lid');
if ($view == 'mfentry' && (rgget('lid') || !rgblank(rgget('pos')))) {
//require_once( GFCommon::get_base_path() . '/entry_detail.php' );
include_once TEMPLATEPATH . '/classes/entry_detail_makerfaire.php';
GFEntryDetail::lead_detail_page();
} else {
if ($view == 'entries' || empty($view)) {
include_once TEMPLATEPATH . '/classes/entry_list_makerfaire.php';
if (!class_exists('GFEntryList')) {
require_once GFCommon::get_base_path() . "/entry_list.php";
}
GFEntryList::all_leads_page();
} else {
$form_id = rgget('id');
do_action('gform_entries_view', $view, $form_id, $lead_id);
}
}
}