function __construct() { dom_table::__construct(); $this->css_style['border'] = '1px solid blue'; $this->css_style['background'] = 'white'; $this->tr = new dom_tr(); $this->tr->css_style['border'] = '1px solid gray'; $this->td = new dom_td(); $this->append_child($this->tr); $this->tr->append_child($this->td); editor_generic::addeditor('text', new editor_statichtml()); $this->td->append_child($this->editors['text']); $this->etype = 'editor_search_pick'; $this->args = array(); $this->keys = array(); }
function __construct() { dom_table::__construct(); global $path_keys; dom_table::__construct(); if (!isset($path_keys)) { $path_keys = new get_parser(); } $this->etype = 'editor_pick_button'; $div = new dom_tr(); $this->append_child($div); $td = new dom_td(); $div->append_child($td); $this->a = new dom_any('a'); $td->append_child($this->a); $this->txt = new dom_statictext(); $this->a->append_child($this->txt); }
function __construct() { dom_table::__construct(); $this->etype = 'editor_pick_button'; $div = new dom_tr(); $this->append_child($div); editor_generic::addeditor('text', new editor_statictext()); $td = new dom_td(); $div->append_child($td); $td->append_child($this->editors['text']); editor_generic::addeditor('btn', new editor_button()); $td = new dom_td(); $div->append_child($td); $td->append_child($this->editors['btn']); $this->editors['btn']->attributes['value'] = '+'; }
function __construct() { parent::__construct(); $this->etype = get_class($this); editor_generic::addeditor('num', new editor_statictext()); editor_generic::addeditor('zone', new editor_statictext()); editor_generic::addeditor('place', new editor_statictext()); editor_generic::addeditor('name', new editor_statictext()); editor_generic::addeditor('count', new editor_statictext()); $this->tr = new dom_tr(); $this->append_child($this->tr); foreach ($this->editors as $n => $e) { $td = new dom_td(); $this->tr->append_child($td); $td->append_child($e); } }
function __construct($width, $height) { parent::__construct(); for ($y = 0; $y < $height; $y++) { $row = new dom_tr(); $this->append_child($row); for ($x = 0; $x < $width; $x++) { $cell = new dom_td(); $this->cells[$y][$x] = $cell; $row->append_child($cell); } } }
function __construct() { dom_table::__construct(); $this->css_style['border'] = '1px solid blue'; $this->css_style['background'] = 'white'; $this->tr = new dom_tr(); $this->tr->css_style['border'] = '1px solid gray'; $this->td = new dom_td(); $this->append_child($this->tr); $this->tr->append_child($this->td); $this->t = new dom_statictext_nonempty(); $this->td->append_child($this->t); $this->etype = '-1'; $this->args = array(); $this->keys = array(); }
function __construct() { dom_table::__construct(); $this->css_style['width'] = '100%'; $this->css_style['height'] = '100%'; }
function __construct() { parent::__construct(); $this->etype = get_class($this); $this->tr = new dom_tr(); $this->append_child($this->tr); $this->name_cell = new dom_td(); $this->tr->append_child($this->name_cell); $this->value_cell = new dom_td(); $this->tr->append_child($this->value_cell); $this->action_cell = new dom_td(); $this->tr->append_child($this->action_cell); editor_generic::addeditor('name', new editor_txtasg_css_prop()); $this->name_cell->append_child($this->editors['name']); editor_generic::addeditor('value', new ed_immediate_or_var()); $this->value_cell->append_child($this->editors['value']); editor_generic::addeditor('del', new editor_button()); $this->editors['del']->attributes['value'] = 'X'; $this->action_cell->append_child($this->editors['del']); $this->trl = new dom_tr(); $this->append_child($this->trl); $this->trl->append_child(new dom_td()); $this->trl->append_child(new dom_td()); $this->add_cell = new dom_td(); $this->trl->append_child($this->add_cell); editor_generic::addeditor('add', new editor_button()); $this->editors['add']->attributes['value'] = '+'; $this->add_cell->append_child($this->editors['add']); }