當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Su_Data::easings方法代碼示例

本文整理匯總了PHP中Su_Data::easings方法的典型用法代碼示例。如果您正苦於以下問題:PHP Su_Data::easings方法的具體用法?PHP Su_Data::easings怎麽用?PHP Su_Data::easings使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Su_Data的用法示例。


在下文中一共展示了Su_Data::easings方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: get_config

 static function get_config()
 {
     return array('name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_DESC'), 'type' => 'single', 'group' => 'extra other', 'icon' => 'pie-chart', 'atts' => array('percent' => array('type' => 'slider', 'min' => 1, 'max' => 100, 'step' => 1, 'default' => 75, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_PERCENT'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_PERCENT_DESC')), 'before' => array('default' => '', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_BEFORE'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_BEFORE_DESC'), 'child' => array('text' => array('default' => '', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_TEXT'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_TEXT_DESC')), 'after' => array('default' => '', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_AFTER'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_AFTER_DESC')), 'text_size' => array('default' => 22, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_SIZE'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_SIZE_DESC')))), 'size' => array('type' => 'slider', 'min' => 32, 'max' => 580, 'step' => 10, 'default' => 200, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_SIZE'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_SIZE_DESC'), 'child' => array('line_width' => array('type' => 'slider', 'min' => 1, 'max' => 30, 'step' => 1, 'default' => 10, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_LINE_WIDTH'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_LINE_WIDTH_DESC')), 'line_cap' => array('type' => 'select', 'values' => array('round' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_ROUND'), 'square' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_SQUARE'), 'butt' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_BUTT')), 'default' => 'round', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_LINE_CAP'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_LINE_CAP_DESC')), 'show_scale' => array('type' => 'bool', 'default' => 'yes', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_SCALE'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_SCALE_DESC')))), 'bar_color' => array('type' => 'color', 'default' => '#F14B51', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_COLOR'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_COLOR_DESC'), 'child' => array('fill_color' => array('type' => 'color', 'default' => '#f5f5f5', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_FILL_COLOR'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_FILL_COLOR_DESC')), 'scale_color' => array('type' => 'color', 'default' => '#dddddd', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_SCALE_COLOR'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PROGRESS_PIE_SCALE_COLOR_DESC')), 'text_color' => array('type' => 'color', 'default' => '#bbbbbb', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_COLOR'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_COLOR_DESC')))), 'animation' => array('type' => 'select', 'values' => array_combine(Su_Data::easings(), Su_Data::easings()), 'default' => 'easeInOutExpo', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ANIMATION'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ANIMATION_DESC'), 'child' => array('duration' => array('type' => 'slider', 'min' => 0.5, 'max' => 10, 'step' => 0.5, 'default' => 1, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DURATION'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DURATION_DESC')), 'delay' => array('type' => 'slider', 'min' => 0.1, 'max' => 5, 'step' => 0.2, 'default' => 0.3, 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DELAY'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DELAY_DESC')))), 'scroll_reveal' => array('default' => '', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SCROLL_REVEAL'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SCROLL_REVEAL_DESC')), 'class' => array('default' => '', 'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS'), 'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS_DESC'))));
 }
開發者ID:jhener79,項目名稱:vlakc,代碼行數:4,代碼來源:config.php


注:本文中的Su_Data::easings方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。