/** * Pre generation method, calls the wrapping_component * generate_wrapper_prefix() method if the component exists * * @see CoreWraptag * @param code $ _writer * @return void * @access protected */ function pre_generate(&$code) { if (isset($this->wrapping_component)) { if ($this->is_debug_enabled()) { $code->write_html("<div style='border:dashed 1px red;'><img src='/shared/images/i.gif' alt='{$this->wrapping_component->resolved_source_file}'><br>"); } $this->wrapping_component->generate_wrapper_prefix($code); } }
/** * Pre generation method, calls the wrapping_component * generate_wrapper_prefix() method if the component exists * * @see CoreWraptag * @param code $ _writer * @return void * @access protected */ function pre_generate(&$code) { if (isset($this->wrapping_component)) { if ($this->is_debug_enabled()) { $code->write_html("<div style='border:dashed 1px green;padding: 10px 10px 10px 10px;'>"); $this->_generate_debug_editor_link_html($code, $this->wrapping_component->resolved_source_file); } $this->wrapping_component->generate_wrapper_prefix($code); } }
/** * Pre generation method, calls the wrapping_component * generate_wrapper_prefix() method if the component exists * * @see CoreWraptag * @param code $ _writer * @return void * @access protected */ function pre_generate(&$code) { if (isset($this->wrapping_component)) { if ($this->is_debug_enabled()) { $code->write_html("<div class='debug-tmpl-container'>"); $this->_generate_debug_editor_link_html($code, $this->wrapping_component->resolved_source_file); } $this->wrapping_component->generate_wrapper_prefix($code); } }
/** * Pre generation method, calls the wrapping_component * generate_wrapper_prefix() method if the component exists * * @see CoreWraptag * @param code $ _writer * @return void * @access protected */ function pre_generate(&$code) { if (isset($this->wrapping_component)) { $this->wrapping_component->generate_wrapper_prefix($code); } }