# charitable/1.6.9/includes/interfaces/interface-charitable-field.php

Charitable – Donation &amp; Fundraising Platform (Donation Forms, Recurring Donations &amp; Fundraising Campaigns), version 1.6.9. 50 lines.

- Page: https://pluginprobe.com/plugins/charitable/1.6.9/code/includes/interfaces/interface-charitable-field.php
- Raw: https://pluginprobe.com/plugins/charitable/1.6.9/raw/includes/interfaces/interface-charitable-field.php
- Modified: 2019-01-18T08:13:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/charitable/1.6.9/code/includes/interfaces/interface-charitable-field.php#L10-L20`.

```php
<?php
/**
 * Strict interface for Charitable Fields APIs.
 *
 * @package   Charitable/Interfaces/Charitable_Field_Interface
 * @author    Eric Daams
 * @copyright Copyright (c) 2019, Studio 164a
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @version   1.5.0
 * @version   1.5.0
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! interface_exists( 'Charitable_Field_Interface' ) ) :

	/**
	 * Charitable_Field_Interface interface.
	 *
	 * @since 1.5.0
	 */
	interface Charitable_Field_Interface {

		/**
		 * Returna particular field argument.
		 *
		 * @since  1.5.0
		 *
		 * @param  string $key The field's key.
		 * @return mixed
		 */
		public function __get( $key );

		/**
		 * Return a single field.
		 *
		 * @since  1.5.0
		 *
		 * @param  string $key   The field's key.
		 * @param  mixed  $value The field's value.
		 * @return void
		 */
		public function __set( $key, $value );
	}

endif;

```
