skipv1_0_0Hidden

The Facebook Fanpage Import skip v1 0 Hidden class.

Defined (1)

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

/includes/skip/elements/forms/hidden.php  
  1. class Hidden extends Form_Element{ 
  2. /** 
  3. * Constructor 
  4. * @since 1.0 
  5. * @param string $name The name of field. 
  6. * @param array/string $args List of Arguments. 
  7. */ 
  8. function __construct( $name, $args = array() ) { 
  9. global $post, $skip_form_option_group; 
  10.  
  11. $args = wp_parse_args( $args ); 
  12. extract( $args , EXTR_SKIP ); 
  13.  
  14. $args[ 'close_tag' ] = FALSE; // No Close tag for Input type Text 
  15. parent::__construct( 'input', $name, $args ); 
  16.  
  17. $this->add_param( 'type', 'hidden' ); // This is a text field!