Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 function __construct()
 {
     parent::__construct('fields');
 }