function __construct() { parent::__construct(); $this->etype = 'workers_container'; $this->workers['sql_null'] = new editor_sql_null(); $this->workers['sql_immed'] = new editor_sql_immed(); $this->workers['sql_var'] = new editor_sql_var(); $this->workers['sql_list'] = new editor_sql_list(); $this->workers['sql_order'] = $this->workers['sql_list']; $this->workers['sql_expression'] = new editor_sql_expression(); $this->workers['sql_column'] = new editor_sql_column(); $this->workers['sql_subquery'] = new editor_sql_subquery(); $this->workers['sql_select'] = new editor_sql_select(); $this->workers['sql_joins'] = new editor_sql_joins(); $this->workers['query_gen_ext'] = $this->workers['sql_select']; foreach ($this->workers as $n => $e) { editor_generic::addeditor($n, $e); $this->append_child($e); $e->workers =& $this->workers; $e->args =& $this->args; $e->keys =& $this->keys; $e->context =& $this->context; } }
function __construct() { dom_void::__construct(); $this->etype = 'editor_text_submit'; $this->bindval = ''; $this->callback_prefix = ''; $this->callback_uri = ''; $this->text_input = new dom_any('input'); $this->text_input->attributes['type'] = 'text'; $this->button = new dom_any('input'); $this->button->attributes['type'] = 'submit'; $this->button->attributes['value'] = '>'; $this->append_child($this->text_input); $this->append_child($this->button); $this->main = $this->text_input; //$this->keys; //$this->args }
function __construct($q) { parent::__construct(); $this->qu = $q; }