本文整理汇总了PHP中Operator::getColumns方法的典型用法代码示例。如果您正苦于以下问题:PHP Operator::getColumns方法的具体用法?PHP Operator::getColumns怎么用?PHP Operator::getColumns使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Operator
的用法示例。
在下文中一共展示了Operator::getColumns方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<?php
/**
* See horde/config/prefs.php for documentation on the structure of this file.
*
* IMPORTANT: DO NOT EDIT THIS FILE! DO NOT COPY prefs.php TO prefs.local.php!
* Local overrides ONLY MUST be placed in prefs.local.php or prefs.d/.
* If the 'vhosts' setting has been enabled in Horde's configuration, you can
* use prefs-servername.php.
*/
$prefGroups['display'] = array('column' => _("General Preferences"), 'label' => _("Display Preferences"), 'desc' => _("Set default display parameters."), 'members' => array('rowsperpage', 'resultlimit', 'columns'));
$_prefs['rowsperpage'] = array('value' => 100, 'locked' => false, 'type' => 'number', 'desc' => _("Maximum number of call records to show per search result page."));
$_prefs['columns'] = array('value' => 'a:6:{i:0;s:11:"accountcode";i:1;s:4:"clid";i:2;s:3:"dst";i:3;s:5:"start";i:4;s:8:"duration";i:5;s:11:"disposition";}', 'locked' => false, 'type' => 'multienum', 'enum' => Operator::getColumns(), 'desc' => _("The columns to be displayed on the Call Detail Review screen"));
示例2: getColumnName
public static function getColumnName($column)
{
$columns = Operator::getColumns();
return $columns[$column];
}