protected function _determineWidget() { $component_info = $this->_helper->getMacroWidgetInfo(); $this->widget_include_file = $component_info['file']; $this->widget_class_name = $component_info['class']; $this->html_tag = 'wysiwyg'; $this->has_closing_tag = false; $this->set('profile_name', $this->_helper->getProfileName()); }
function testGetMacroWidgetInfo() { $this->assertIdentical($this->_helper->getMacroWidgetInfo(), array('file' => 'limb/wysiwyg/src/macro/lmbMacroFCKEditorWidget.class.php', 'class' => 'lmbMacroFCKEditorWidget')); }