BP_XProfile_Field_Type_Placeholder

A placeholder xprofile field type.

Defined (1)

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

/bp-xprofile/classes/class-bp-xprofile-field-type-placeholder.php  
  1. class BP_XProfile_Field_Type_Placeholder extends BP_XProfile_Field_Type { 
  2.  
  3. /** 
  4. * Constructor for the placeholder field type. 
  5. * @since 2.0.1 
  6. */ 
  7. public function __construct() { 
  8. parent::__construct(); 
  9.  
  10. $this->set_format( '/.*/', 'replace' ); 
  11.  
  12. /** 
  13. * Prevent any HTML being output for this field type. 
  14. * @since 2.0.1 
  15. * @param array $raw_properties Optional key/value array of 
  16. * {@link http://dev.w3.org/html5/markup/input.text.html permitted attributes} 
  17. * that you want to add. 
  18. */ 
  19. public function edit_field_html( array $raw_properties = array() ) { 
  20.  
  21. /** 
  22. * Prevent any HTML being output for this field type. 
  23. * @since 2.0.1 
  24. * @param array $raw_properties Optional key/value array of permitted attributes that you want to add. 
  25. */ 
  26. public function admin_field_html( array $raw_properties = array() ) { 
  27.  
  28. /** 
  29. * Prevent any HTML being output for this field type. 
  30. * @since 2.0.1 
  31. * @param BP_XProfile_Field $current_field The current profile field on the add/edit screen. 
  32. * @param string $control_type Optional. HTML input type used to render the current 
  33. * field's child options. 
  34. */ 
  35. public function admin_new_field_html( BP_XProfile_Field $current_field, $control_type = '' ) {}