/** * * @param code $ _writer * @return void * @access protected */ function pre_generate(&$code) { parent::pre_generate($code); $code->write_php($this->get_component_ref_code() . '->preserve_state("submitted", 1);'); $code->write_php($this->get_component_ref_code() . '->render_state();'); $code->write_php($this->get_dataspace_ref_code() . '->prepare();'); }
function pre_generate(&$code) { parent :: pre_generate($code); if(isset($this->attributes['is_first'])) $code->write_html("<span behavior=\"CRow\" target=\"-2\"></span>"); }