skipv1_0_0Text

The Facebook Fanpage Import skip v1 0 Text class.

Defined (1)

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

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