PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 2.9.19.4
Pods – Custom Content Types and Fields v2.9.19.4
2.7.31.4 2.8.23.5 2.9.19.5 3.0.10.5 3.1.4.3 3.2.8.4 3.3.9.2 2.8.23.4 2.9.19.4 3.0.10.4 3.1.4.2 3.2.8.3 3.3.9.1 trunk 1.14.8 2.7.31.3 2.8.23.3 2.9.19.3 3.0.10.3 3.1.4.1 3.2.0 3.2.1 3.2.1.1 3.2.2 3.2.4 3.2.5 3.2.6 3.2.7 3.2.7.1 3.2.8 3.2.8.1 3.2.8.2 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9
pods / tribe-common / src / Tribe / Repository / Formatter_Interface.php
pods / tribe-common / src / Tribe / Repository Last commit date
Core_Read_Interface.php 2 weeks ago Decorator.php 2 weeks ago Filter_Validation.php 2 weeks ago Formatter_Interface.php 2 weeks ago Implementation_Error.php 2 weeks ago Interface.php 2 weeks ago Query_Filters.php 2 weeks ago Read_Interface.php 2 weeks ago Setter_Interface.php 2 weeks ago Update_Interface.php 2 weeks ago Usage_Error.php 2 weeks ago Void_Query_Exception.php 2 weeks ago
Formatter_Interface.php
25 lines
1 <?php
2
3 /**
4 * Interface Tribe__Repository__Formatter_Interface
5 *
6 * This interface is usually implemented by repository decorators that
7 * need not only to modify the filtering criteria but the return format
8 * of the items as well.
9 *
10 * @since 4.7.19
11 */
12 interface Tribe__Repository__Formatter_Interface {
13 /**
14 * Formats an item handled by a repository to the expected
15 * format.
16 *
17 * @since 4.7.19
18 *
19 * @param int|WP_Post $id
20 *
21 * @return mixed
22 */
23 public function format_item( $id );
24 }
25