function pre_generate(&$code) { $name = '$' . $code->get_temp_variable(); $parent = $this->get_dataspace_ref_code(); $ref = $this->get_component_ref_code(); $code->write_php("\r\n\r\n if ({$name} = {$parent}->get('" . $this->attributes['name'] . "'))\r\n {$ref}->set_attribute('name', {$name});\r\n "); parent::pre_generate($code); }
function pre_generate(&$code) { $this->attributes['type'] = 'hidden'; $code->write_php($this->get_component_ref_code() . '->init_file_select();'); parent :: pre_generate($code); }
function pre_generate(&$code) { if(isset($this->attributes['attach_form_prefix'])) $code->write_php($this->get_component_ref_code() . '->attach_form_prefix(true);'); else $code->write_php($this->get_component_ref_code() . '->attach_form_prefix(false);'); parent :: pre_generate($code); }
function pre_generate(&$code) { $code->write_php($this->get_component_ref_code() . '->init_color_picker();'); parent::pre_generate($code); }
function pre_generate(&$code) { $this->attributes['type'] = 'hidden'; parent::pre_generate($code); }