function generate_contents(&$code) { if (isset($this->attributes['default_value'])) { $code->write_php($this->get_component_ref_code() . '->set_default_value("' . $this->attributes['default_value'] . '");'); } $code->write_php($this->get_component_ref_code() . '->render_contents();'); parent::generate_contents($code); }
function generate_contents(&$code) { if (!isset($this->attribute['multiple'])) { $this->attributes['multiple'] = 1; } $code->write_php($this->get_component_ref_code() . '->render_contents();'); parent::generate_contents($code); }
function generate_contents(&$code) { parent::generate_contents($code); $code->write_php($this->get_component_ref_code() . '->render_js_checkbox();'); }
function generate_contents(&$code) { parent::generate_contents($code); $code->write_php($this->get_component_ref_code() . '->render_color_picker();'); }
function generate_contents(&$code) { parent :: generate_contents($code); $code->write_php($this->get_component_ref_code() . '->render_file_select();'); }