本文整理汇总了PHP中WFEditorPlugin::getSettings方法的典型用法代码示例。如果您正苦于以下问题:PHP WFEditorPlugin::getSettings方法的具体用法?PHP WFEditorPlugin::getSettings怎么用?PHP WFEditorPlugin::getSettings使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类WFEditorPlugin
的用法示例。
在下文中一共展示了WFEditorPlugin::getSettings方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getSettings
function getSettings()
{
$profile = $this->getProfile();
$settings = array('file_browser' => $this->getParam('file_browser', 1) && in_array('browser', explode(',', $profile->plugins)), 'attributes' => array('target' => $this->getParam('attributes_target', 1), 'anchor' => $this->getParam('attributes_anchor', 1)));
return parent::getSettings($settings);
}
示例2: getSettings
function getSettings()
{
$settings = array();
return parent::getSettings($settings);
}
示例3: getSettings
public function getSettings($settings = array())
{
return parent::getSettings($settings);
}
示例4: getSettings
public function getSettings()
{
$profile = $this->getProfile();
$settings = array('file_browser' => $this->getParam('file_browser', 1) && in_array('browser', explode(',', $profile->plugins)));
return parent::getSettings($settings);
}
示例5: getSettings
function getSettings()
{
return parent::getSettings();
}
示例6: getSettings
public function getSettings()
{
wfimport('admin.helpers.tools');
$settings = array('template_colors' => WFToolsHelper::getTemplateColors(), 'custom_colors' => $this->getParam('editor.custom_colors', ''));
return parent::getSettings($settings);
}
示例7: getSettings
function getSettings()
{
$params = $this->getParams();
$settings = array('params' => array('defaults' => $this->getDefaults()), 'file_browser' => $params->get('link_file_browser', 1));
return parent::getSettings($settings);
}
示例8: getSettings
function getSettings()
{
$settings = array('defaults' => $this->getDefaults());
return parent::getSettings($settings);
}