Field.php
3 years ago
FieldInterface.php
3 years ago
Fields.php
3 years ago
FieldsInterface.php
3 years ago
Integrator.php
3 years ago
IntegratorIntegration.php
3 years ago
IntegratorInterface.php
3 years ago
Section.php
3 years ago
SectionInterface.php
3 years ago
Sections.php
3 years ago
SectionsInterface.php
3 years ago
Value.php
3 years ago
ValueInterface.php
3 years ago
FieldInterface.php
45 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WPDesk\FCF\Free\Integration; |
| 4 | |
| 5 | /** |
| 6 | * . |
| 7 | */ |
| 8 | interface FieldInterface { |
| 9 | |
| 10 | /** |
| 11 | * Returns key of field. |
| 12 | * |
| 13 | * @return string Field key. |
| 14 | */ |
| 15 | public function get_field_key(): string; |
| 16 | |
| 17 | /** |
| 18 | * Returns label of field. |
| 19 | * |
| 20 | * @return string Field label. |
| 21 | */ |
| 22 | public function get_field_label(): string; |
| 23 | |
| 24 | /** |
| 25 | * Returns type of field. |
| 26 | * |
| 27 | * @return string Field type. |
| 28 | */ |
| 29 | public function get_field_type(): string; |
| 30 | |
| 31 | /** |
| 32 | * Returns status if field is custom. |
| 33 | * |
| 34 | * @return bool If field is custom? |
| 35 | */ |
| 36 | public function is_custom_field(): bool; |
| 37 | |
| 38 | /** |
| 39 | * Returns key of field group. |
| 40 | * |
| 41 | * @return string Group key. |
| 42 | */ |
| 43 | public function get_group_key(): string; |
| 44 | } |
| 45 |