本文整理汇总了PHP中LanguageUtf8::getDefaultUserOptions方法的典型用法代码示例。如果您正苦于以下问题:PHP LanguageUtf8::getDefaultUserOptions方法的具体用法?PHP LanguageUtf8::getDefaultUserOptions怎么用?PHP LanguageUtf8::getDefaultUserOptions使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LanguageUtf8
的用法示例。
在下文中一共展示了LanguageUtf8::getDefaultUserOptions方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getDefaultUserOptions
function getDefaultUserOptions()
{
$opt = parent::getDefaultUserOptions();
$opt['quickbar'] = 2;
# Right-to-left
return $opt;
}
示例2: getDefaultUserOptions
function getDefaultUserOptions()
{
$opt = parent::getDefaultUserOptions();
$opt["quickbar"] = 2;
# Right-to-left
$opt["underline"] = 0;
# Underline is hard to read in Arabic script
return $opt;
}
示例3: getDefaultUserOptions
function getDefaultUserOptions()
{
$opt = parent::getDefaultUserOptions();
# Swap sidebar to right side by default
$opt['quickbar'] = 2;
# Underlines seriously harm legibility. Force off:
$opt['underline'] = 0;
return $opt;
}
示例4: getDefaultUserOptions
/**
* Changing the default quickbar setting to "2" - right instead of left, as we use RTL interface
*
* @return array of the default user options
*/
function getDefaultUserOptions()
{
$opt = parent::getDefaultUserOptions();
$opt["quickbar"] = 2;
return $opt;
}
示例5: getDefaultUserOptions
function getDefaultUserOptions()
{
$opt = parent::getDefaultUserOptions();
$opt['altencoding'] = 0;
return $opt;
}