![]() |
GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Public Member Functions | |
| __construct () | |
| backend_actions () | |
| Function to launch admin objects. More... | |
Static Public Member Functions | |
| static | add_notice ( $notice=array()) |
| Add a notice to be displayed in the admin. More... | |
| static | check_gravityforms () |
| Check if Gravity Forms plugin is active and show notice if not. More... | |
| static | connected_form_warning ( $form_id=0) |
| Display error HTML in Edit View when the form is in the trash or no longer exists in Gravity Forms. More... | |
| static | get_floaty () |
| Get an image of our intrepid explorer friend. More... | |
| static | get_notices () |
| Get admin notices. More... | |
| static | get_plugin_status ( $location='') |
| Check if specified plugin is active, inactive or not installed. More... | |
| static | is_admin_page ( $hook='', $page=NULL) |
| Is the current admin page a GravityView-related page? More... | |
| static | no_views_text () |
| Get text for no views found. More... | |
Private Member Functions | |
| add_hooks () | |
| include_required_files () | |
Definition at line 3 of file class-admin.php.
| __construct | ( | ) |
Definition at line 5 of file class-admin.php.
References add_hooks(), gravityview(), and include_required_files().
|
private |
|
static |
Add a notice to be displayed in the admin.
| array | $notice | Array with class and message keys. The message is not escaped. |
Definition at line 246 of file class-admin.php.
References GravityView_Admin_Notices\add_notice().
| backend_actions | ( | ) |
Function to launch admin objects.
"GRAVITYVIEW_DIR" "../"
gravityview_include_backend_actions Triggered after all GravityView admin files are loadedNice place to insert extensions' backend stuff
Definition at line 120 of file class-admin.php.
References GRAVITYVIEW_DIR.
|
static |
Check if Gravity Forms plugin is active and show notice if not.
Definition at line 257 of file class-admin.php.
References GravityView_Compatibility\check_gravityforms().
|
static |
Display error HTML in Edit View when the form is in the trash or no longer exists in Gravity Forms.
| int | $form_id | Gravity Forms |
Definition at line 84 of file class-admin.php.
References $form_id, gravityview_get_floaty(), and gravityview_get_link().
|
static |
Get an image of our intrepid explorer friend.
Definition at line 146 of file class-admin.php.
References GV\$form, $image, $post, gravityview_get_floaty(), gravityview_get_form(), and gravityview_get_form_id().
Referenced by GravityView_Search_WP_Widget\form(), oEmbed\render_admin(), and oEmbed\render_preview_notice().
|
static |
Get admin notices.
Definition at line 237 of file class-admin.php.
References GravityView_Admin_Notices\get_notices().
|
static |
Check if specified plugin is active, inactive or not installed.
Definition at line 269 of file class-admin.php.
References GravityView_Compatibility\get_plugin_status().
|
private |
Definition at line 22 of file class-admin.php.
References GRAVITYVIEW_DIR.
Referenced by __construct().
|
static |
Is the current admin page a GravityView-related page?
| string | $hook | |
| null | string | $page | Optional. String return value of page to compare against. |
false, not a GravityView page. true if $page is passed and is the same as current page. Otherwise, the name of the page (single, settings, or views) Definition at line 282 of file class-admin.php.
References gravityview().
|
static |
Get text for no views found.
Definition at line 55 of file class-admin.php.
References $image, $output, and GVCommon\has_cap().
Referenced by GravityView_Admin_Add_Shortcode\add_shortcode_popup(), GravityView_Search_WP_Widget\form(), GravityView_Recent_Entries_Widget\form(), and View\register_post_type().