NF_Fields_Quantity

Class NF_Fields_ProductQuantity.

Defined (1)

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

/includes/Fields/Quantity.php  
  1. class NF_Fields_Quantity extends NF_Fields_Number 
  2. protected $_name = 'quantity'; 
  3.  
  4. protected $_section = 'pricing'; 
  5.  
  6. protected $_icon = 'hashtag'; 
  7.  
  8. protected $_aliases = array(); 
  9.  
  10. protected $_type = 'quantity'; 
  11.  
  12. protected $_templates = 'number'; 
  13.  
  14. protected $_test_value = 'Lorem ipsum'; 
  15.  
  16. protected $_settings = array( 'product_assignment', 'number' ); 
  17.  
  18. protected $_settings_exclude = array( 'required', 'input_limit_set' ); 
  19.  
  20. public function __construct() 
  21. parent::__construct(); 
  22.  
  23. $this->_nicename = __( 'Quantity', 'ninja-forms' );