PluginProbe
The Innovative Form Builder – IvyForms / 0.3.1
The Innovative Form Builder – IvyForms v0.3.1
1.5.1 1.5 1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 All 27 releases
ivyforms / backend / src / Repository / EntryField / EntryFieldRepositoryInterface.php

EntryFieldRepositoryInterface.php in The Innovative Form Builder – IvyForms 0.3.1, at backend/src/Repository/EntryField/EntryFieldRepositoryInterface.php

36 lines 810 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace IvyForms\Repository\EntryField;
4
5 // phpcs:disable PSR1.Files.SideEffects
6 if (!defined('ABSPATH')) {
7 exit; // Exit if accessed directly
8 }
9
10 use IvyForms\Repository\BaseRepositoryInterface;
11
12 interface EntryFieldRepositoryInterface extends BaseRepositoryInterface
13 {
14 /**
15 * Check if an entry field exists in the database.
16 *
17 * @param int $entryFieldId
18 * @return bool
19 */
20 public function exists(int $entryFieldId): bool;
21
22 /**
23 * @param array<mixed> $array
24 * @return array<int, array<string, mixed>>
25 */
26 public function findBy(array $array): array;
27
28 /**
29 * Get all entry field IDs for the given entry IDs.
30 *
31 * @param int[] $entryIds
32 * @return int[]
33 */
34 public function findIdsByEntryIds(array $entryIds): array;
35 }
36