function bootstrap() { $this->long_name = editor_generic::long_name(); if (!is_array($this->editors)) { return; } foreach ($this->editors as $i => $e) { $this->context[$this->long_name . '.' . $i]['var'] = $i; $e->context =& $this->context; $e->keys =& $this->keys; $e->args =& $this->args; $e->oid = $this->oid; } foreach ($this->editors as $i => $e) { $e->bootstrap(); } $this->editors['submit']->attributes['onclick'] = "chse.send_or_push({static:'" . $this->editors['submit']->send . "',val:js2php(\$i('" . js_escape($this->btn->id_gen()) . "').result_struct),c_id:this.id});"; }
function bootstrap() { $this->long_name = editor_generic::long_name(); //$this->editors['t']->io=new editor_search_pick_def_io; $this->context[$this->long_name . '.util_small_pager_test.ed_count']['var'] = 'cnt'; $this->context[$this->long_name . '.util_small_pager_test.ed_offset']['var'] = 'ofs'; $this->context[$this->long_name]['retv'] = $this->resdiv->id_gen(); foreach ($this->editors as $i => $e) { $e->args =& $this->args; $e->context =& $this->context; $e->oid = $this->oid; $e->keys =& $this->keys; } foreach ($this->editors as $i => $e) { $e->bootstrap(); } }
function bootstrap() { $this->long_name = $long_name = editor_generic::long_name(); if (!isset($this->path)) { $this->path = $this->keys['path']; } if (!isset($this->path)) { die('Both editor_sql_immed::path and editor_sql_immed::keys[\'path\'] are not set'); } if (!isset($this->curr)) { $parent_name = preg_replace('/\\.[^.]+$/', '', $long_name); $this->ioclass = new $this->context[$parent_name]['ioclass'](); $this->ioclass->context =& $this->context; $this->ioclass->oid = $this->oid; $this->ioclass->long_name = $parent_name; $this->obj = $this->ioclass->load(); $this->curr = workers_container::find_by_path($this->path, $this->obj); } $this->args['limit_skip'] = $this->curr->lim_offset; $this->args['limit_count'] = $this->curr->lim_count; $this->context[$this->long_name]['result_div_id'] = $this->result_div->id_gen(); $this->context[$this->long_name]['htmlid'] = $this->id_gen(); foreach ($this->editors as $i => $e) { $e->args =& $this->args; $e->keys =& $this->keys; $e->context =& $this->context; $e->oid = $this->oid; $this->context[$long_name . '.' . $i]['var'] = $i; } $this->keys['path'] = $this->path; foreach ($this->editors as $e) { $e->bootstrap(); } }
function bootstrap() { $long_name = editor_generic::long_name(); //$this->editors['logout']->attributes['onclick']='chse.send_or_push({static:\'auth=logout&val=\',val:\'\'});'; $this->logout_btn->attributes['onclick'] = 'chse.send_or_push({static:\'auth=logout&val=\',val:\'\'});'; if (isset($this->editors['design'])) { $this->editors['design']->context[$long_name . '.design']['var'] = 'a'; $this->editors['design']->args['a'] = $_SESSION['sqldesign']; } $this->pinbtn->attributes['onclick'] = 'var a=$i(\'' . js_escape($this->id_gen()) . '\');' . 'if(! a)a=$i(\'' . js_escape($this->id_gen()) . '_movable\');' . 'if(a.style.position != \'fixed\')' . '{' . 'a.style.position=\'fixed\';' . 'a.id+=\'_movable\';' . '}' . 'else ' . '{' . 'a.style.position=\'\';' . 'a.id=a.id.replace(/_movable$/,\'\');' . '}' . '' . '' . ''; if (is_array($this->editors)) { foreach ($this->editors as $e) { $e->bootstrap(); } } }
function bootstrap() { $this->keys = array(); $this->long_name = editor_generic::long_name(); foreach ($this->editors as $n => $e) { $this->context[$this->long_name . "." . $n]['var'] = $n; } foreach ($this->editors as $e) { $e->args =& $this->args; $e->keys =& $this->keys; $e->context =& $this->context; $e->oid = $this->oid; $e->bootstrap(); } }
function bootstrap() { $this->long_name = editor_generic::long_name(); if (!is_array($this->editors)) { return; } foreach ($this->editors as $i => $e) { $this->context[$this->long_name . '.' . $i]['var'] = $i; $e->context =& $this->context; $e->keys =& $this->keys; $e->args =& $this->args; $e->oid = $this->oid; } foreach ($this->editors as $i => $e) { $e->bootstrap(); } $this->rootnode->endscripts['test_long_run'] = "function status_fetch()" . "{" . "async_get('/ext/test_long_run.php',function(){if ((xmlHttp.readyState == 4)&&(xmlHttp.status == 200))\$i('" . $this->status->id_gen() . "').textContent=xmlHttp.responseText;});" . "}" . "setInterval('status_fetch();',1000);" . ""; }
function bootstrap() { //$this->picklist=$this->context $this->long_name = $long_name = editor_generic::long_name(); $this->context[$long_name . '.text']['var'] = 'name'; $this->context[$long_name . '.btn']['var'] = 'id'; }
function bootstrap() { $this->long_name = editor_generic::long_name(); if (!is_array($this->editors)) { return; } foreach ($this->editors as $i => $e) { $this->context[$this->long_name . '.' . $i]['var'] = $i; $e->context =& $this->context; $e->keys =& $this->keys; $e->args =& $this->args; $e->oid = $this->oid; } foreach ($this->editors as $i => $e) { $e->bootstrap(); } }
function bootstrap() { $this->long_name = editor_generic::long_name(); }
function bootstrap() { $this->keys = array('pos' => 0); $this->long_name = editor_generic::long_name(); $this->context[$this->long_name]['oid'] = $this->oid; foreach ($this->editors as $i => $e) { $e->oid = $this->oid; $e->keys =& $this->keys; $e->context =& $this->context; $e->args =& $this->args; $this->context[$this->long_name . "." . $i]['var'] = $i; } foreach ($this->editors as $e) { $e->bootstrap(); } }