Skip to content
Snippets Groups Projects
cfafa-form-action-base.php 11.79 KiB
<?php
/**
 * ACFE Base Form Action Class.
 *
 * Holds methods common to ACFE Form Action classes.
 *
 * @package Conditional_Form_Actions_For_ACFE
 * @since 0.1
 */

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

/**
 * CiviCRM Profile Sync "Base" ACFE Form Action Class.
 *
 * A class that is extended by CiviCRM Profile Sync ACFE Form Action classes.
 * *
 * @since 0.1
 */
class CFAFA_Form_Action_Base {

	/**
	 * Form Action Name.
	 *
	 * @since 0.1
	 * @access public
	 * @var string $action_name The unique name of the Form Action.
	 */
	public $action_name = '';

	/**
	 * Form Action Label.
	 *
	 * @since 0.1
	 * @access public
	 * @var string $action_label The label of the Form Action.
	 */
	public $action_label = '';

	/**
	 * Form Action Alias Placeholder.
	 *
	 * @since 0.1
	 * @access public
	 * @var string $alias_placeholder The alias placeholder for the Form Action.
	 */
	public $alias_placeholder = '';

	/**
	 * Field Key Prefix.
	 *
	 * @since 0.1
	 * @access public
	 * @var string $field_key The prefix for the Field Key.
	 */
	public $field_key = '';

	/**
	 * Field Name Prefix.
	 *
	 * @since 0.1
	 * @access public
	 * @var string $field_name The prefix for the Field Name.
	 */
	public $field_name = '';

	/**
	 * Constructor.
	 *