function __construct($id = '', $props = array()) { // Validate arguments $args = func_get_args(); // Set default ID if (!$this->validate_id($id)) { $id = 'options'; } $defaults = $this->integrate_id($id); $props = $this->make_properties($args, $defaults); parent::__construct($props); $this->add_prefix_ref($this->version_key); }
function __construct() { parent::__construct('fields'); }