ReduxFramework_divide

Main ReduxFramework_divide class.

Defined (1)

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

/inc/ReduxFramework/ReduxCore/inc/fields/divide/field_divide.php  
  1. class ReduxFramework_divide { 
  2.  
  3. /** 
  4. * Field Constructor. 
  5. * Required - must call the parent constructor, then assign field and value to vars, and obviously call the render field function 
  6. * @since 1.0.0 
  7. * @access public 
  8. * @return void 
  9. */ 
  10. function __construct( $field = array(), $value = '', $parent ) { 
  11. $this->parent = $parent; 
  12. $this->field = $field; 
  13. $this->value = $value; 
  14.  
  15. /** 
  16. * Field Render Function. 
  17. * Takes the vars and outputs the HTML for the field in the settings 
  18. * @since 1.0.0 
  19. * @access public 
  20. * @return void 
  21. */ 
  22. public function render() { 
  23. echo '</td></tr></table>'; 
  24. echo '<div data-id="' . $this->field['id'] . '" id="divide-' . $this->field['id'] . '" class="hr ' . $this->field['class'] . '"/><div class="inner"><span> </span></div></div>'; 
  25. echo '<table class="form-table no-border"><tbody><tr><th></th><td>';