Input.php 636 B

123456789101112131415161718192021222324252627
  1. <?php if ( ! defined( 'ABSPATH' ) ) exit;
  2. /**
  3. * Class NF_Abstracts_Input
  4. */
  5. abstract class NF_Abstracts_Input extends NF_Abstracts_Field
  6. {
  7. protected $_name = 'input';
  8. protected $_section = 'common';
  9. protected $_type = 'text';
  10. protected $_settings_all_fields = array(
  11. 'key', 'label', 'label_pos', 'required', 'default', 'placeholder', 'classes', 'input_limit_set' , 'manual_key', 'disable_input', 'admin_label', 'help', 'description'
  12. );
  13. public function __construct()
  14. {
  15. parent::__construct();
  16. }
  17. public function get_parent_type()
  18. {
  19. return parent::get_type();
  20. }
  21. }