コード例 #1
0
ファイル: wysiwyg.tag.php プロジェクト: snowjobgit/limb
 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());
 }
コード例 #2
0
 function testGetMacroWidgetInfo()
 {
     $this->assertIdentical($this->_helper->getMacroWidgetInfo(), array('file' => 'limb/wysiwyg/src/macro/lmbMacroFCKEditorWidget.class.php', 'class' => 'lmbMacroFCKEditorWidget'));
 }