9 if ( ! isset( $gravityview ) || empty( $gravityview->template ) ) {
10 gravityview()->log->error(
'{file} template loaded without context', array(
'file' => __FILE__ ) );
18 if ( $gravityview->entry->is_multi() ) {
19 $entry = $gravityview->entry->from_field( $gravityview->field );
22 $entry = $gravityview->entry->as_entry();
29 if ( ! class_exists(
'GravityView_Edit_Entry' ) ) {
static get_edit_link( $entry, $view_id, $post_id=null, $field_values='')
The edit entry link creates a secure link with a nonce.
if(! empty( $field_settings['new_window'])) $output
if(! class_exists( 'GravityView_Edit_Entry')) if(! GravityView_Edit_Entry::check_user_cap_edit_entry( $entry, $gravityview->view->ID)) $link_text
static check_user_cap_edit_entry( $entry, $view=0)
checks if user has permissions to edit a specific entry
gravityview_get_link( $href='', $anchor_text='', $atts=array())
Generate an HTML anchor tag with a list of supported attributes.
static replace_variables( $text, $form=array(), $entry=array(), $url_encode=false, $esc_html=true, $nl2br=true, $format='html', $aux_data=array())
Alias for GravityView_Merge_Tags::replace_variables()
gravityview()
The main GravityView wrapper function.