NF_Fields_Number

Class NF_Fields_Number.

Defined (1)

The class is defined in the following location(s).

/includes/Fields/Number.php  
  1. class NF_Fields_Number extends NF_Abstracts_Input 
  2. protected $_name = 'number'; 
  3.  
  4. protected $_section = 'misc'; 
  5.  
  6. protected $_icon = 'hashtag'; 
  7.  
  8. protected $_type = 'number'; 
  9.  
  10. protected $_templates = 'number'; 
  11.  
  12. protected $_test_value = 0; 
  13.  
  14. protected $_settings = array( 'number' ); 
  15.  
  16. protected $_settings_exclude = array( 'input_limit_set', 'disable_input' ); 
  17.  
  18. public function __construct() 
  19. parent::__construct(); 
  20.  
  21. $this->_nicename = __( 'Number', 'ninja-forms' ); 
  22.  
  23. public function get_parent_type() 
  24. return parent::get_type();